AWS SDK for C++
AWS SDK for C++ Version 1.11.717
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-textract
include
aws
textract
model
NormalizedValue.h
1
6
#pragma once
7
#include <aws/core/utils/memory/stl/AWSString.h>
8
#include <aws/textract/Textract_EXPORTS.h>
9
#include <aws/textract/model/ValueType.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
NormalizedValue
{
30
public
:
31
AWS_TEXTRACT_API
NormalizedValue
() =
default
;
32
AWS_TEXTRACT_API
NormalizedValue
(
Aws::Utils::Json::JsonView
jsonValue);
33
AWS_TEXTRACT_API
NormalizedValue
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
34
AWS_TEXTRACT_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
35
37
40
inline
const
Aws::String
&
GetValue
()
const
{
return
m_value; }
41
inline
bool
ValueHasBeenSet
()
const
{
return
m_valueHasBeenSet; }
42
template
<
typename
ValueT = Aws::String>
43
void
SetValue
(ValueT&& value) {
44
m_valueHasBeenSet =
true
;
45
m_value = std::forward<ValueT>(value);
46
}
47
template
<
typename
ValueT = Aws::String>
48
NormalizedValue
&
WithValue
(ValueT&& value) {
49
SetValue
(std::forward<ValueT>(value));
50
return
*
this
;
51
}
53
55
58
inline
ValueType
GetValueType
()
const
{
return
m_valueType; }
59
inline
bool
ValueTypeHasBeenSet
()
const
{
return
m_valueTypeHasBeenSet; }
60
inline
void
SetValueType
(
ValueType
value) {
61
m_valueTypeHasBeenSet =
true
;
62
m_valueType = value;
63
}
64
inline
NormalizedValue
&
WithValueType
(
ValueType
value) {
65
SetValueType
(value);
66
return
*
this
;
67
}
69
private
:
70
Aws::String
m_value;
71
72
ValueType
m_valueType{
ValueType::NOT_SET
};
73
bool
m_valueHasBeenSet =
false
;
74
bool
m_valueTypeHasBeenSet =
false
;
75
};
76
77
}
// namespace Model
78
}
// namespace Textract
79
}
// namespace Aws
Aws::Textract::Model::NormalizedValue
Definition
NormalizedValue.h:29
Aws::Textract::Model::NormalizedValue::GetValue
const Aws::String & GetValue() const
Definition
NormalizedValue.h:40
Aws::Textract::Model::NormalizedValue::Jsonize
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Textract::Model::NormalizedValue::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition
NormalizedValue.h:41
Aws::Textract::Model::NormalizedValue::SetValueType
void SetValueType(ValueType value)
Definition
NormalizedValue.h:60
Aws::Textract::Model::NormalizedValue::WithValueType
NormalizedValue & WithValueType(ValueType value)
Definition
NormalizedValue.h:64
Aws::Textract::Model::NormalizedValue::SetValue
void SetValue(ValueT &&value)
Definition
NormalizedValue.h:43
Aws::Textract::Model::NormalizedValue::ValueTypeHasBeenSet
bool ValueTypeHasBeenSet() const
Definition
NormalizedValue.h:59
Aws::Textract::Model::NormalizedValue::NormalizedValue
AWS_TEXTRACT_API NormalizedValue(Aws::Utils::Json::JsonView jsonValue)
Aws::Textract::Model::NormalizedValue::WithValue
NormalizedValue & WithValue(ValueT &&value)
Definition
NormalizedValue.h:48
Aws::Textract::Model::NormalizedValue::operator=
AWS_TEXTRACT_API NormalizedValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Textract::Model::NormalizedValue::NormalizedValue
AWS_TEXTRACT_API NormalizedValue()=default
Aws::Textract::Model::NormalizedValue::GetValueType
ValueType GetValueType() const
Definition
NormalizedValue.h:58
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws::Textract::Model::ValueType
ValueType
Definition
ValueType.h:13
Aws::Textract::Model::ValueType::NOT_SET
@ NOT_SET
Aws
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences