AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataTableLockVersion.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
31 public:
32 AWS_CONNECT_API DataTableLockVersion() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetDataTable() const { return m_dataTable; }
44 inline bool DataTableHasBeenSet() const { return m_dataTableHasBeenSet; }
45 template <typename DataTableT = Aws::String>
46 void SetDataTable(DataTableT&& value) {
47 m_dataTableHasBeenSet = true;
48 m_dataTable = std::forward<DataTableT>(value);
49 }
50 template <typename DataTableT = Aws::String>
51 DataTableLockVersion& WithDataTable(DataTableT&& value) {
52 SetDataTable(std::forward<DataTableT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::String& GetAttribute() const { return m_attribute; }
65 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
66 template <typename AttributeT = Aws::String>
67 void SetAttribute(AttributeT&& value) {
68 m_attributeHasBeenSet = true;
69 m_attribute = std::forward<AttributeT>(value);
70 }
71 template <typename AttributeT = Aws::String>
72 DataTableLockVersion& WithAttribute(AttributeT&& value) {
73 SetAttribute(std::forward<AttributeT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::String& GetPrimaryValues() const { return m_primaryValues; }
85 inline bool PrimaryValuesHasBeenSet() const { return m_primaryValuesHasBeenSet; }
86 template <typename PrimaryValuesT = Aws::String>
87 void SetPrimaryValues(PrimaryValuesT&& value) {
88 m_primaryValuesHasBeenSet = true;
89 m_primaryValues = std::forward<PrimaryValuesT>(value);
90 }
91 template <typename PrimaryValuesT = Aws::String>
92 DataTableLockVersion& WithPrimaryValues(PrimaryValuesT&& value) {
93 SetPrimaryValues(std::forward<PrimaryValuesT>(value));
94 return *this;
95 }
97
99
103 inline const Aws::String& GetValue() const { return m_value; }
104 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
105 template <typename ValueT = Aws::String>
106 void SetValue(ValueT&& value) {
107 m_valueHasBeenSet = true;
108 m_value = std::forward<ValueT>(value);
109 }
110 template <typename ValueT = Aws::String>
112 SetValue(std::forward<ValueT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_dataTable;
118
119 Aws::String m_attribute;
120
121 Aws::String m_primaryValues;
122
123 Aws::String m_value;
124 bool m_dataTableHasBeenSet = false;
125 bool m_attributeHasBeenSet = false;
126 bool m_primaryValuesHasBeenSet = false;
127 bool m_valueHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace Connect
132} // namespace Aws
DataTableLockVersion & WithValue(ValueT &&value)
AWS_CONNECT_API DataTableLockVersion()=default
DataTableLockVersion & WithDataTable(DataTableT &&value)
AWS_CONNECT_API DataTableLockVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DataTableLockVersion & WithAttribute(AttributeT &&value)
void SetPrimaryValues(PrimaryValuesT &&value)
AWS_CONNECT_API DataTableLockVersion(Aws::Utils::Json::JsonView jsonValue)
DataTableLockVersion & WithPrimaryValues(PrimaryValuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue