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>
14#include <aws/crt/Optional.h>
25namespace ConnectCases {
46 template <
typename FieldIdT = Aws::String>
48 m_fieldIdHasBeenSet =
true;
49 m_fieldId = std::forward<FieldIdT>(value);
51 template <
typename FieldIdT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename FieldArnT = Aws::String>
84 m_fieldArnHasBeenSet =
true;
85 m_fieldArn = std::forward<FieldArnT>(value);
87 template <
typename FieldArnT = Aws::String>
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
119 m_typeHasBeenSet =
true;
135 m_namespaceHasBeenSet =
true;
151 template <
typename TagsT = Aws::Map<Aws::String, Aws::Crt::Optional<Aws::String>>>
153 m_tagsHasBeenSet =
true;
154 m_tags = std::forward<TagsT>(value);
156 template <
typename TagsT = Aws::Map<Aws::String, Aws::Crt::Optional<Aws::String>>>
158 SetTags(std::forward<TagsT>(value));
161 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::Crt::Optional<Aws::String>>
163 m_tagsHasBeenSet =
true;
164 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 m_tagsHasBeenSet =
true;
169 m_tags.emplace(key, value);
181 m_deletedHasBeenSet =
true;
196 template <
typename CreatedTimeT = Aws::Utils::DateTime>
198 m_createdTimeHasBeenSet =
true;
199 m_createdTime = std::forward<CreatedTimeT>(value);
201 template <
typename CreatedTimeT = Aws::Utils::DateTime>
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>
232 template <
typename AttributesT = FieldAttributes>
234 m_attributesHasBeenSet =
true;
235 m_attributes = std::forward<AttributesT>(value);
237 template <
typename AttributesT = FieldAttributes>
258 bool m_deleted{
false};
264 FieldAttributes m_attributes;
265 bool m_fieldIdHasBeenSet =
false;
266 bool m_nameHasBeenSet =
false;
267 bool m_fieldArnHasBeenSet =
false;
268 bool m_descriptionHasBeenSet =
false;
269 bool m_typeHasBeenSet =
false;
270 bool m_namespaceHasBeenSet =
false;
271 bool m_tagsHasBeenSet =
false;
272 bool m_deletedHasBeenSet =
false;
273 bool m_createdTimeHasBeenSet =
false;
274 bool m_lastModifiedTimeHasBeenSet =
false;
275 bool m_attributesHasBeenSet =
false;
void SetCreatedTime(CreatedTimeT &&value)
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
GetFieldResponse & AddTags(Aws::String key, Aws::Crt::Optional< Aws::String > value)
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
const Aws::Map< Aws::String, Aws::Crt::Optional< Aws::String > > & GetTags() 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