AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeThingRegistrationTaskResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/Status.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetTaskId() const{ return m_taskId; }
42 inline void SetTaskId(const Aws::String& value) { m_taskId = value; }
43 inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); }
44 inline void SetTaskId(const char* value) { m_taskId.assign(value); }
45 inline DescribeThingRegistrationTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
46 inline DescribeThingRegistrationTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
47 inline DescribeThingRegistrationTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
55 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
56 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
60
62
65 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
66 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
67 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
71
73
76 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
77 inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
78 inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
79 inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
81 inline DescribeThingRegistrationTaskResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
82 inline DescribeThingRegistrationTaskResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
84
86
89 inline const Aws::String& GetInputFileBucket() const{ return m_inputFileBucket; }
90 inline void SetInputFileBucket(const Aws::String& value) { m_inputFileBucket = value; }
91 inline void SetInputFileBucket(Aws::String&& value) { m_inputFileBucket = std::move(value); }
92 inline void SetInputFileBucket(const char* value) { m_inputFileBucket.assign(value); }
95 inline DescribeThingRegistrationTaskResult& WithInputFileBucket(const char* value) { SetInputFileBucket(value); return *this;}
97
99
102 inline const Aws::String& GetInputFileKey() const{ return m_inputFileKey; }
103 inline void SetInputFileKey(const Aws::String& value) { m_inputFileKey = value; }
104 inline void SetInputFileKey(Aws::String&& value) { m_inputFileKey = std::move(value); }
105 inline void SetInputFileKey(const char* value) { m_inputFileKey.assign(value); }
107 inline DescribeThingRegistrationTaskResult& WithInputFileKey(Aws::String&& value) { SetInputFileKey(std::move(value)); return *this;}
108 inline DescribeThingRegistrationTaskResult& WithInputFileKey(const char* value) { SetInputFileKey(value); return *this;}
110
112
115 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
116 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
117 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
118 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
119 inline DescribeThingRegistrationTaskResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
120 inline DescribeThingRegistrationTaskResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
121 inline DescribeThingRegistrationTaskResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
123
125
128 inline const Status& GetStatus() const{ return m_status; }
129 inline void SetStatus(const Status& value) { m_status = value; }
130 inline void SetStatus(Status&& value) { m_status = std::move(value); }
131 inline DescribeThingRegistrationTaskResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
132 inline DescribeThingRegistrationTaskResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
134
136
139 inline const Aws::String& GetMessage() const{ return m_message; }
140 inline void SetMessage(const Aws::String& value) { m_message = value; }
141 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
142 inline void SetMessage(const char* value) { m_message.assign(value); }
143 inline DescribeThingRegistrationTaskResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
144 inline DescribeThingRegistrationTaskResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
145 inline DescribeThingRegistrationTaskResult& WithMessage(const char* value) { SetMessage(value); return *this;}
147
149
152 inline int GetSuccessCount() const{ return m_successCount; }
153 inline void SetSuccessCount(int value) { m_successCount = value; }
154 inline DescribeThingRegistrationTaskResult& WithSuccessCount(int value) { SetSuccessCount(value); return *this;}
156
158
161 inline int GetFailureCount() const{ return m_failureCount; }
162 inline void SetFailureCount(int value) { m_failureCount = value; }
163 inline DescribeThingRegistrationTaskResult& WithFailureCount(int value) { SetFailureCount(value); return *this;}
165
167
170 inline int GetPercentageProgress() const{ return m_percentageProgress; }
171 inline void SetPercentageProgress(int value) { m_percentageProgress = value; }
174
176
177 inline const Aws::String& GetRequestId() const{ return m_requestId; }
178 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
179 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
180 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
181 inline DescribeThingRegistrationTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
182 inline DescribeThingRegistrationTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
183 inline DescribeThingRegistrationTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
185 private:
186
187 Aws::String m_taskId;
188
189 Aws::Utils::DateTime m_creationDate;
190
191 Aws::Utils::DateTime m_lastModifiedDate;
192
193 Aws::String m_templateBody;
194
195 Aws::String m_inputFileBucket;
196
197 Aws::String m_inputFileKey;
198
199 Aws::String m_roleArn;
200
201 Status m_status;
202
203 Aws::String m_message;
204
205 int m_successCount;
206
207 int m_failureCount;
208
209 int m_percentageProgress;
210
211 Aws::String m_requestId;
212 };
213
214} // namespace Model
215} // namespace IoT
216} // namespace Aws
DescribeThingRegistrationTaskResult & WithTaskId(const char *value)
DescribeThingRegistrationTaskResult & WithMessage(const Aws::String &value)
DescribeThingRegistrationTaskResult & WithInputFileKey(const Aws::String &value)
DescribeThingRegistrationTaskResult & WithRoleArn(const Aws::String &value)
DescribeThingRegistrationTaskResult & WithInputFileBucket(Aws::String &&value)
DescribeThingRegistrationTaskResult & WithInputFileKey(const char *value)
DescribeThingRegistrationTaskResult & WithTaskId(Aws::String &&value)
DescribeThingRegistrationTaskResult & WithTaskId(const Aws::String &value)
DescribeThingRegistrationTaskResult & WithRequestId(const char *value)
DescribeThingRegistrationTaskResult & WithMessage(const char *value)
DescribeThingRegistrationTaskResult & WithRequestId(Aws::String &&value)
DescribeThingRegistrationTaskResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeThingRegistrationTaskResult & WithFailureCount(int value)
DescribeThingRegistrationTaskResult & WithTemplateBody(const char *value)
DescribeThingRegistrationTaskResult & WithStatus(const Status &value)
DescribeThingRegistrationTaskResult & WithInputFileBucket(const char *value)
DescribeThingRegistrationTaskResult & WithCreationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API DescribeThingRegistrationTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingRegistrationTaskResult & WithPercentageProgress(int value)
DescribeThingRegistrationTaskResult & WithStatus(Status &&value)
DescribeThingRegistrationTaskResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeThingRegistrationTaskResult & WithRoleArn(Aws::String &&value)
DescribeThingRegistrationTaskResult & WithTemplateBody(const Aws::String &value)
DescribeThingRegistrationTaskResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeThingRegistrationTaskResult & WithRequestId(const Aws::String &value)
DescribeThingRegistrationTaskResult & WithRoleArn(const char *value)
DescribeThingRegistrationTaskResult & WithSuccessCount(int value)
DescribeThingRegistrationTaskResult & WithInputFileKey(Aws::String &&value)
DescribeThingRegistrationTaskResult & WithInputFileBucket(const Aws::String &value)
DescribeThingRegistrationTaskResult & WithTemplateBody(Aws::String &&value)
AWS_IOT_API DescribeThingRegistrationTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingRegistrationTaskResult & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue