AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const LayoutContent& GetContent() const{ return m_content; }
44 inline void SetContent(const LayoutContent& value) { m_content = value; }
45 inline void SetContent(LayoutContent&& value) { m_content = std::move(value); }
46 inline GetLayoutResult& WithContent(const LayoutContent& value) { SetContent(value); return *this;}
47 inline GetLayoutResult& WithContent(LayoutContent&& value) { SetContent(std::move(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
55 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
56 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
57 inline GetLayoutResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
58 inline GetLayoutResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
60
62
65 inline bool GetDeleted() const{ return m_deleted; }
66 inline void SetDeleted(bool value) { 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 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
76 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
78 inline GetLayoutResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetLayoutArn() const{ return m_layoutArn; }
86 inline void SetLayoutArn(const Aws::String& value) { m_layoutArn = value; }
87 inline void SetLayoutArn(Aws::String&& value) { m_layoutArn = std::move(value); }
88 inline void SetLayoutArn(const char* value) { m_layoutArn.assign(value); }
89 inline GetLayoutResult& WithLayoutArn(const Aws::String& value) { SetLayoutArn(value); return *this;}
90 inline GetLayoutResult& WithLayoutArn(Aws::String&& value) { SetLayoutArn(std::move(value)); return *this;}
91 inline GetLayoutResult& WithLayoutArn(const char* value) { SetLayoutArn(value); return *this;}
93
95
98 inline const Aws::String& GetLayoutId() const{ return m_layoutId; }
99 inline void SetLayoutId(const Aws::String& value) { m_layoutId = value; }
100 inline void SetLayoutId(Aws::String&& value) { m_layoutId = std::move(value); }
101 inline void SetLayoutId(const char* value) { m_layoutId.assign(value); }
102 inline GetLayoutResult& WithLayoutId(const Aws::String& value) { SetLayoutId(value); return *this;}
103 inline GetLayoutResult& WithLayoutId(Aws::String&& value) { SetLayoutId(std::move(value)); return *this;}
104 inline GetLayoutResult& WithLayoutId(const char* value) { SetLayoutId(value); return *this;}
106
108
111 inline const Aws::String& GetName() const{ return m_name; }
112 inline void SetName(const Aws::String& value) { m_name = value; }
113 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
114 inline void SetName(const char* value) { m_name.assign(value); }
115 inline GetLayoutResult& WithName(const Aws::String& value) { SetName(value); return *this;}
116 inline GetLayoutResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
117 inline GetLayoutResult& WithName(const char* value) { SetName(value); return *this;}
119
121
125 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
126 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
127 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
128 inline GetLayoutResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
129 inline GetLayoutResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
130 inline GetLayoutResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
131 inline GetLayoutResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
132 inline GetLayoutResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
133 inline GetLayoutResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
134 inline GetLayoutResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
135 inline GetLayoutResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
136 inline GetLayoutResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
138
140
141 inline const Aws::String& GetRequestId() const{ return m_requestId; }
142 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
143 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
144 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
145 inline GetLayoutResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
146 inline GetLayoutResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
147 inline GetLayoutResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
149 private:
150
151 LayoutContent m_content;
152
153 Aws::Utils::DateTime m_createdTime;
154
155 bool m_deleted;
156
157 Aws::Utils::DateTime m_lastModifiedTime;
158
159 Aws::String m_layoutArn;
160
161 Aws::String m_layoutId;
162
163 Aws::String m_name;
164
166
167 Aws::String m_requestId;
168 };
169
170} // namespace Model
171} // namespace ConnectCases
172} // namespace Aws
GetLayoutResult & WithCreatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetRequestId() const
GetLayoutResult & WithContent(const LayoutContent &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
GetLayoutResult & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetLayoutResult & WithCreatedTime(Aws::Utils::DateTime &&value)
GetLayoutResult & AddTags(Aws::String &&key, const Aws::String &value)
const LayoutContent & GetContent() const
GetLayoutResult & WithLayoutId(const Aws::String &value)
GetLayoutResult & WithLayoutArn(const Aws::String &value)
GetLayoutResult & AddTags(Aws::String &&key, Aws::String &&value)
GetLayoutResult & AddTags(const Aws::String &key, Aws::String &&value)
GetLayoutResult & WithLayoutId(Aws::String &&value)
void SetContent(LayoutContent &&value)
void SetRequestId(const Aws::String &value)
void SetLayoutId(const Aws::String &value)
GetLayoutResult & WithName(const Aws::String &value)
GetLayoutResult & WithLayoutArn(const char *value)
GetLayoutResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetLayoutResult & WithName(const char *value)
GetLayoutResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetLayoutResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetLayoutResult & WithName(Aws::String &&value)
const Aws::String & GetLayoutArn() const
GetLayoutResult & AddTags(Aws::String &&key, const char *value)
GetLayoutResult & WithLayoutArn(Aws::String &&value)
void SetName(const Aws::String &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 & WithRequestId(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
GetLayoutResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CONNECTCASES_API GetLayoutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedTime() const
GetLayoutResult & WithRequestId(Aws::String &&value)
void SetContent(const LayoutContent &value)
GetLayoutResult & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetLayoutResult & WithRequestId(const char *value)
GetLayoutResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetLayoutResult & WithLayoutId(const char *value)
void SetLayoutArn(const Aws::String &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
GetLayoutResult & WithContent(LayoutContent &&value)
GetLayoutResult & WithDeleted(bool value)
void SetLastModifiedTime(const Aws::Utils::DateTime &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