AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetLayoutResult.h
1
6#pragma once
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/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ConnectCases {
25namespace Model {
27 public:
28 AWS_CONNECTCASES_API GetLayoutResult() = default;
31
33
36 inline const Aws::String& GetLayoutId() const { return m_layoutId; }
37 template <typename LayoutIdT = Aws::String>
38 void SetLayoutId(LayoutIdT&& value) {
39 m_layoutIdHasBeenSet = true;
40 m_layoutId = std::forward<LayoutIdT>(value);
41 }
42 template <typename LayoutIdT = Aws::String>
43 GetLayoutResult& WithLayoutId(LayoutIdT&& value) {
44 SetLayoutId(std::forward<LayoutIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetLayoutArn() const { return m_layoutArn; }
54 template <typename LayoutArnT = Aws::String>
55 void SetLayoutArn(LayoutArnT&& value) {
56 m_layoutArnHasBeenSet = true;
57 m_layoutArn = std::forward<LayoutArnT>(value);
58 }
59 template <typename LayoutArnT = Aws::String>
60 GetLayoutResult& WithLayoutArn(LayoutArnT&& value) {
61 SetLayoutArn(std::forward<LayoutArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
77 GetLayoutResult& WithName(NameT&& value) {
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
88 inline const LayoutContent& GetContent() const { return m_content; }
89 template <typename ContentT = LayoutContent>
90 void SetContent(ContentT&& value) {
91 m_contentHasBeenSet = true;
92 m_content = std::forward<ContentT>(value);
93 }
94 template <typename ContentT = LayoutContent>
95 GetLayoutResult& WithContent(ContentT&& value) {
96 SetContent(std::forward<ContentT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
107 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 void SetTags(TagsT&& value) {
109 m_tagsHasBeenSet = true;
110 m_tags = std::forward<TagsT>(value);
111 }
112 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 GetLayoutResult& WithTags(TagsT&& value) {
114 SetTags(std::forward<TagsT>(value));
115 return *this;
116 }
117 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
118 GetLayoutResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
119 m_tagsHasBeenSet = true;
120 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
121 return *this;
122 }
124
126
129 inline bool GetDeleted() const { return m_deleted; }
130 inline void SetDeleted(bool value) {
131 m_deletedHasBeenSet = true;
132 m_deleted = value;
133 }
134 inline GetLayoutResult& WithDeleted(bool value) {
135 SetDeleted(value);
136 return *this;
137 }
139
141
144 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
145 template <typename CreatedTimeT = Aws::Utils::DateTime>
146 void SetCreatedTime(CreatedTimeT&& value) {
147 m_createdTimeHasBeenSet = true;
148 m_createdTime = std::forward<CreatedTimeT>(value);
149 }
150 template <typename CreatedTimeT = Aws::Utils::DateTime>
151 GetLayoutResult& WithCreatedTime(CreatedTimeT&& value) {
152 SetCreatedTime(std::forward<CreatedTimeT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
162 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
163 void SetLastModifiedTime(LastModifiedTimeT&& value) {
164 m_lastModifiedTimeHasBeenSet = true;
165 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
166 }
167 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
168 GetLayoutResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
169 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
170 return *this;
171 }
173
175
176 inline const Aws::String& GetRequestId() const { return m_requestId; }
177 template <typename RequestIdT = Aws::String>
178 void SetRequestId(RequestIdT&& value) {
179 m_requestIdHasBeenSet = true;
180 m_requestId = std::forward<RequestIdT>(value);
181 }
182 template <typename RequestIdT = Aws::String>
183 GetLayoutResult& WithRequestId(RequestIdT&& value) {
184 SetRequestId(std::forward<RequestIdT>(value));
185 return *this;
186 }
188 private:
189 Aws::String m_layoutId;
190
191 Aws::String m_layoutArn;
192
193 Aws::String m_name;
194
195 LayoutContent m_content;
196
198
199 bool m_deleted{false};
200
201 Aws::Utils::DateTime m_createdTime{};
202
203 Aws::Utils::DateTime m_lastModifiedTime{};
204
205 Aws::String m_requestId;
206 bool m_layoutIdHasBeenSet = false;
207 bool m_layoutArnHasBeenSet = false;
208 bool m_nameHasBeenSet = false;
209 bool m_contentHasBeenSet = false;
210 bool m_tagsHasBeenSet = false;
211 bool m_deletedHasBeenSet = false;
212 bool m_createdTimeHasBeenSet = false;
213 bool m_lastModifiedTimeHasBeenSet = false;
214 bool m_requestIdHasBeenSet = false;
215};
216
217} // namespace Model
218} // namespace ConnectCases
219} // namespace Aws
const Aws::String & GetRequestId() const
GetLayoutResult & WithLayoutId(LayoutIdT &&value)
GetLayoutResult & WithContent(ContentT &&value)
const LayoutContent & GetContent() const
GetLayoutResult & WithRequestId(RequestIdT &&value)
void SetCreatedTime(CreatedTimeT &&value)
GetLayoutResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CONNECTCASES_API GetLayoutResult()=default
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)
AWS_CONNECTCASES_API GetLayoutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedTime() const
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