AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTaskTemplateResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/TaskTemplateConstraints.h>
10#include <aws/connect/model/TaskTemplateDefaults.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/connect/model/TaskTemplateStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/connect/model/TaskTemplateField.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 Connect
30{
31namespace Model
32{
34 {
35 public:
36 AWS_CONNECT_API UpdateTaskTemplateResult();
39
40
42
47 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
49 inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
50 inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
51 inline UpdateTaskTemplateResult& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
52 inline UpdateTaskTemplateResult& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
53 inline UpdateTaskTemplateResult& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline void SetId(const Aws::String& value) { m_id = value; }
62 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
63 inline void SetId(const char* value) { m_id.assign(value); }
64 inline UpdateTaskTemplateResult& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline UpdateTaskTemplateResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline UpdateTaskTemplateResult& WithId(const char* value) { SetId(value); return *this;}
68
70
73 inline const Aws::String& GetArn() const{ return m_arn; }
74 inline void SetArn(const Aws::String& value) { m_arn = value; }
75 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
76 inline void SetArn(const char* value) { m_arn.assign(value); }
77 inline UpdateTaskTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
78 inline UpdateTaskTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
79 inline UpdateTaskTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
81
83
86 inline const Aws::String& GetName() const{ return m_name; }
87 inline void SetName(const Aws::String& value) { m_name = value; }
88 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
89 inline void SetName(const char* value) { m_name.assign(value); }
90 inline UpdateTaskTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline UpdateTaskTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline UpdateTaskTemplateResult& WithName(const char* value) { SetName(value); return *this;}
94
96
99 inline const Aws::String& GetDescription() const{ return m_description; }
100 inline void SetDescription(const Aws::String& value) { m_description = value; }
101 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
102 inline void SetDescription(const char* value) { m_description.assign(value); }
103 inline UpdateTaskTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
104 inline UpdateTaskTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
105 inline UpdateTaskTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
107
109
113 inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; }
114 inline void SetContactFlowId(const Aws::String& value) { m_contactFlowId = value; }
115 inline void SetContactFlowId(Aws::String&& value) { m_contactFlowId = std::move(value); }
116 inline void SetContactFlowId(const char* value) { m_contactFlowId.assign(value); }
117 inline UpdateTaskTemplateResult& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;}
118 inline UpdateTaskTemplateResult& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
119 inline UpdateTaskTemplateResult& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
121
123
126 inline const TaskTemplateConstraints& GetConstraints() const{ return m_constraints; }
127 inline void SetConstraints(const TaskTemplateConstraints& value) { m_constraints = value; }
128 inline void SetConstraints(TaskTemplateConstraints&& value) { m_constraints = std::move(value); }
130 inline UpdateTaskTemplateResult& WithConstraints(TaskTemplateConstraints&& value) { SetConstraints(std::move(value)); return *this;}
132
134
138 inline const TaskTemplateDefaults& GetDefaults() const{ return m_defaults; }
139 inline void SetDefaults(const TaskTemplateDefaults& value) { m_defaults = value; }
140 inline void SetDefaults(TaskTemplateDefaults&& value) { m_defaults = std::move(value); }
141 inline UpdateTaskTemplateResult& WithDefaults(const TaskTemplateDefaults& value) { SetDefaults(value); return *this;}
142 inline UpdateTaskTemplateResult& WithDefaults(TaskTemplateDefaults&& value) { SetDefaults(std::move(value)); return *this;}
144
146
149 inline const Aws::Vector<TaskTemplateField>& GetFields() const{ return m_fields; }
150 inline void SetFields(const Aws::Vector<TaskTemplateField>& value) { m_fields = value; }
151 inline void SetFields(Aws::Vector<TaskTemplateField>&& value) { m_fields = std::move(value); }
153 inline UpdateTaskTemplateResult& WithFields(Aws::Vector<TaskTemplateField>&& value) { SetFields(std::move(value)); return *this;}
154 inline UpdateTaskTemplateResult& AddFields(const TaskTemplateField& value) { m_fields.push_back(value); return *this; }
155 inline UpdateTaskTemplateResult& AddFields(TaskTemplateField&& value) { m_fields.push_back(std::move(value)); return *this; }
157
159
165 inline const TaskTemplateStatus& GetStatus() const{ return m_status; }
166 inline void SetStatus(const TaskTemplateStatus& value) { m_status = value; }
167 inline void SetStatus(TaskTemplateStatus&& value) { m_status = std::move(value); }
168 inline UpdateTaskTemplateResult& WithStatus(const TaskTemplateStatus& value) { SetStatus(value); return *this;}
169 inline UpdateTaskTemplateResult& WithStatus(TaskTemplateStatus&& value) { SetStatus(std::move(value)); return *this;}
171
173
176 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
177 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
178 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
182
184
187 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
188 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
189 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
191 inline UpdateTaskTemplateResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
193
195
196 inline const Aws::String& GetRequestId() const{ return m_requestId; }
197 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
198 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
199 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
200 inline UpdateTaskTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
201 inline UpdateTaskTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
202 inline UpdateTaskTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
204 private:
205
206 Aws::String m_instanceId;
207
208 Aws::String m_id;
209
210 Aws::String m_arn;
211
212 Aws::String m_name;
213
214 Aws::String m_description;
215
216 Aws::String m_contactFlowId;
217
218 TaskTemplateConstraints m_constraints;
219
220 TaskTemplateDefaults m_defaults;
221
223
224 TaskTemplateStatus m_status;
225
226 Aws::Utils::DateTime m_lastModifiedTime;
227
228 Aws::Utils::DateTime m_createdTime;
229
230 Aws::String m_requestId;
231 };
232
233} // namespace Model
234} // namespace Connect
235} // namespace Aws
UpdateTaskTemplateResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateTaskTemplateResult & WithId(const Aws::String &value)
UpdateTaskTemplateResult & WithArn(const Aws::String &value)
const Aws::Vector< TaskTemplateField > & GetFields() const
UpdateTaskTemplateResult & WithConstraints(TaskTemplateConstraints &&value)
AWS_CONNECT_API UpdateTaskTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTaskTemplateResult & WithArn(const char *value)
void SetConstraints(TaskTemplateConstraints &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateTaskTemplateResult & WithId(Aws::String &&value)
UpdateTaskTemplateResult & WithContactFlowId(const char *value)
UpdateTaskTemplateResult & WithContactFlowId(Aws::String &&value)
UpdateTaskTemplateResult & AddFields(TaskTemplateField &&value)
UpdateTaskTemplateResult & WithStatus(const TaskTemplateStatus &value)
const TaskTemplateDefaults & GetDefaults() const
void SetFields(Aws::Vector< TaskTemplateField > &&value)
UpdateTaskTemplateResult & AddFields(const TaskTemplateField &value)
UpdateTaskTemplateResult & WithConstraints(const TaskTemplateConstraints &value)
UpdateTaskTemplateResult & WithFields(const Aws::Vector< TaskTemplateField > &value)
UpdateTaskTemplateResult & WithInstanceId(Aws::String &&value)
UpdateTaskTemplateResult & WithDefaults(const TaskTemplateDefaults &value)
UpdateTaskTemplateResult & WithStatus(TaskTemplateStatus &&value)
UpdateTaskTemplateResult & WithRequestId(Aws::String &&value)
UpdateTaskTemplateResult & WithDefaults(TaskTemplateDefaults &&value)
UpdateTaskTemplateResult & WithName(const char *value)
void SetFields(const Aws::Vector< TaskTemplateField > &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
UpdateTaskTemplateResult & WithDescription(const Aws::String &value)
UpdateTaskTemplateResult & WithDescription(Aws::String &&value)
UpdateTaskTemplateResult & WithRequestId(const char *value)
UpdateTaskTemplateResult & WithDescription(const char *value)
UpdateTaskTemplateResult & WithArn(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetDefaults(const TaskTemplateDefaults &value)
UpdateTaskTemplateResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateTaskTemplateResult & WithName(const Aws::String &value)
UpdateTaskTemplateResult & WithFields(Aws::Vector< TaskTemplateField > &&value)
UpdateTaskTemplateResult & WithRequestId(const Aws::String &value)
UpdateTaskTemplateResult & WithName(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
const TaskTemplateConstraints & GetConstraints() const
UpdateTaskTemplateResult & WithCreatedTime(Aws::Utils::DateTime &&value)
UpdateTaskTemplateResult & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetConstraints(const TaskTemplateConstraints &value)
UpdateTaskTemplateResult & WithInstanceId(const Aws::String &value)
void SetStatus(const TaskTemplateStatus &value)
UpdateTaskTemplateResult & WithId(const char *value)
AWS_CONNECT_API UpdateTaskTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTaskTemplateResult & WithContactFlowId(const Aws::String &value)
UpdateTaskTemplateResult & WithInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue