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>
40 AWS_CONNECT_API
View() =
default;
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
66 template<
typename ArnT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
110 template<
typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
112 template<
typename DescriptionT = Aws::String>
122 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
132 template<
typename VersionDescriptionT = Aws::String>
133 void SetVersionDescription(VersionDescriptionT&& value) { m_versionDescriptionHasBeenSet =
true; m_versionDescription = std::forward<VersionDescriptionT>(value); }
134 template<
typename VersionDescriptionT = Aws::String>
145 template<
typename ContentT = ViewContent>
146 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
147 template<
typename ContentT = ViewContent>
158 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
160 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
164 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
174 template<
typename CreatedTimeT = Aws::Utils::DateTime>
175 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
176 template<
typename CreatedTimeT = Aws::Utils::DateTime>
187 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
188 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
189 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
199 template<
typename ViewContentSha256T = Aws::String>
200 void SetViewContentSha256(ViewContentSha256T&& value) { m_viewContentSha256HasBeenSet =
true; m_viewContentSha256 = std::forward<ViewContentSha256T>(value); }
201 template<
typename ViewContentSha256T = Aws::String>
207 bool m_idHasBeenSet =
false;
210 bool m_arnHasBeenSet =
false;
213 bool m_nameHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
219 bool m_typeHasBeenSet =
false;
222 bool m_descriptionHasBeenSet =
false;
225 bool m_versionHasBeenSet =
false;
228 bool m_versionDescriptionHasBeenSet =
false;
230 ViewContent m_content;
231 bool m_contentHasBeenSet =
false;
234 bool m_tagsHasBeenSet =
false;
237 bool m_createdTimeHasBeenSet =
false;
240 bool m_lastModifiedTimeHasBeenSet =
false;
243 bool m_viewContentSha256HasBeenSet =
false;
View & WithCreatedTime(CreatedTimeT &&value)
bool ArnHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool ContentHasBeenSet() const
View & WithArn(ArnT &&value)
View & WithId(IdT &&value)
View & WithContent(ContentT &&value)
AWS_CONNECT_API View(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(CreatedTimeT &&value)
View & WithName(NameT &&value)
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetId() const
View & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStatus(ViewStatus value)
const Aws::String & GetVersionDescription() const
void SetDescription(DescriptionT &&value)
bool VersionDescriptionHasBeenSet() const
bool TypeHasBeenSet() const
bool TagsHasBeenSet() const
View & WithVersionDescription(VersionDescriptionT &&value)
View & WithLastModifiedTime(LastModifiedTimeT &&value)
View & WithViewContentSha256(ViewContentSha256T &&value)
bool ViewContentSha256HasBeenSet() const
ViewStatus GetStatus() const
void SetVersionDescription(VersionDescriptionT &&value)
void SetViewContentSha256(ViewContentSha256T &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetArn() const
void SetName(NameT &&value)
bool CreatedTimeHasBeenSet() const
View & WithType(ViewType value)
void SetVersion(int value)
const ViewContent & GetContent() const
const Aws::Utils::DateTime & GetCreatedTime() const
bool DescriptionHasBeenSet() const
void SetArn(ArnT &&value)
View & WithDescription(DescriptionT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
View & WithStatus(ViewStatus value)
View & WithTags(TagsT &&value)
AWS_CONNECT_API View & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(ViewType value)
const Aws::String & GetDescription() const
AWS_CONNECT_API View()=default
bool LastModifiedTimeHasBeenSet() const
bool VersionHasBeenSet() const
void SetContent(ContentT &&value)
void SetTags(TagsT &&value)
View & WithVersion(int value)
bool NameHasBeenSet() const
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