AWS SDK for C++

AWS SDK for C++ Version 1.11.715

Loading...
Searching...
No Matches
GetProfileUpdateTaskResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/ErrorDetail.h>
12#include <aws/partnercentral-account/model/ProfileTaskStatus.h>
13#include <aws/partnercentral-account/model/TaskDetails.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralAccount {
27namespace Model {
29 public:
30 AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult() = default;
32 AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult& operator=(
34
36
39 inline const Aws::String& GetCatalog() const { return m_catalog; }
40 template <typename CatalogT = Aws::String>
41 void SetCatalog(CatalogT&& value) {
42 m_catalogHasBeenSet = true;
43 m_catalog = std::forward<CatalogT>(value);
44 }
45 template <typename CatalogT = Aws::String>
47 SetCatalog(std::forward<CatalogT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetArn() const { return m_arn; }
57 template <typename ArnT = Aws::String>
58 void SetArn(ArnT&& value) {
59 m_arnHasBeenSet = true;
60 m_arn = std::forward<ArnT>(value);
61 }
62 template <typename ArnT = Aws::String>
64 SetArn(std::forward<ArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetId() const { return m_id; }
74 template <typename IdT = Aws::String>
75 void SetId(IdT&& value) {
76 m_idHasBeenSet = true;
77 m_id = std::forward<IdT>(value);
78 }
79 template <typename IdT = Aws::String>
81 SetId(std::forward<IdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetTaskId() const { return m_taskId; }
91 template <typename TaskIdT = Aws::String>
92 void SetTaskId(TaskIdT&& value) {
93 m_taskIdHasBeenSet = true;
94 m_taskId = std::forward<TaskIdT>(value);
95 }
96 template <typename TaskIdT = Aws::String>
98 SetTaskId(std::forward<TaskIdT>(value));
99 return *this;
100 }
102
104
108 inline const TaskDetails& GetTaskDetails() const { return m_taskDetails; }
109 template <typename TaskDetailsT = TaskDetails>
110 void SetTaskDetails(TaskDetailsT&& value) {
111 m_taskDetailsHasBeenSet = true;
112 m_taskDetails = std::forward<TaskDetailsT>(value);
113 }
114 template <typename TaskDetailsT = TaskDetails>
116 SetTaskDetails(std::forward<TaskDetailsT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
126 template <typename StartedAtT = Aws::Utils::DateTime>
127 void SetStartedAt(StartedAtT&& value) {
128 m_startedAtHasBeenSet = true;
129 m_startedAt = std::forward<StartedAtT>(value);
130 }
131 template <typename StartedAtT = Aws::Utils::DateTime>
133 SetStartedAt(std::forward<StartedAtT>(value));
134 return *this;
135 }
137
139
143 inline ProfileTaskStatus GetStatus() const { return m_status; }
144 inline void SetStatus(ProfileTaskStatus value) {
145 m_statusHasBeenSet = true;
146 m_status = value;
147 }
149 SetStatus(value);
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
159 template <typename EndedAtT = Aws::Utils::DateTime>
160 void SetEndedAt(EndedAtT&& value) {
161 m_endedAtHasBeenSet = true;
162 m_endedAt = std::forward<EndedAtT>(value);
163 }
164 template <typename EndedAtT = Aws::Utils::DateTime>
166 SetEndedAt(std::forward<EndedAtT>(value));
167 return *this;
168 }
170
172
176 inline const Aws::Vector<ErrorDetail>& GetErrorDetailList() const { return m_errorDetailList; }
177 template <typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
178 void SetErrorDetailList(ErrorDetailListT&& value) {
179 m_errorDetailListHasBeenSet = true;
180 m_errorDetailList = std::forward<ErrorDetailListT>(value);
181 }
182 template <typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
184 SetErrorDetailList(std::forward<ErrorDetailListT>(value));
185 return *this;
186 }
187 template <typename ErrorDetailListT = ErrorDetail>
189 m_errorDetailListHasBeenSet = true;
190 m_errorDetailList.emplace_back(std::forward<ErrorDetailListT>(value));
191 return *this;
192 }
194
196
197 inline const Aws::String& GetRequestId() const { return m_requestId; }
198 template <typename RequestIdT = Aws::String>
199 void SetRequestId(RequestIdT&& value) {
200 m_requestIdHasBeenSet = true;
201 m_requestId = std::forward<RequestIdT>(value);
202 }
203 template <typename RequestIdT = Aws::String>
205 SetRequestId(std::forward<RequestIdT>(value));
206 return *this;
207 }
209 private:
210 Aws::String m_catalog;
211
212 Aws::String m_arn;
213
214 Aws::String m_id;
215
216 Aws::String m_taskId;
217
218 TaskDetails m_taskDetails;
219
220 Aws::Utils::DateTime m_startedAt{};
221
223
224 Aws::Utils::DateTime m_endedAt{};
225
226 Aws::Vector<ErrorDetail> m_errorDetailList;
227
228 Aws::String m_requestId;
229 bool m_catalogHasBeenSet = false;
230 bool m_arnHasBeenSet = false;
231 bool m_idHasBeenSet = false;
232 bool m_taskIdHasBeenSet = false;
233 bool m_taskDetailsHasBeenSet = false;
234 bool m_startedAtHasBeenSet = false;
235 bool m_statusHasBeenSet = false;
236 bool m_endedAtHasBeenSet = false;
237 bool m_errorDetailListHasBeenSet = false;
238 bool m_requestIdHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace PartnerCentralAccount
243} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileUpdateTaskResult & WithStartedAt(StartedAtT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult()=default
GetProfileUpdateTaskResult & WithRequestId(RequestIdT &&value)
GetProfileUpdateTaskResult & WithTaskDetails(TaskDetailsT &&value)
GetProfileUpdateTaskResult & AddErrorDetailList(ErrorDetailListT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileUpdateTaskResult & WithErrorDetailList(ErrorDetailListT &&value)
GetProfileUpdateTaskResult & WithStatus(ProfileTaskStatus 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