AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ConnectCases
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CONNECTCASES_API GetLayoutResult() = default;
36
37
39
43 inline const LayoutContent& GetContent() const { return m_content; }
44 template<typename ContentT = LayoutContent>
45 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
46 template<typename ContentT = LayoutContent>
47 GetLayoutResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
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>
58 GetLayoutResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
60
62
65 inline bool GetDeleted() const { return m_deleted; }
66 inline void SetDeleted(bool value) { m_deletedHasBeenSet = true; m_deleted = value; }
67 inline GetLayoutResult& WithDeleted(bool value) { SetDeleted(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
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>
78 GetLayoutResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
80
82
85 inline const Aws::String& GetLayoutArn() const { return m_layoutArn; }
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>
89 GetLayoutResult& WithLayoutArn(LayoutArnT&& value) { SetLayoutArn(std::forward<LayoutArnT>(value)); return *this;}
91
93
96 inline const Aws::String& GetLayoutId() const { return m_layoutId; }
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>
100 GetLayoutResult& WithLayoutId(LayoutIdT&& value) { SetLayoutId(std::forward<LayoutIdT>(value)); return *this;}
102
104
107 inline const Aws::String& GetName() const { return m_name; }
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>
111 GetLayoutResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
113
115
119 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
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>>
123 GetLayoutResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
124 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
125 GetLayoutResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
126 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
127 }
129
131
132 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
136 GetLayoutResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
138 private:
139
140 LayoutContent m_content;
141 bool m_contentHasBeenSet = false;
142
143 Aws::Utils::DateTime m_createdTime{};
144 bool m_createdTimeHasBeenSet = false;
145
146 bool m_deleted{false};
147 bool m_deletedHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastModifiedTime{};
150 bool m_lastModifiedTimeHasBeenSet = false;
151
152 Aws::String m_layoutArn;
153 bool m_layoutArnHasBeenSet = false;
154
155 Aws::String m_layoutId;
156 bool m_layoutIdHasBeenSet = false;
157
158 Aws::String m_name;
159 bool m_nameHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163
164 Aws::String m_requestId;
165 bool m_requestIdHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace ConnectCases
170} // 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