AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeThingRegistrationTaskResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <aws/iot/model/Status.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetTaskId() const{ return m_taskId; }
41 
45  inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
46 
50  inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
51 
55  inline void SetTaskId(const char* value) { m_taskId.assign(value); }
56 
60  inline DescribeThingRegistrationTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
61 
65  inline DescribeThingRegistrationTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
66 
70  inline DescribeThingRegistrationTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
71 
72 
76  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
77 
81  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
82 
86  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
87 
91  inline DescribeThingRegistrationTaskResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
92 
96  inline DescribeThingRegistrationTaskResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
97 
98 
102  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
103 
107  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
108 
112  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
113 
117  inline DescribeThingRegistrationTaskResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
118 
122  inline DescribeThingRegistrationTaskResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
123 
124 
128  inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
129 
133  inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
134 
138  inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
139 
143  inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
144 
148  inline DescribeThingRegistrationTaskResult& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
149 
153  inline DescribeThingRegistrationTaskResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
154 
158  inline DescribeThingRegistrationTaskResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
159 
160 
164  inline const Aws::String& GetInputFileBucket() const{ return m_inputFileBucket; }
165 
169  inline void SetInputFileBucket(const Aws::String& value) { m_inputFileBucket = value; }
170 
174  inline void SetInputFileBucket(Aws::String&& value) { m_inputFileBucket = std::move(value); }
175 
179  inline void SetInputFileBucket(const char* value) { m_inputFileBucket.assign(value); }
180 
184  inline DescribeThingRegistrationTaskResult& WithInputFileBucket(const Aws::String& value) { SetInputFileBucket(value); return *this;}
185 
189  inline DescribeThingRegistrationTaskResult& WithInputFileBucket(Aws::String&& value) { SetInputFileBucket(std::move(value)); return *this;}
190 
194  inline DescribeThingRegistrationTaskResult& WithInputFileBucket(const char* value) { SetInputFileBucket(value); return *this;}
195 
196 
200  inline const Aws::String& GetInputFileKey() const{ return m_inputFileKey; }
201 
205  inline void SetInputFileKey(const Aws::String& value) { m_inputFileKey = value; }
206 
210  inline void SetInputFileKey(Aws::String&& value) { m_inputFileKey = std::move(value); }
211 
215  inline void SetInputFileKey(const char* value) { m_inputFileKey.assign(value); }
216 
220  inline DescribeThingRegistrationTaskResult& WithInputFileKey(const Aws::String& value) { SetInputFileKey(value); return *this;}
221 
225  inline DescribeThingRegistrationTaskResult& WithInputFileKey(Aws::String&& value) { SetInputFileKey(std::move(value)); return *this;}
226 
230  inline DescribeThingRegistrationTaskResult& WithInputFileKey(const char* value) { SetInputFileKey(value); return *this;}
231 
232 
236  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
237 
241  inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
242 
246  inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
247 
251  inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
252 
256  inline DescribeThingRegistrationTaskResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
257 
261  inline DescribeThingRegistrationTaskResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
262 
266  inline DescribeThingRegistrationTaskResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
267 
268 
272  inline const Status& GetStatus() const{ return m_status; }
273 
277  inline void SetStatus(const Status& value) { m_status = value; }
278 
282  inline void SetStatus(Status&& value) { m_status = std::move(value); }
283 
287  inline DescribeThingRegistrationTaskResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
288 
292  inline DescribeThingRegistrationTaskResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
293 
294 
298  inline const Aws::String& GetMessage() const{ return m_message; }
299 
303  inline void SetMessage(const Aws::String& value) { m_message = value; }
304 
308  inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
309 
313  inline void SetMessage(const char* value) { m_message.assign(value); }
314 
318  inline DescribeThingRegistrationTaskResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
319 
323  inline DescribeThingRegistrationTaskResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
324 
328  inline DescribeThingRegistrationTaskResult& WithMessage(const char* value) { SetMessage(value); return *this;}
329 
330 
334  inline int GetSuccessCount() const{ return m_successCount; }
335 
339  inline void SetSuccessCount(int value) { m_successCount = value; }
340 
344  inline DescribeThingRegistrationTaskResult& WithSuccessCount(int value) { SetSuccessCount(value); return *this;}
345 
346 
350  inline int GetFailureCount() const{ return m_failureCount; }
351 
355  inline void SetFailureCount(int value) { m_failureCount = value; }
356 
360  inline DescribeThingRegistrationTaskResult& WithFailureCount(int value) { SetFailureCount(value); return *this;}
361 
362 
366  inline int GetPercentageProgress() const{ return m_percentageProgress; }
367 
371  inline void SetPercentageProgress(int value) { m_percentageProgress = value; }
372 
376  inline DescribeThingRegistrationTaskResult& WithPercentageProgress(int value) { SetPercentageProgress(value); return *this;}
377 
378  private:
379 
380  Aws::String m_taskId;
381 
382  Aws::Utils::DateTime m_creationDate;
383 
384  Aws::Utils::DateTime m_lastModifiedDate;
385 
386  Aws::String m_templateBody;
387 
388  Aws::String m_inputFileBucket;
389 
390  Aws::String m_inputFileKey;
391 
392  Aws::String m_roleArn;
393 
394  Status m_status;
395 
396  Aws::String m_message;
397 
398  int m_successCount;
399 
400  int m_failureCount;
401 
402  int m_percentageProgress;
403  };
404 
405 } // namespace Model
406 } // namespace IoT
407 } // namespace Aws
Aws::IoT::Model::DescribeThingRegistrationTaskResult
Definition: DescribeThingRegistrationTaskResult.h:30
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithInputFileKey
DescribeThingRegistrationTaskResult & WithInputFileKey(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:220
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithLastModifiedDate
DescribeThingRegistrationTaskResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeThingRegistrationTaskResult.h:117
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetStatus
void SetStatus(const Status &value)
Definition: DescribeThingRegistrationTaskResult.h:277
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithTaskId
DescribeThingRegistrationTaskResult & WithTaskId(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:70
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetTemplateBody
void SetTemplateBody(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:138
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithRoleArn
DescribeThingRegistrationTaskResult & WithRoleArn(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:256
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithLastModifiedDate
DescribeThingRegistrationTaskResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeThingRegistrationTaskResult.h:122
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithCreationDate
DescribeThingRegistrationTaskResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeThingRegistrationTaskResult.h:96
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetTaskId
void SetTaskId(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:55
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetPercentageProgress
int GetPercentageProgress() const
Definition: DescribeThingRegistrationTaskResult.h:366
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithMessage
DescribeThingRegistrationTaskResult & WithMessage(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:318
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeThingRegistrationTaskResult.h:107
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetInputFileBucket
void SetInputFileBucket(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:174
DateTime.h
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithRoleArn
DescribeThingRegistrationTaskResult & WithRoleArn(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:261
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetTemplateBody
void SetTemplateBody(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:143
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetInputFileKey
const Aws::String & GetInputFileKey() const
Definition: DescribeThingRegistrationTaskResult.h:200
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetMessage
const Aws::String & GetMessage() const
Definition: DescribeThingRegistrationTaskResult.h:298
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithStatus
DescribeThingRegistrationTaskResult & WithStatus(const Status &value)
Definition: DescribeThingRegistrationTaskResult.h:287
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetInputFileBucket
const Aws::String & GetInputFileBucket() const
Definition: DescribeThingRegistrationTaskResult.h:164
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeThingRegistrationTaskResult.h:81
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeThingRegistrationTaskResult.h:76
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetPercentageProgress
void SetPercentageProgress(int value)
Definition: DescribeThingRegistrationTaskResult.h:371
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithTaskId
DescribeThingRegistrationTaskResult & WithTaskId(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:65
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetStatus
void SetStatus(Status &&value)
Definition: DescribeThingRegistrationTaskResult.h:282
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetMessage
void SetMessage(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:303
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithMessage
DescribeThingRegistrationTaskResult & WithMessage(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:323
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithInputFileBucket
DescribeThingRegistrationTaskResult & WithInputFileBucket(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:184
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DescribeThingRegistrationTaskResult.h:236
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithTemplateBody
DescribeThingRegistrationTaskResult & WithTemplateBody(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:148
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetFailureCount
void SetFailureCount(int value)
Definition: DescribeThingRegistrationTaskResult.h:355
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithTemplateBody
DescribeThingRegistrationTaskResult & WithTemplateBody(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:158
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithInputFileBucket
DescribeThingRegistrationTaskResult & WithInputFileBucket(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:189
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithTemplateBody
DescribeThingRegistrationTaskResult & WithTemplateBody(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:153
Aws::IoT::Model::DescribeThingRegistrationTaskResult::DescribeThingRegistrationTaskResult
DescribeThingRegistrationTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithCreationDate
DescribeThingRegistrationTaskResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeThingRegistrationTaskResult.h:91
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithTaskId
DescribeThingRegistrationTaskResult & WithTaskId(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:60
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:246
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:241
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithSuccessCount
DescribeThingRegistrationTaskResult & WithSuccessCount(int value)
Definition: DescribeThingRegistrationTaskResult.h:344
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetStatus
const Status & GetStatus() const
Definition: DescribeThingRegistrationTaskResult.h:272
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithStatus
DescribeThingRegistrationTaskResult & WithStatus(Status &&value)
Definition: DescribeThingRegistrationTaskResult.h:292
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetInputFileKey
void SetInputFileKey(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:205
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:50
AWSString.h
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetTemplateBody
void SetTemplateBody(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:133
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetRoleArn
void SetRoleArn(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:251
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetInputFileKey
void SetInputFileKey(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:210
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithFailureCount
DescribeThingRegistrationTaskResult & WithFailureCount(int value)
Definition: DescribeThingRegistrationTaskResult.h:360
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetMessage
void SetMessage(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:308
Aws::IoT::Model::DescribeThingRegistrationTaskResult::DescribeThingRegistrationTaskResult
DescribeThingRegistrationTaskResult()
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetMessage
void SetMessage(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:313
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:45
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithPercentageProgress
DescribeThingRegistrationTaskResult & WithPercentageProgress(int value)
Definition: DescribeThingRegistrationTaskResult.h:376
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetSuccessCount
void SetSuccessCount(int value)
Definition: DescribeThingRegistrationTaskResult.h:339
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetTaskId
const Aws::String & GetTaskId() const
Definition: DescribeThingRegistrationTaskResult.h:40
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetSuccessCount
int GetSuccessCount() const
Definition: DescribeThingRegistrationTaskResult.h:334
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithRoleArn
DescribeThingRegistrationTaskResult & WithRoleArn(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:266
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeThingRegistrationTaskResult.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetFailureCount
int GetFailureCount() const
Definition: DescribeThingRegistrationTaskResult.h:350
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetInputFileBucket
void SetInputFileBucket(const Aws::String &value)
Definition: DescribeThingRegistrationTaskResult.h:169
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetInputFileBucket
void SetInputFileBucket(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:179
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetInputFileKey
void SetInputFileKey(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:215
Aws::IoT::Model::DescribeThingRegistrationTaskResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: DescribeThingRegistrationTaskResult.h:102
Aws::IoT::Model::DescribeThingRegistrationTaskResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeThingRegistrationTaskResult.h:86
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::DescribeThingRegistrationTaskResult::GetTemplateBody
const Aws::String & GetTemplateBody() const
Definition: DescribeThingRegistrationTaskResult.h:128
Aws::IoT::Model::DescribeThingRegistrationTaskResult::operator=
DescribeThingRegistrationTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithMessage
DescribeThingRegistrationTaskResult & WithMessage(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:328
Aws::IoT::Model::Status
Status
Definition: Status.h:17
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithInputFileBucket
DescribeThingRegistrationTaskResult & WithInputFileBucket(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:194
Status.h
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithInputFileKey
DescribeThingRegistrationTaskResult & WithInputFileKey(Aws::String &&value)
Definition: DescribeThingRegistrationTaskResult.h:225
IoT_EXPORTS.h
Aws::IoT::Model::DescribeThingRegistrationTaskResult::WithInputFileKey
DescribeThingRegistrationTaskResult & WithInputFileKey(const char *value)
Definition: DescribeThingRegistrationTaskResult.h:230