7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/LayoutContent.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/crt/Optional.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace ConnectCases {
39 template <
typename LayoutIdT = Aws::String>
41 m_layoutIdHasBeenSet =
true;
42 m_layoutId = std::forward<LayoutIdT>(value);
44 template <
typename LayoutIdT = Aws::String>
56 template <
typename LayoutArnT = Aws::String>
58 m_layoutArnHasBeenSet =
true;
59 m_layoutArn = std::forward<LayoutArnT>(value);
61 template <
typename LayoutArnT = Aws::String>
73 template <
typename NameT = Aws::String>
75 m_nameHasBeenSet =
true;
76 m_name = std::forward<NameT>(value);
78 template <
typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
91 template <
typename ContentT = LayoutContent>
93 m_contentHasBeenSet =
true;
94 m_content = std::forward<ContentT>(value);
96 template <
typename ContentT = LayoutContent>
109 template <
typename TagsT = Aws::Map<Aws::String, Aws::Crt::Optional<Aws::String>>>
111 m_tagsHasBeenSet =
true;
112 m_tags = std::forward<TagsT>(value);
114 template <
typename TagsT = Aws::Map<Aws::String, Aws::Crt::Optional<Aws::String>>>
116 SetTags(std::forward<TagsT>(value));
119 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::Crt::Optional<Aws::String>>
121 m_tagsHasBeenSet =
true;
122 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
126 m_tagsHasBeenSet =
true;
127 m_tags.emplace(key, value);
138 m_deletedHasBeenSet =
true;
152 template <
typename CreatedTimeT = Aws::Utils::DateTime>
154 m_createdTimeHasBeenSet =
true;
155 m_createdTime = std::forward<CreatedTimeT>(value);
157 template <
typename CreatedTimeT = Aws::Utils::DateTime>
169 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
171 m_lastModifiedTimeHasBeenSet =
true;
172 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
174 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
184 template <
typename RequestIdT = Aws::String>
186 m_requestIdHasBeenSet =
true;
187 m_requestId = std::forward<RequestIdT>(value);
189 template <
typename RequestIdT = Aws::String>
208 bool m_deleted{
false};
216 bool m_layoutIdHasBeenSet =
false;
217 bool m_layoutArnHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
219 bool m_contentHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
221 bool m_deletedHasBeenSet =
false;
222 bool m_createdTimeHasBeenSet =
false;
223 bool m_lastModifiedTimeHasBeenSet =
false;
224 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
GetLayoutResult & WithLayoutId(LayoutIdT &&value)
GetLayoutResult & WithContent(ContentT &&value)
void SetName(NameT &&value)
const LayoutContent & GetContent() const
void SetContent(ContentT &&value)
GetLayoutResult & WithRequestId(RequestIdT &&value)
void SetLayoutId(LayoutIdT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetTags(TagsT &&value)
GetLayoutResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::Crt::Optional< Aws::String > > & GetTags() const
AWS_CONNECTCASES_API GetLayoutResult()=default
const Aws::String & GetName() const
const Aws::String & GetLayoutArn() const
GetLayoutResult & WithCreatedTime(CreatedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECTCASES_API GetLayoutResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLayoutId() const
GetLayoutResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetDeleted(bool value)
AWS_CONNECTCASES_API GetLayoutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetLayoutArn(LayoutArnT &&value)
GetLayoutResult & WithLayoutArn(LayoutArnT &&value)
GetLayoutResult & AddTags(Aws::String key, Aws::Crt::Optional< Aws::String > value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetLayoutResult & WithName(NameT &&value)
GetLayoutResult & WithTags(TagsT &&value)
GetLayoutResult & WithDeleted(bool 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