7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ViewStatus.h>
10#include <aws/connect/model/ViewType.h>
11#include <aws/connect/model/ViewContent.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
68 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
82 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
108 inline void SetType(
const ViewType& value) { m_typeHasBeenSet =
true; m_type = value; }
109 inline void SetType(
ViewType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
122 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
134 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
146 inline void SetVersionDescription(
const char* value) { m_versionDescriptionHasBeenSet =
true; m_versionDescription.assign(value); }
180 inline View&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
181 inline View&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
182 inline View&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
218 inline void SetViewContentSha256(
const char* value) { m_viewContentSha256HasBeenSet =
true; m_viewContentSha256.assign(value); }
226 bool m_idHasBeenSet =
false;
229 bool m_arnHasBeenSet =
false;
232 bool m_nameHasBeenSet =
false;
235 bool m_statusHasBeenSet =
false;
238 bool m_typeHasBeenSet =
false;
241 bool m_descriptionHasBeenSet =
false;
244 bool m_versionHasBeenSet =
false;
247 bool m_versionDescriptionHasBeenSet =
false;
250 bool m_contentHasBeenSet =
false;
253 bool m_tagsHasBeenSet =
false;
256 bool m_createdTimeHasBeenSet =
false;
259 bool m_lastModifiedTimeHasBeenSet =
false;
262 bool m_viewContentSha256HasBeenSet =
false;
View & WithVersionDescription(const char *value)
bool ArnHasBeenSet() const
View & WithContent(const ViewContent &value)
void SetId(const char *value)
bool ContentHasBeenSet() const
void SetName(Aws::String &&value)
void SetViewContentSha256(const char *value)
View & WithArn(const char *value)
AWS_CONNECT_API View(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
View & WithType(ViewType &&value)
View & WithStatus(ViewStatus &&value)
bool IdHasBeenSet() const
View & WithVersionDescription(Aws::String &&value)
View & AddTags(const char *key, Aws::String &&value)
void SetDescription(const char *value)
bool StatusHasBeenSet() const
void SetVersionDescription(Aws::String &&value)
View & WithDescription(Aws::String &&value)
View & WithLastModifiedTime(const Aws::Utils::DateTime &value)
View & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
View & WithCreatedTime(const Aws::Utils::DateTime &value)
View & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetId() const
View & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetVersionDescription() const
View & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
View & WithStatus(const ViewStatus &value)
bool VersionDescriptionHasBeenSet() const
View & AddTags(const Aws::String &key, Aws::String &&value)
View & WithArn(const Aws::String &value)
View & WithName(Aws::String &&value)
View & WithId(const char *value)
bool TypeHasBeenSet() const
void SetStatus(const ViewStatus &value)
bool TagsHasBeenSet() const
void SetId(Aws::String &&value)
void SetType(ViewType &&value)
const ViewStatus & GetStatus() const
bool ViewContentSha256HasBeenSet() const
View & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
View & AddTags(const Aws::String &key, const Aws::String &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetContent(ViewContent &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetArn() const
View & WithId(Aws::String &&value)
bool CreatedTimeHasBeenSet() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetVersion(int value)
View & WithViewContentSha256(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetArn(Aws::String &&value)
View & WithViewContentSha256(const char *value)
const ViewContent & GetContent() const
void SetVersionDescription(const Aws::String &value)
View & WithId(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
bool DescriptionHasBeenSet() const
View & WithDescription(const char *value)
View & WithContent(ViewContent &&value)
void SetId(const Aws::String &value)
View & WithArn(Aws::String &&value)
View & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
View & WithName(const char *value)
void SetVersionDescription(const char *value)
void SetDescription(const Aws::String &value)
View & WithDescription(const Aws::String &value)
View & WithVersionDescription(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(ViewStatus &&value)
const ViewType & GetType() const
AWS_CONNECT_API View & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetViewContentSha256(Aws::String &&value)
View & WithViewContentSha256(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
View & AddTags(Aws::String &&key, const char *value)
View & WithLastModifiedTime(Aws::Utils::DateTime &&value)
View & AddTags(Aws::String &&key, const Aws::String &value)
bool LastModifiedTimeHasBeenSet() const
bool VersionHasBeenSet() const
void SetContent(const ViewContent &value)
void SetViewContentSha256(const Aws::String &value)
void SetType(const ViewType &value)
View & WithVersion(int value)
View & WithType(const ViewType &value)
bool NameHasBeenSet() const
void SetArn(const char *value)
const Aws::String & GetViewContentSha256() const
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