7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcases/model/FieldNamespace.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/connectcases/model/FieldType.h>
62 inline void SetDeleted(
bool value) { m_deletedHasBeenSet =
true; m_deleted = value; }
74 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
88 inline void SetFieldArn(
const char* value) { m_fieldArnHasBeenSet =
true; m_fieldArn.assign(value); }
102 inline void SetFieldId(
const char* value) { m_fieldIdHasBeenSet =
true; m_fieldId.assign(value); }
128 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
163 inline GetFieldResponse&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
173 inline void SetType(
FieldType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
180 bool m_createdTimeHasBeenSet =
false;
183 bool m_deletedHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
189 bool m_fieldArnHasBeenSet =
false;
192 bool m_fieldIdHasBeenSet =
false;
195 bool m_lastModifiedTimeHasBeenSet =
false;
198 bool m_nameHasBeenSet =
false;
201 bool m_namespaceHasBeenSet =
false;
204 bool m_tagsHasBeenSet =
false;
207 bool m_typeHasBeenSet =
false;
const FieldType & GetType() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetFieldResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDeleted(bool value)
AWS_CONNECTCASES_API GetFieldResponse(Aws::Utils::Json::JsonView jsonValue)
GetFieldResponse & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const Aws::String &value)
GetFieldResponse & WithDescription(const Aws::String &value)
void SetNamespace(const FieldNamespace &value)
GetFieldResponse & WithType(FieldType &&value)
const Aws::String & GetFieldArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetFieldArn(Aws::String &&value)
GetFieldResponse & WithDescription(const char *value)
void SetName(const char *value)
bool TypeHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
GetFieldResponse & AddTags(Aws::String &&key, const char *value)
GetFieldResponse & WithName(Aws::String &&value)
bool DeletedHasBeenSet() const
GetFieldResponse & WithDeleted(bool value)
bool DescriptionHasBeenSet() const
void SetFieldArn(const Aws::String &value)
bool NamespaceHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
GetFieldResponse & AddTags(Aws::String &&key, const Aws::String &value)
GetFieldResponse & WithNamespace(const FieldNamespace &value)
AWS_CONNECTCASES_API GetFieldResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(const Aws::Utils::DateTime &value)
const FieldNamespace & GetNamespace() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetFieldId(const char *value)
const Aws::String & GetDescription() const
GetFieldResponse & WithType(const FieldType &value)
bool CreatedTimeHasBeenSet() const
GetFieldResponse & AddTags(const Aws::String &key, Aws::String &&value)
GetFieldResponse & AddTags(const char *key, Aws::String &&value)
void SetFieldId(const Aws::String &value)
const Aws::String & GetName() const
GetFieldResponse & WithFieldId(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetType(const FieldType &value)
void SetFieldArn(const char *value)
void SetFieldId(Aws::String &&value)
void SetDescription(const char *value)
void SetNamespace(FieldNamespace &&value)
GetFieldResponse & WithFieldArn(const Aws::String &value)
AWS_CONNECTCASES_API GetFieldResponse()
GetFieldResponse & WithFieldArn(Aws::String &&value)
bool FieldArnHasBeenSet() const
GetFieldResponse & WithFieldId(const char *value)
const Aws::String & GetFieldId() const
GetFieldResponse & AddTags(Aws::String &&key, Aws::String &&value)
GetFieldResponse & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetFieldResponse & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
GetFieldResponse & WithDescription(Aws::String &&value)
GetFieldResponse & WithName(const char *value)
bool NameHasBeenSet() const
GetFieldResponse & WithName(const Aws::String &value)
void SetType(FieldType &&value)
GetFieldResponse & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
bool TagsHasBeenSet() const
GetFieldResponse & WithCreatedTime(const Aws::Utils::DateTime &value)
GetFieldResponse & WithFieldId(const Aws::String &value)
GetFieldResponse & WithFieldArn(const char *value)
GetFieldResponse & WithNamespace(FieldNamespace &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
GetFieldResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(Aws::String &&value)
bool FieldIdHasBeenSet() const
GetFieldResponse & AddTags(const char *key, const char *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