7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ViewContent.h>
9#include <aws/connect/model/ViewStatus.h>
10#include <aws/connect/model/ViewType.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>
35 AWS_CONNECT_API
View() =
default;
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename ArnT = Aws::String>
66 m_arnHasBeenSet =
true;
67 m_arn = std::forward<ArnT>(value);
69 template <
typename ArnT = Aws::String>
71 SetArn(std::forward<ArnT>(value));
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
103 m_statusHasBeenSet =
true;
119 m_typeHasBeenSet =
true;
134 template <
typename DescriptionT = Aws::String>
136 m_descriptionHasBeenSet =
true;
137 m_description = std::forward<DescriptionT>(value);
139 template <
typename DescriptionT = Aws::String>
153 m_versionHasBeenSet =
true;
168 template <
typename VersionDescriptionT = Aws::String>
170 m_versionDescriptionHasBeenSet =
true;
171 m_versionDescription = std::forward<VersionDescriptionT>(value);
173 template <
typename VersionDescriptionT = Aws::String>
187 template <
typename ContentT = ViewContent>
189 m_contentHasBeenSet =
true;
190 m_content = std::forward<ContentT>(value);
192 template <
typename ContentT = ViewContent>
206 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 m_tagsHasBeenSet =
true;
209 m_tags = std::forward<TagsT>(value);
211 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 SetTags(std::forward<TagsT>(value));
216 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
218 m_tagsHasBeenSet =
true;
219 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
230 template <
typename CreatedTimeT = Aws::Utils::DateTime>
232 m_createdTimeHasBeenSet =
true;
233 m_createdTime = std::forward<CreatedTimeT>(value);
235 template <
typename CreatedTimeT = Aws::Utils::DateTime>
249 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
251 m_lastModifiedTimeHasBeenSet =
true;
252 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
254 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
267 template <
typename ViewContentSha256T = Aws::String>
269 m_viewContentSha256HasBeenSet =
true;
270 m_viewContentSha256 = std::forward<ViewContentSha256T>(value);
272 template <
typename ViewContentSha256T = Aws::String>
295 ViewContent m_content;
304 bool m_idHasBeenSet =
false;
305 bool m_arnHasBeenSet =
false;
306 bool m_nameHasBeenSet =
false;
307 bool m_statusHasBeenSet =
false;
308 bool m_typeHasBeenSet =
false;
309 bool m_descriptionHasBeenSet =
false;
310 bool m_versionHasBeenSet =
false;
311 bool m_versionDescriptionHasBeenSet =
false;
312 bool m_contentHasBeenSet =
false;
313 bool m_tagsHasBeenSet =
false;
314 bool m_createdTimeHasBeenSet =
false;
315 bool m_lastModifiedTimeHasBeenSet =
false;
316 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