7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/FieldAttributes.h>
9#include <aws/connectcases/model/FieldNamespace.h>
10#include <aws/connectcases/model/FieldType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace ConnectCases {
45 template <
typename FieldIdT = Aws::String>
47 m_fieldIdHasBeenSet =
true;
48 m_fieldId = std::forward<FieldIdT>(value);
50 template <
typename FieldIdT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename FieldArnT = Aws::String>
83 m_fieldArnHasBeenSet =
true;
84 m_fieldArn = std::forward<FieldArnT>(value);
86 template <
typename FieldArnT = Aws::String>
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
118 m_typeHasBeenSet =
true;
134 m_namespaceHasBeenSet =
true;
150 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
175 m_deletedHasBeenSet =
true;
190 template <
typename CreatedTimeT = Aws::Utils::DateTime>
192 m_createdTimeHasBeenSet =
true;
193 m_createdTime = std::forward<CreatedTimeT>(value);
195 template <
typename CreatedTimeT = Aws::Utils::DateTime>
208 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
210 m_lastModifiedTimeHasBeenSet =
true;
211 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
213 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
226 template <
typename AttributesT = FieldAttributes>
228 m_attributesHasBeenSet =
true;
229 m_attributes = std::forward<AttributesT>(value);
231 template <
typename AttributesT = FieldAttributes>
252 bool m_deleted{
false};
258 FieldAttributes m_attributes;
259 bool m_fieldIdHasBeenSet =
false;
260 bool m_nameHasBeenSet =
false;
261 bool m_fieldArnHasBeenSet =
false;
262 bool m_descriptionHasBeenSet =
false;
263 bool m_typeHasBeenSet =
false;
264 bool m_namespaceHasBeenSet =
false;
265 bool m_tagsHasBeenSet =
false;
266 bool m_deletedHasBeenSet =
false;
267 bool m_createdTimeHasBeenSet =
false;
268 bool m_lastModifiedTimeHasBeenSet =
false;
269 bool m_attributesHasBeenSet =
false;
void SetCreatedTime(CreatedTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDeleted(bool value)
AWS_CONNECTCASES_API GetFieldResponse(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
GetFieldResponse & WithType(FieldType value)
const Aws::String & GetFieldArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetFieldId(FieldIdT &&value)
bool TypeHasBeenSet() const
GetFieldResponse & WithTags(TagsT &&value)
FieldNamespace GetNamespace() const
bool LastModifiedTimeHasBeenSet() const
bool DeletedHasBeenSet() const
GetFieldResponse & WithDeleted(bool value)
bool DescriptionHasBeenSet() const
bool NamespaceHasBeenSet() const
const FieldAttributes & GetAttributes() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetFieldArn(FieldArnT &&value)
AWS_CONNECTCASES_API GetFieldResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
GetFieldResponse & WithAttributes(AttributesT &&value)
FieldType GetType() const
void SetNamespace(FieldNamespace value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetDescription() const
bool CreatedTimeHasBeenSet() const
const Aws::String & GetName() const
GetFieldResponse & WithFieldArn(FieldArnT &&value)
GetFieldResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetName(NameT &&value)
void SetTags(TagsT &&value)
void SetType(FieldType value)
bool FieldArnHasBeenSet() const
GetFieldResponse & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetFieldId() const
GetFieldResponse & WithName(NameT &&value)
GetFieldResponse & WithCreatedTime(CreatedTimeT &&value)
GetFieldResponse & WithFieldId(FieldIdT &&value)
bool NameHasBeenSet() const
GetFieldResponse & WithDescription(DescriptionT &&value)
AWS_CONNECTCASES_API GetFieldResponse()=default
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributes(AttributesT &&value)
bool FieldIdHasBeenSet() const
GetFieldResponse & WithNamespace(FieldNamespace value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue