AWS SDK for C++
AWS SDK for C++ Version 1.11.925
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-textract
include
aws
textract
model
Document.h
1
6
#pragma once
7
#include <aws/core/utils/Array.h>
8
#include <aws/textract/Textract_EXPORTS.h>
9
#include <aws/textract/model/S3Object.h>
10
11
#include <utility>
12
13
namespace
Aws
{
14
namespace
Utils {
15
namespace
Json {
16
class
JsonValue
;
17
class
JsonView;
18
}
// namespace Json
19
}
// namespace Utils
20
namespace
Textract {
21
namespace
Model {
22
43
class
Document
{
44
public
:
45
AWS_TEXTRACT_API
Document
() =
default
;
46
AWS_TEXTRACT_API
Document
(
Aws::Utils::Json::JsonView
jsonValue);
47
AWS_TEXTRACT_API
Document
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
48
AWS_TEXTRACT_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
49
51
58
inline
const
Aws::Utils::ByteBuffer
&
GetBytes
()
const
{
return
m_bytes; }
59
inline
bool
BytesHasBeenSet
()
const
{
return
m_bytesHasBeenSet; }
60
template
<
typename
BytesT = Aws::Utils::ByteBuffer>
61
void
SetBytes
(BytesT&& value) {
62
m_bytesHasBeenSet =
true
;
63
m_bytes = std::forward<BytesT>(value);
64
}
65
template
<
typename
BytesT = Aws::Utils::ByteBuffer>
66
Document
&
WithBytes
(BytesT&& value) {
67
SetBytes
(std::forward<BytesT>(value));
68
return
*
this
;
69
}
71
73
77
inline
const
S3Object
&
GetS3Object
()
const
{
return
m_s3Object; }
78
inline
bool
S3ObjectHasBeenSet
()
const
{
return
m_s3ObjectHasBeenSet; }
79
template
<
typename
S3ObjectT = S3Object>
80
void
SetS3Object
(S3ObjectT&& value) {
81
m_s3ObjectHasBeenSet =
true
;
82
m_s3Object = std::forward<S3ObjectT>(value);
83
}
84
template
<
typename
S3ObjectT = S3Object>
85
Document
&
WithS3Object
(S3ObjectT&& value) {
86
SetS3Object
(std::forward<S3ObjectT>(value));
87
return
*
this
;
88
}
90
private
:
91
Aws::Utils::ByteBuffer
m_bytes{};
92
93
S3Object m_s3Object;
94
bool
m_bytesHasBeenSet =
false
;
95
bool
m_s3ObjectHasBeenSet =
false
;
96
};
97
98
}
// namespace Model
99
}
// namespace Textract
100
}
// namespace Aws
Aws::Textract::Model::Document
Definition
Document.h:43
Aws::Textract::Model::Document::Document
AWS_TEXTRACT_API Document()=default
Aws::Textract::Model::Document::S3ObjectHasBeenSet
bool S3ObjectHasBeenSet() const
Definition
Document.h:78
Aws::Textract::Model::Document::WithS3Object
Document & WithS3Object(S3ObjectT &&value)
Definition
Document.h:85
Aws::Textract::Model::Document::operator=
AWS_TEXTRACT_API Document & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Textract::Model::Document::Document
AWS_TEXTRACT_API Document(Aws::Utils::Json::JsonView jsonValue)
Aws::Textract::Model::Document::BytesHasBeenSet
bool BytesHasBeenSet() const
Definition
Document.h:59
Aws::Textract::Model::Document::SetS3Object
void SetS3Object(S3ObjectT &&value)
Definition
Document.h:80
Aws::Textract::Model::Document::SetBytes
void SetBytes(BytesT &&value)
Definition
Document.h:61
Aws::Textract::Model::Document::GetBytes
const Aws::Utils::ByteBuffer & GetBytes() const
Definition
Document.h:58
Aws::Textract::Model::Document::GetS3Object
const S3Object & GetS3Object() const
Definition
Document.h:77
Aws::Textract::Model::Document::Jsonize
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Textract::Model::Document::WithBytes
Document & WithBytes(BytesT &&value)
Definition
Document.h:66
Aws::Textract::Model::S3Object
Definition
S3Object.h:31
Aws::Utils::Array< unsigned char >
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences