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
Query.h
1
6
#pragma once
7
#include <aws/core/utils/memory/stl/AWSString.h>
8
#include <aws/core/utils/memory/stl/AWSVector.h>
9
#include <aws/textract/Textract_EXPORTS.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
29
class
Query
{
30
public
:
31
AWS_TEXTRACT_API
Query
() =
default
;
32
AWS_TEXTRACT_API
Query
(
Aws::Utils::Json::JsonView
jsonValue);
33
AWS_TEXTRACT_API
Query
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
34
AWS_TEXTRACT_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
35
37
41
inline
const
Aws::String
&
GetText
()
const
{
return
m_text; }
42
inline
bool
TextHasBeenSet
()
const
{
return
m_textHasBeenSet; }
43
template
<
typename
TextT = Aws::String>
44
void
SetText
(TextT&& value) {
45
m_textHasBeenSet =
true
;
46
m_text = std::forward<TextT>(value);
47
}
48
template
<
typename
TextT = Aws::String>
49
Query
&
WithText
(TextT&& value) {
50
SetText
(std::forward<TextT>(value));
51
return
*
this
;
52
}
54
56
59
inline
const
Aws::String
&
GetAlias
()
const
{
return
m_alias; }
60
inline
bool
AliasHasBeenSet
()
const
{
return
m_aliasHasBeenSet; }
61
template
<
typename
AliasT = Aws::String>
62
void
SetAlias
(AliasT&& value) {
63
m_aliasHasBeenSet =
true
;
64
m_alias = std::forward<AliasT>(value);
65
}
66
template
<
typename
AliasT = Aws::String>
67
Query
&
WithAlias
(AliasT&& value) {
68
SetAlias
(std::forward<AliasT>(value));
69
return
*
this
;
70
}
72
74
86
inline
const
Aws::Vector<Aws::String>
&
GetPages
()
const
{
return
m_pages; }
87
inline
bool
PagesHasBeenSet
()
const
{
return
m_pagesHasBeenSet; }
88
template
<
typename
PagesT = Aws::Vector<Aws::String>>
89
void
SetPages
(PagesT&& value) {
90
m_pagesHasBeenSet =
true
;
91
m_pages = std::forward<PagesT>(value);
92
}
93
template
<
typename
PagesT = Aws::Vector<Aws::String>>
94
Query
&
WithPages
(PagesT&& value) {
95
SetPages
(std::forward<PagesT>(value));
96
return
*
this
;
97
}
98
template
<
typename
PagesT = Aws::String>
99
Query
&
AddPages
(PagesT&& value) {
100
m_pagesHasBeenSet =
true
;
101
m_pages.emplace_back(std::forward<PagesT>(value));
102
return
*
this
;
103
}
105
private
:
106
Aws::String
m_text;
107
108
Aws::String
m_alias;
109
110
Aws::Vector<Aws::String>
m_pages;
111
bool
m_textHasBeenSet =
false
;
112
bool
m_aliasHasBeenSet =
false
;
113
bool
m_pagesHasBeenSet =
false
;
114
};
115
116
}
// namespace Model
117
}
// namespace Textract
118
}
// namespace Aws
Aws::Textract::Model::Query
Definition
Query.h:29
Aws::Textract::Model::Query::SetAlias
void SetAlias(AliasT &&value)
Definition
Query.h:62
Aws::Textract::Model::Query::Query
AWS_TEXTRACT_API Query()=default
Aws::Textract::Model::Query::TextHasBeenSet
bool TextHasBeenSet() const
Definition
Query.h:42
Aws::Textract::Model::Query::GetPages
const Aws::Vector< Aws::String > & GetPages() const
Definition
Query.h:86
Aws::Textract::Model::Query::Jsonize
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Textract::Model::Query::AddPages
Query & AddPages(PagesT &&value)
Definition
Query.h:99
Aws::Textract::Model::Query::SetPages
void SetPages(PagesT &&value)
Definition
Query.h:89
Aws::Textract::Model::Query::Query
AWS_TEXTRACT_API Query(Aws::Utils::Json::JsonView jsonValue)
Aws::Textract::Model::Query::GetText
const Aws::String & GetText() const
Definition
Query.h:41
Aws::Textract::Model::Query::WithAlias
Query & WithAlias(AliasT &&value)
Definition
Query.h:67
Aws::Textract::Model::Query::WithText
Query & WithText(TextT &&value)
Definition
Query.h:49
Aws::Textract::Model::Query::SetText
void SetText(TextT &&value)
Definition
Query.h:44
Aws::Textract::Model::Query::PagesHasBeenSet
bool PagesHasBeenSet() const
Definition
Query.h:87
Aws::Textract::Model::Query::WithPages
Query & WithPages(PagesT &&value)
Definition
Query.h:94
Aws::Textract::Model::Query::operator=
AWS_TEXTRACT_API Query & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Textract::Model::Query::AliasHasBeenSet
bool AliasHasBeenSet() const
Definition
Query.h:60
Aws::Textract::Model::Query::GetAlias
const Aws::String & GetAlias() const
Definition
Query.h:59
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences