AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTemplateResult.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcases/model/LayoutConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/connectcases/model/TemplateStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/connectcases/model/RequiredField.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace ConnectCases
30{
31namespace Model
32{
34 {
35 public:
36 AWS_CONNECTCASES_API GetTemplateResult();
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
46 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
47 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
48 inline GetTemplateResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
49 inline GetTemplateResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
51
53
56 inline bool GetDeleted() const{ return m_deleted; }
57 inline void SetDeleted(bool value) { m_deleted = value; }
58 inline GetTemplateResult& WithDeleted(bool value) { SetDeleted(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline void SetDescription(const Aws::String& value) { m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_description.assign(value); }
69 inline GetTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline GetTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline GetTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
79 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
80 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
82 inline GetTemplateResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
84
86
89 inline const LayoutConfiguration& GetLayoutConfiguration() const{ return m_layoutConfiguration; }
90 inline void SetLayoutConfiguration(const LayoutConfiguration& value) { m_layoutConfiguration = value; }
91 inline void SetLayoutConfiguration(LayoutConfiguration&& value) { m_layoutConfiguration = std::move(value); }
93 inline GetTemplateResult& WithLayoutConfiguration(LayoutConfiguration&& value) { SetLayoutConfiguration(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline void SetName(const Aws::String& value) { m_name = value; }
102 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
103 inline void SetName(const char* value) { m_name.assign(value); }
104 inline GetTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
105 inline GetTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 inline GetTemplateResult& WithName(const char* value) { SetName(value); return *this;}
108
110
114 inline const Aws::Vector<RequiredField>& GetRequiredFields() const{ return m_requiredFields; }
115 inline void SetRequiredFields(const Aws::Vector<RequiredField>& value) { m_requiredFields = value; }
116 inline void SetRequiredFields(Aws::Vector<RequiredField>&& value) { m_requiredFields = std::move(value); }
118 inline GetTemplateResult& WithRequiredFields(Aws::Vector<RequiredField>&& value) { SetRequiredFields(std::move(value)); return *this;}
119 inline GetTemplateResult& AddRequiredFields(const RequiredField& value) { m_requiredFields.push_back(value); return *this; }
120 inline GetTemplateResult& AddRequiredFields(RequiredField&& value) { m_requiredFields.push_back(std::move(value)); return *this; }
122
124
127 inline const TemplateStatus& GetStatus() const{ return m_status; }
128 inline void SetStatus(const TemplateStatus& value) { m_status = value; }
129 inline void SetStatus(TemplateStatus&& value) { m_status = std::move(value); }
130 inline GetTemplateResult& WithStatus(const TemplateStatus& value) { SetStatus(value); return *this;}
131 inline GetTemplateResult& WithStatus(TemplateStatus&& value) { SetStatus(std::move(value)); return *this;}
133
135
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
141 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
142 inline GetTemplateResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
143 inline GetTemplateResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
144 inline GetTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
145 inline GetTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
146 inline GetTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
147 inline GetTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
148 inline GetTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
149 inline GetTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
150 inline GetTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
152
154
157 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
158 inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
159 inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
160 inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
161 inline GetTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
162 inline GetTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
163 inline GetTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
165
167
170 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
171 inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
172 inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
173 inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
174 inline GetTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
175 inline GetTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
176 inline GetTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
178
180
181 inline const Aws::String& GetRequestId() const{ return m_requestId; }
182 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
183 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
184 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
185 inline GetTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
186 inline GetTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
187 inline GetTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
189 private:
190
191 Aws::Utils::DateTime m_createdTime;
192
193 bool m_deleted;
194
195 Aws::String m_description;
196
197 Aws::Utils::DateTime m_lastModifiedTime;
198
199 LayoutConfiguration m_layoutConfiguration;
200
201 Aws::String m_name;
202
203 Aws::Vector<RequiredField> m_requiredFields;
204
205 TemplateStatus m_status;
206
208
209 Aws::String m_templateArn;
210
211 Aws::String m_templateId;
212
213 Aws::String m_requestId;
214 };
215
216} // namespace Model
217} // namespace ConnectCases
218} // namespace Aws
GetTemplateResult & AddTags(Aws::String &&key, const char *value)
GetTemplateResult & WithRequestId(const char *value)
GetTemplateResult & AddRequiredFields(RequiredField &&value)
GetTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
GetTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetTemplateResult & AddTags(const char *key, Aws::String &&value)
void SetRequiredFields(const Aws::Vector< RequiredField > &value)
const Aws::Vector< RequiredField > & GetRequiredFields() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
GetTemplateResult & WithRequestId(Aws::String &&value)
GetTemplateResult & WithRequiredFields(Aws::Vector< RequiredField > &&value)
GetTemplateResult & WithStatus(const TemplateStatus &value)
const LayoutConfiguration & GetLayoutConfiguration() const
GetTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetTemplateResult & WithName(const char *value)
void SetLayoutConfiguration(LayoutConfiguration &&value)
GetTemplateResult & WithRequiredFields(const Aws::Vector< RequiredField > &value)
GetTemplateResult & WithDescription(Aws::String &&value)
void SetStatus(const TemplateStatus &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
GetTemplateResult & WithLayoutConfiguration(LayoutConfiguration &&value)
GetTemplateResult & WithLayoutConfiguration(const LayoutConfiguration &value)
GetTemplateResult & WithTemplateId(const char *value)
GetTemplateResult & WithDescription(const char *value)
AWS_CONNECTCASES_API GetTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTemplateResult & WithName(Aws::String &&value)
AWS_CONNECTCASES_API GetTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTemplateResult & WithTemplateArn(const Aws::String &value)
GetTemplateResult & WithDeleted(bool value)
GetTemplateResult & WithStatus(TemplateStatus &&value)
GetTemplateResult & WithTemplateId(const Aws::String &value)
GetTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
GetTemplateResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetTemplateResult & WithTemplateArn(Aws::String &&value)
void SetRequiredFields(Aws::Vector< RequiredField > &&value)
GetTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetTemplateResult & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetTemplateResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetTemplateResult & WithRequestId(const Aws::String &value)
GetTemplateResult & AddRequiredFields(const RequiredField &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
void SetTemplateArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
GetTemplateResult & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetTemplateResult & WithTemplateArn(const char *value)
GetTemplateResult & WithDescription(const Aws::String &value)
GetTemplateResult & WithName(const Aws::String &value)
void SetTemplateId(const Aws::String &value)
void SetLayoutConfiguration(const LayoutConfiguration &value)
GetTemplateResult & AddTags(const char *key, const char *value)
GetTemplateResult & WithTemplateId(Aws::String &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue