7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/LayoutContent.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template<
typename ContentT = LayoutContent>
45 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
46 template<
typename ContentT = LayoutContent>
55 template<
typename CreatedTimeT = Aws::Utils::DateTime>
56 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
57 template<
typename CreatedTimeT = Aws::Utils::DateTime>
66 inline void SetDeleted(
bool value) { m_deletedHasBeenSet =
true; m_deleted = value; }
75 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
76 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
77 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
86 template<
typename LayoutArnT = Aws::String>
87 void SetLayoutArn(LayoutArnT&& value) { m_layoutArnHasBeenSet =
true; m_layoutArn = std::forward<LayoutArnT>(value); }
88 template<
typename LayoutArnT = Aws::String>
97 template<
typename LayoutIdT = Aws::String>
98 void SetLayoutId(LayoutIdT&& value) { m_layoutIdHasBeenSet =
true; m_layoutId = std::forward<LayoutIdT>(value); }
99 template<
typename LayoutIdT = Aws::String>
108 template<
typename NameT = Aws::String>
109 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
110 template<
typename NameT = Aws::String>
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
133 template<
typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
135 template<
typename RequestIdT = Aws::String>
141 bool m_contentHasBeenSet =
false;
144 bool m_createdTimeHasBeenSet =
false;
146 bool m_deleted{
false};
147 bool m_deletedHasBeenSet =
false;
150 bool m_lastModifiedTimeHasBeenSet =
false;
153 bool m_layoutArnHasBeenSet =
false;
156 bool m_layoutIdHasBeenSet =
false;
159 bool m_nameHasBeenSet =
false;
162 bool m_tagsHasBeenSet =
false;
165 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)
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)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() 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