AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NormalizedValue.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/textract/model/ValueType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Textract
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TEXTRACT_API NormalizedValue();
37 AWS_TEXTRACT_API NormalizedValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetValue() const{ return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
49 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
50 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
51 inline NormalizedValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
52 inline NormalizedValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
53 inline NormalizedValue& WithValue(const char* value) { SetValue(value); return *this;}
55
57
60 inline const ValueType& GetValueType() const{ return m_valueType; }
61 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
62 inline void SetValueType(const ValueType& value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
63 inline void SetValueType(ValueType&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); }
64 inline NormalizedValue& WithValueType(const ValueType& value) { SetValueType(value); return *this;}
65 inline NormalizedValue& WithValueType(ValueType&& value) { SetValueType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_value;
70 bool m_valueHasBeenSet = false;
71
72 ValueType m_valueType;
73 bool m_valueTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Textract
78} // namespace Aws
NormalizedValue & WithValue(const char *value)
NormalizedValue & WithValueType(ValueType &&value)
const Aws::String & GetValue() const
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(Aws::String &&value)
const ValueType & GetValueType() const
NormalizedValue & WithValueType(const ValueType &value)
NormalizedValue & WithValue(const Aws::String &value)
AWS_TEXTRACT_API NormalizedValue(Aws::Utils::Json::JsonView jsonValue)
void SetValueType(const ValueType &value)
AWS_TEXTRACT_API NormalizedValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
NormalizedValue & WithValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue