7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/DataTableAttributeValueType.h>
9#include <aws/connect/model/DataTableLockVersion.h>
10#include <aws/connect/model/Validation.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
47 template <
typename AttributeIdT = Aws::String>
49 m_attributeIdHasBeenSet =
true;
50 m_attributeId = std::forward<AttributeIdT>(value);
52 template <
typename AttributeIdT = Aws::String>
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
87 m_valueTypeHasBeenSet =
true;
103 template <
typename DescriptionT = Aws::String>
105 m_descriptionHasBeenSet =
true;
106 m_description = std::forward<DescriptionT>(value);
108 template <
typename DescriptionT = Aws::String>
121 template <
typename DataTableIdT = Aws::String>
123 m_dataTableIdHasBeenSet =
true;
124 m_dataTableId = std::forward<DataTableIdT>(value);
126 template <
typename DataTableIdT = Aws::String>
140 template <
typename DataTableArnT = Aws::String>
142 m_dataTableArnHasBeenSet =
true;
143 m_dataTableArn = std::forward<DataTableArnT>(value);
145 template <
typename DataTableArnT = Aws::String>
161 m_primaryHasBeenSet =
true;
177 template <
typename VersionT = Aws::String>
179 m_versionHasBeenSet =
true;
180 m_version = std::forward<VersionT>(value);
182 template <
typename VersionT = Aws::String>
196 template <
typename LockVersionT = DataTableLockVersion>
198 m_lockVersionHasBeenSet =
true;
199 m_lockVersion = std::forward<LockVersionT>(value);
201 template <
typename LockVersionT = DataTableLockVersion>
214 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
216 m_lastModifiedTimeHasBeenSet =
true;
217 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
219 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
233 template <
typename LastModifiedRegionT = Aws::String>
235 m_lastModifiedRegionHasBeenSet =
true;
236 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
238 template <
typename LastModifiedRegionT = Aws::String>
253 template <
typename Val
idationT = Val
idation>
255 m_validationHasBeenSet =
true;
256 m_validation = std::forward<ValidationT>(value);
258 template <
typename Val
idationT = Val
idation>
277 bool m_primary{
false};
281 DataTableLockVersion m_lockVersion;
287 Validation m_validation;
288 bool m_attributeIdHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
290 bool m_valueTypeHasBeenSet =
false;
291 bool m_descriptionHasBeenSet =
false;
292 bool m_dataTableIdHasBeenSet =
false;
293 bool m_dataTableArnHasBeenSet =
false;
294 bool m_primaryHasBeenSet =
false;
295 bool m_versionHasBeenSet =
false;
296 bool m_lockVersionHasBeenSet =
false;
297 bool m_lastModifiedTimeHasBeenSet =
false;
298 bool m_lastModifiedRegionHasBeenSet =
false;
299 bool m_validationHasBeenSet =
false;
DataTableAttribute & WithName(NameT &&value)
bool LastModifiedTimeHasBeenSet() const
AWS_CONNECT_API DataTableAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API DataTableAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetName(NameT &&value)
DataTableAttribute & WithDataTableId(DataTableIdT &&value)
const Validation & GetValidation() const
bool DataTableIdHasBeenSet() const
bool ValidationHasBeenSet() const
bool DataTableArnHasBeenSet() const
bool AttributeIdHasBeenSet() const
DataTableAttribute & WithLockVersion(LockVersionT &&value)
void SetPrimary(bool value)
DataTableAttributeValueType GetValueType() const
void SetDataTableArn(DataTableArnT &&value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::String & GetVersion() const
void SetDataTableId(DataTableIdT &&value)
DataTableAttribute & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetDataTableArn() const
AWS_CONNECT_API DataTableAttribute()=default
DataTableAttribute & WithLastModifiedRegion(LastModifiedRegionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetAttributeId() const
bool NameHasBeenSet() const
DataTableAttribute & WithVersion(VersionT &&value)
const Aws::String & GetDataTableId() const
void SetValidation(ValidationT &&value)
const Aws::String & GetName() const
void SetAttributeId(AttributeIdT &&value)
const Aws::String & GetLastModifiedRegion() const
void SetLockVersion(LockVersionT &&value)
void SetVersion(VersionT &&value)
const DataTableLockVersion & GetLockVersion() const
bool LockVersionHasBeenSet() const
DataTableAttribute & WithValidation(ValidationT &&value)
bool LastModifiedRegionHasBeenSet() const
DataTableAttribute & WithDescription(DescriptionT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool VersionHasBeenSet() const
DataTableAttribute & WithAttributeId(AttributeIdT &&value)
bool ValueTypeHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
bool PrimaryHasBeenSet() const
DataTableAttribute & WithPrimary(bool value)
DataTableAttribute & WithValueType(DataTableAttributeValueType value)
void SetValueType(DataTableAttributeValueType value)
void SetDescription(DescriptionT &&value)
DataTableAttribute & WithDataTableArn(DataTableArnT &&value)
DataTableAttributeValueType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue