AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
32 AWS_IOT_API DescribeThingRegistrationTaskResult() = default;
35
36
38
41 inline const Aws::String& GetTaskId() const { return m_taskId; }
42 template<typename TaskIdT = Aws::String>
43 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
44 template<typename TaskIdT = Aws::String>
45 DescribeThingRegistrationTaskResult& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
53 template<typename CreationDateT = Aws::Utils::DateTime>
54 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
55 template<typename CreationDateT = Aws::Utils::DateTime>
56 DescribeThingRegistrationTaskResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
64 template<typename LastModifiedDateT = Aws::Utils::DateTime>
65 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
66 template<typename LastModifiedDateT = Aws::Utils::DateTime>
67 DescribeThingRegistrationTaskResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
69
71
74 inline const Aws::String& GetTemplateBody() const { return m_templateBody; }
75 template<typename TemplateBodyT = Aws::String>
76 void SetTemplateBody(TemplateBodyT&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::forward<TemplateBodyT>(value); }
77 template<typename TemplateBodyT = Aws::String>
78 DescribeThingRegistrationTaskResult& WithTemplateBody(TemplateBodyT&& value) { SetTemplateBody(std::forward<TemplateBodyT>(value)); return *this;}
80
82
85 inline const Aws::String& GetInputFileBucket() const { return m_inputFileBucket; }
86 template<typename InputFileBucketT = Aws::String>
87 void SetInputFileBucket(InputFileBucketT&& value) { m_inputFileBucketHasBeenSet = true; m_inputFileBucket = std::forward<InputFileBucketT>(value); }
88 template<typename InputFileBucketT = Aws::String>
89 DescribeThingRegistrationTaskResult& WithInputFileBucket(InputFileBucketT&& value) { SetInputFileBucket(std::forward<InputFileBucketT>(value)); return *this;}
91
93
96 inline const Aws::String& GetInputFileKey() const { return m_inputFileKey; }
97 template<typename InputFileKeyT = Aws::String>
98 void SetInputFileKey(InputFileKeyT&& value) { m_inputFileKeyHasBeenSet = true; m_inputFileKey = std::forward<InputFileKeyT>(value); }
99 template<typename InputFileKeyT = Aws::String>
100 DescribeThingRegistrationTaskResult& WithInputFileKey(InputFileKeyT&& value) { SetInputFileKey(std::forward<InputFileKeyT>(value)); return *this;}
102
104
107 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
108 template<typename RoleArnT = Aws::String>
109 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
110 template<typename RoleArnT = Aws::String>
111 DescribeThingRegistrationTaskResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
113
115
118 inline Status GetStatus() const { return m_status; }
119 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
120 inline DescribeThingRegistrationTaskResult& WithStatus(Status value) { SetStatus(value); return *this;}
122
124
127 inline const Aws::String& GetMessage() const { return m_message; }
128 template<typename MessageT = Aws::String>
129 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
130 template<typename MessageT = Aws::String>
131 DescribeThingRegistrationTaskResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
133
135
138 inline int GetSuccessCount() const { return m_successCount; }
139 inline void SetSuccessCount(int value) { m_successCountHasBeenSet = true; m_successCount = value; }
140 inline DescribeThingRegistrationTaskResult& WithSuccessCount(int value) { SetSuccessCount(value); return *this;}
142
144
147 inline int GetFailureCount() const { return m_failureCount; }
148 inline void SetFailureCount(int value) { m_failureCountHasBeenSet = true; m_failureCount = value; }
149 inline DescribeThingRegistrationTaskResult& WithFailureCount(int value) { SetFailureCount(value); return *this;}
151
153
156 inline int GetPercentageProgress() const { return m_percentageProgress; }
157 inline void SetPercentageProgress(int value) { m_percentageProgressHasBeenSet = true; m_percentageProgress = value; }
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template<typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
166 template<typename RequestIdT = Aws::String>
167 DescribeThingRegistrationTaskResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
169 private:
170
171 Aws::String m_taskId;
172 bool m_taskIdHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationDate{};
175 bool m_creationDateHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastModifiedDate{};
178 bool m_lastModifiedDateHasBeenSet = false;
179
180 Aws::String m_templateBody;
181 bool m_templateBodyHasBeenSet = false;
182
183 Aws::String m_inputFileBucket;
184 bool m_inputFileBucketHasBeenSet = false;
185
186 Aws::String m_inputFileKey;
187 bool m_inputFileKeyHasBeenSet = false;
188
189 Aws::String m_roleArn;
190 bool m_roleArnHasBeenSet = false;
191
192 Status m_status{Status::NOT_SET};
193 bool m_statusHasBeenSet = false;
194
195 Aws::String m_message;
196 bool m_messageHasBeenSet = false;
197
198 int m_successCount{0};
199 bool m_successCountHasBeenSet = false;
200
201 int m_failureCount{0};
202 bool m_failureCountHasBeenSet = false;
203
204 int m_percentageProgress{0};
205 bool m_percentageProgressHasBeenSet = false;
206
207 Aws::String m_requestId;
208 bool m_requestIdHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace IoT
213} // namespace Aws
DescribeThingRegistrationTaskResult & WithTaskId(TaskIdT &&value)
DescribeThingRegistrationTaskResult & WithInputFileKey(InputFileKeyT &&value)
DescribeThingRegistrationTaskResult & WithRequestId(RequestIdT &&value)
DescribeThingRegistrationTaskResult & WithInputFileBucket(InputFileBucketT &&value)
DescribeThingRegistrationTaskResult & WithFailureCount(int value)
AWS_IOT_API DescribeThingRegistrationTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingRegistrationTaskResult & WithTemplateBody(TemplateBodyT &&value)
DescribeThingRegistrationTaskResult & WithPercentageProgress(int value)
DescribeThingRegistrationTaskResult & WithCreationDate(CreationDateT &&value)
DescribeThingRegistrationTaskResult & WithMessage(MessageT &&value)
DescribeThingRegistrationTaskResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeThingRegistrationTaskResult & WithRoleArn(RoleArnT &&value)
DescribeThingRegistrationTaskResult & WithSuccessCount(int value)
AWS_IOT_API DescribeThingRegistrationTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingRegistrationTaskResult & WithStatus(Status value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue