AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeJobTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace IoT
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetJobTemplateArn() const{ return m_jobTemplateArn; }
44 
48  inline void SetJobTemplateArn(const Aws::String& value) { m_jobTemplateArn = value; }
49 
53  inline void SetJobTemplateArn(Aws::String&& value) { m_jobTemplateArn = std::move(value); }
54 
58  inline void SetJobTemplateArn(const char* value) { m_jobTemplateArn.assign(value); }
59 
63  inline DescribeJobTemplateResult& WithJobTemplateArn(const Aws::String& value) { SetJobTemplateArn(value); return *this;}
64 
68  inline DescribeJobTemplateResult& WithJobTemplateArn(Aws::String&& value) { SetJobTemplateArn(std::move(value)); return *this;}
69 
73  inline DescribeJobTemplateResult& WithJobTemplateArn(const char* value) { SetJobTemplateArn(value); return *this;}
74 
75 
79  inline const Aws::String& GetJobTemplateId() const{ return m_jobTemplateId; }
80 
84  inline void SetJobTemplateId(const Aws::String& value) { m_jobTemplateId = value; }
85 
89  inline void SetJobTemplateId(Aws::String&& value) { m_jobTemplateId = std::move(value); }
90 
94  inline void SetJobTemplateId(const char* value) { m_jobTemplateId.assign(value); }
95 
99  inline DescribeJobTemplateResult& WithJobTemplateId(const Aws::String& value) { SetJobTemplateId(value); return *this;}
100 
104  inline DescribeJobTemplateResult& WithJobTemplateId(Aws::String&& value) { SetJobTemplateId(std::move(value)); return *this;}
105 
109  inline DescribeJobTemplateResult& WithJobTemplateId(const char* value) { SetJobTemplateId(value); return *this;}
110 
111 
115  inline const Aws::String& GetDescription() const{ return m_description; }
116 
120  inline void SetDescription(const Aws::String& value) { m_description = value; }
121 
125  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
126 
130  inline void SetDescription(const char* value) { m_description.assign(value); }
131 
135  inline DescribeJobTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
136 
140  inline DescribeJobTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
141 
145  inline DescribeJobTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
146 
147 
151  inline const Aws::String& GetDocumentSource() const{ return m_documentSource; }
152 
156  inline void SetDocumentSource(const Aws::String& value) { m_documentSource = value; }
157 
161  inline void SetDocumentSource(Aws::String&& value) { m_documentSource = std::move(value); }
162 
166  inline void SetDocumentSource(const char* value) { m_documentSource.assign(value); }
167 
171  inline DescribeJobTemplateResult& WithDocumentSource(const Aws::String& value) { SetDocumentSource(value); return *this;}
172 
176  inline DescribeJobTemplateResult& WithDocumentSource(Aws::String&& value) { SetDocumentSource(std::move(value)); return *this;}
177 
181  inline DescribeJobTemplateResult& WithDocumentSource(const char* value) { SetDocumentSource(value); return *this;}
182 
183 
187  inline const Aws::String& GetDocument() const{ return m_document; }
188 
192  inline void SetDocument(const Aws::String& value) { m_document = value; }
193 
197  inline void SetDocument(Aws::String&& value) { m_document = std::move(value); }
198 
202  inline void SetDocument(const char* value) { m_document.assign(value); }
203 
207  inline DescribeJobTemplateResult& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
208 
212  inline DescribeJobTemplateResult& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
213 
217  inline DescribeJobTemplateResult& WithDocument(const char* value) { SetDocument(value); return *this;}
218 
219 
223  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
224 
228  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
229 
233  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
234 
238  inline DescribeJobTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
239 
243  inline DescribeJobTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
244 
245 
246 
247  inline const PresignedUrlConfig& GetPresignedUrlConfig() const{ return m_presignedUrlConfig; }
248 
249 
250  inline void SetPresignedUrlConfig(const PresignedUrlConfig& value) { m_presignedUrlConfig = value; }
251 
252 
253  inline void SetPresignedUrlConfig(PresignedUrlConfig&& value) { m_presignedUrlConfig = std::move(value); }
254 
255 
256  inline DescribeJobTemplateResult& WithPresignedUrlConfig(const PresignedUrlConfig& value) { SetPresignedUrlConfig(value); return *this;}
257 
258 
259  inline DescribeJobTemplateResult& WithPresignedUrlConfig(PresignedUrlConfig&& value) { SetPresignedUrlConfig(std::move(value)); return *this;}
260 
261 
262 
263  inline const JobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const{ return m_jobExecutionsRolloutConfig; }
264 
265 
266  inline void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig& value) { m_jobExecutionsRolloutConfig = value; }
267 
268 
269  inline void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig&& value) { m_jobExecutionsRolloutConfig = std::move(value); }
270 
271 
272  inline DescribeJobTemplateResult& WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig& value) { SetJobExecutionsRolloutConfig(value); return *this;}
273 
274 
275  inline DescribeJobTemplateResult& WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig&& value) { SetJobExecutionsRolloutConfig(std::move(value)); return *this;}
276 
277 
278 
279  inline const AbortConfig& GetAbortConfig() const{ return m_abortConfig; }
280 
281 
282  inline void SetAbortConfig(const AbortConfig& value) { m_abortConfig = value; }
283 
284 
285  inline void SetAbortConfig(AbortConfig&& value) { m_abortConfig = std::move(value); }
286 
287 
288  inline DescribeJobTemplateResult& WithAbortConfig(const AbortConfig& value) { SetAbortConfig(value); return *this;}
289 
290 
291  inline DescribeJobTemplateResult& WithAbortConfig(AbortConfig&& value) { SetAbortConfig(std::move(value)); return *this;}
292 
293 
294 
295  inline const TimeoutConfig& GetTimeoutConfig() const{ return m_timeoutConfig; }
296 
297 
298  inline void SetTimeoutConfig(const TimeoutConfig& value) { m_timeoutConfig = value; }
299 
300 
301  inline void SetTimeoutConfig(TimeoutConfig&& value) { m_timeoutConfig = std::move(value); }
302 
303 
304  inline DescribeJobTemplateResult& WithTimeoutConfig(const TimeoutConfig& value) { SetTimeoutConfig(value); return *this;}
305 
306 
307  inline DescribeJobTemplateResult& WithTimeoutConfig(TimeoutConfig&& value) { SetTimeoutConfig(std::move(value)); return *this;}
308 
309  private:
310 
311  Aws::String m_jobTemplateArn;
312 
313  Aws::String m_jobTemplateId;
314 
315  Aws::String m_description;
316 
317  Aws::String m_documentSource;
318 
319  Aws::String m_document;
320 
321  Aws::Utils::DateTime m_createdAt;
322 
323  PresignedUrlConfig m_presignedUrlConfig;
324 
325  JobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
326 
327  AbortConfig m_abortConfig;
328 
329  TimeoutConfig m_timeoutConfig;
330  };
331 
332 } // namespace Model
333 } // namespace IoT
334 } // namespace Aws
Aws::IoT::Model::DescribeJobTemplateResult::SetJobExecutionsRolloutConfig
void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
Definition: DescribeJobTemplateResult.h:266
Aws::IoT::Model::DescribeJobTemplateResult::WithPresignedUrlConfig
DescribeJobTemplateResult & WithPresignedUrlConfig(const PresignedUrlConfig &value)
Definition: DescribeJobTemplateResult.h:256
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeJobTemplateResult::GetJobTemplateArn
const Aws::String & GetJobTemplateArn() const
Definition: DescribeJobTemplateResult.h:43
Aws::IoT::Model::DescribeJobTemplateResult::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeJobTemplateResult.h:228
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeJobTemplateResult::SetJobTemplateId
void SetJobTemplateId(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:84
Aws::IoT::Model::DescribeJobTemplateResult::WithPresignedUrlConfig
DescribeJobTemplateResult & WithPresignedUrlConfig(PresignedUrlConfig &&value)
Definition: DescribeJobTemplateResult.h:259
Aws::IoT::Model::DescribeJobTemplateResult::SetJobTemplateId
void SetJobTemplateId(const char *value)
Definition: DescribeJobTemplateResult.h:94
Aws::IoT::Model::DescribeJobTemplateResult::WithJobTemplateId
DescribeJobTemplateResult & WithJobTemplateId(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:104
Aws::IoT::Model::TimeoutConfig
Definition: TimeoutConfig.h:34
Aws::IoT::Model::DescribeJobTemplateResult::WithJobTemplateArn
DescribeJobTemplateResult & WithJobTemplateArn(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:63
Aws::IoT::Model::DescribeJobTemplateResult::WithDescription
DescribeJobTemplateResult & WithDescription(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:140
DateTime.h
Aws::IoT::Model::DescribeJobTemplateResult::SetDocument
void SetDocument(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:192
JobExecutionsRolloutConfig.h
Aws::IoT::Model::DescribeJobTemplateResult::WithDocumentSource
DescribeJobTemplateResult & WithDocumentSource(const char *value)
Definition: DescribeJobTemplateResult.h:181
Aws::IoT::Model::DescribeJobTemplateResult::SetTimeoutConfig
void SetTimeoutConfig(TimeoutConfig &&value)
Definition: DescribeJobTemplateResult.h:301
Aws::IoT::Model::DescribeJobTemplateResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:120
Aws::IoT::Model::DescribeJobTemplateResult::SetDocument
void SetDocument(const char *value)
Definition: DescribeJobTemplateResult.h:202
Aws::IoT::Model::AbortConfig
Definition: AbortConfig.h:34
Aws::IoT::Model::DescribeJobTemplateResult::GetPresignedUrlConfig
const PresignedUrlConfig & GetPresignedUrlConfig() const
Definition: DescribeJobTemplateResult.h:247
Aws::IoT::Model::DescribeJobTemplateResult::SetTimeoutConfig
void SetTimeoutConfig(const TimeoutConfig &value)
Definition: DescribeJobTemplateResult.h:298
Aws::IoT::Model::DescribeJobTemplateResult::GetAbortConfig
const AbortConfig & GetAbortConfig() const
Definition: DescribeJobTemplateResult.h:279
Aws::IoT::Model::PresignedUrlConfig
Definition: PresignedUrlConfig.h:32
Aws::IoT::Model::DescribeJobTemplateResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeJobTemplateResult.h:130
Aws::IoT::Model::DescribeJobTemplateResult::GetDocumentSource
const Aws::String & GetDocumentSource() const
Definition: DescribeJobTemplateResult.h:151
Aws::IoT::Model::DescribeJobTemplateResult::SetDocumentSource
void SetDocumentSource(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:161
Aws::IoT::Model::DescribeJobTemplateResult::SetJobTemplateId
void SetJobTemplateId(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:89
Aws::IoT::Model::DescribeJobTemplateResult::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: DescribeJobTemplateResult.h:223
Aws::IoT::Model::DescribeJobTemplateResult::SetAbortConfig
void SetAbortConfig(const AbortConfig &value)
Definition: DescribeJobTemplateResult.h:282
Aws::IoT::Model::DescribeJobTemplateResult::WithAbortConfig
DescribeJobTemplateResult & WithAbortConfig(AbortConfig &&value)
Definition: DescribeJobTemplateResult.h:291
Aws::IoT::Model::DescribeJobTemplateResult::GetTimeoutConfig
const TimeoutConfig & GetTimeoutConfig() const
Definition: DescribeJobTemplateResult.h:295
Aws::IoT::Model::DescribeJobTemplateResult::WithJobTemplateId
DescribeJobTemplateResult & WithJobTemplateId(const char *value)
Definition: DescribeJobTemplateResult.h:109
Aws::IoT::Model::DescribeJobTemplateResult::SetJobExecutionsRolloutConfig
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
Definition: DescribeJobTemplateResult.h:269
Aws::IoT::Model::DescribeJobTemplateResult::SetAbortConfig
void SetAbortConfig(AbortConfig &&value)
Definition: DescribeJobTemplateResult.h:285
Aws::IoT::Model::DescribeJobTemplateResult::GetJobTemplateId
const Aws::String & GetJobTemplateId() const
Definition: DescribeJobTemplateResult.h:79
AWSString.h
Aws::IoT::Model::DescribeJobTemplateResult::WithDocument
DescribeJobTemplateResult & WithDocument(const char *value)
Definition: DescribeJobTemplateResult.h:217
Aws::IoT::Model::DescribeJobTemplateResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:125
Aws::IoT::Model::DescribeJobTemplateResult::SetDocumentSource
void SetDocumentSource(const char *value)
Definition: DescribeJobTemplateResult.h:166
Aws::IoT::Model::DescribeJobTemplateResult::DescribeJobTemplateResult
DescribeJobTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeJobTemplateResult::WithCreatedAt
DescribeJobTemplateResult & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeJobTemplateResult.h:243
PresignedUrlConfig.h
Aws::IoT::Model::DescribeJobTemplateResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeJobTemplateResult.h:115
Aws::IoT::Model::DescribeJobTemplateResult::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: DescribeJobTemplateResult.h:233
Aws::IoT::Model::DescribeJobTemplateResult::WithJobTemplateArn
DescribeJobTemplateResult & WithJobTemplateArn(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:68
Aws::IoT::Model::DescribeJobTemplateResult::WithJobExecutionsRolloutConfig
DescribeJobTemplateResult & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
Definition: DescribeJobTemplateResult.h:275
Aws::IoT::Model::DescribeJobTemplateResult::DescribeJobTemplateResult
DescribeJobTemplateResult()
Aws::IoT::Model::DescribeJobTemplateResult::WithDocumentSource
DescribeJobTemplateResult & WithDocumentSource(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:176
Aws::IoT::Model::DescribeJobTemplateResult::SetJobTemplateArn
void SetJobTemplateArn(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:48
TimeoutConfig.h
Aws::IoT::Model::DescribeJobTemplateResult::WithCreatedAt
DescribeJobTemplateResult & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: DescribeJobTemplateResult.h:238
Aws::IoT::Model::DescribeJobTemplateResult
Definition: DescribeJobTemplateResult.h:33
Aws::IoT::Model::DescribeJobTemplateResult::GetJobExecutionsRolloutConfig
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
Definition: DescribeJobTemplateResult.h:263
Aws::IoT::Model::DescribeJobTemplateResult::WithTimeoutConfig
DescribeJobTemplateResult & WithTimeoutConfig(const TimeoutConfig &value)
Definition: DescribeJobTemplateResult.h:304
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeJobTemplateResult::WithDescription
DescribeJobTemplateResult & WithDescription(const char *value)
Definition: DescribeJobTemplateResult.h:145
Aws::IoT::Model::DescribeJobTemplateResult::SetPresignedUrlConfig
void SetPresignedUrlConfig(PresignedUrlConfig &&value)
Definition: DescribeJobTemplateResult.h:253
Aws::IoT::Model::DescribeJobTemplateResult::WithJobExecutionsRolloutConfig
DescribeJobTemplateResult & WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
Definition: DescribeJobTemplateResult.h:272
Aws::IoT::Model::DescribeJobTemplateResult::WithJobTemplateId
DescribeJobTemplateResult & WithJobTemplateId(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:99
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeJobTemplateResult::SetJobTemplateArn
void SetJobTemplateArn(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:53
Aws::IoT::Model::DescribeJobTemplateResult::SetPresignedUrlConfig
void SetPresignedUrlConfig(const PresignedUrlConfig &value)
Definition: DescribeJobTemplateResult.h:250
AbortConfig.h
Aws::IoT::Model::DescribeJobTemplateResult::WithJobTemplateArn
DescribeJobTemplateResult & WithJobTemplateArn(const char *value)
Definition: DescribeJobTemplateResult.h:73
Aws::IoT::Model::DescribeJobTemplateResult::WithDocument
DescribeJobTemplateResult & WithDocument(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:207
Aws::IoT::Model::DescribeJobTemplateResult::SetDocumentSource
void SetDocumentSource(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:156
Aws::IoT::Model::DescribeJobTemplateResult::operator=
DescribeJobTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeJobTemplateResult::WithAbortConfig
DescribeJobTemplateResult & WithAbortConfig(const AbortConfig &value)
Definition: DescribeJobTemplateResult.h:288
Aws::IoT::Model::DescribeJobTemplateResult::SetJobTemplateArn
void SetJobTemplateArn(const char *value)
Definition: DescribeJobTemplateResult.h:58
Aws::IoT::Model::DescribeJobTemplateResult::SetDocument
void SetDocument(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:197
Aws::IoT::Model::DescribeJobTemplateResult::WithDocument
DescribeJobTemplateResult & WithDocument(Aws::String &&value)
Definition: DescribeJobTemplateResult.h:212
Aws::IoT::Model::DescribeJobTemplateResult::GetDocument
const Aws::String & GetDocument() const
Definition: DescribeJobTemplateResult.h:187
Aws::IoT::Model::DescribeJobTemplateResult::WithDescription
DescribeJobTemplateResult & WithDescription(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:135
Aws::IoT::Model::DescribeJobTemplateResult::WithTimeoutConfig
DescribeJobTemplateResult & WithTimeoutConfig(TimeoutConfig &&value)
Definition: DescribeJobTemplateResult.h:307
IoT_EXPORTS.h
Aws::IoT::Model::DescribeJobTemplateResult::WithDocumentSource
DescribeJobTemplateResult & WithDocumentSource(const Aws::String &value)
Definition: DescribeJobTemplateResult.h:171
Aws::IoT::Model::JobExecutionsRolloutConfig
Definition: JobExecutionsRolloutConfig.h:32