AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetProfileUpdateTaskResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
12#include <aws/partnercentral-account/model/ErrorDetail.h>
13#include <aws/partnercentral-account/model/ProfileTaskStatus.h>
14#include <aws/partnercentral-account/model/TaskDetails.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace PartnerCentralAccount {
28namespace Model {
30 public:
31 AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult() = default;
33 AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult& operator=(
35
37
40 inline const Aws::String& GetCatalog() const { return m_catalog; }
41 template <typename CatalogT = Aws::String>
42 void SetCatalog(CatalogT&& value) {
43 m_catalogHasBeenSet = true;
44 m_catalog = std::forward<CatalogT>(value);
45 }
46 template <typename CatalogT = Aws::String>
48 SetCatalog(std::forward<CatalogT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template <typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template <typename IdT = Aws::String>
76 void SetId(IdT&& value) {
77 m_idHasBeenSet = true;
78 m_id = std::forward<IdT>(value);
79 }
80 template <typename IdT = Aws::String>
82 SetId(std::forward<IdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetTaskId() const { return m_taskId; }
92 template <typename TaskIdT = Aws::String>
93 void SetTaskId(TaskIdT&& value) {
94 m_taskIdHasBeenSet = true;
95 m_taskId = std::forward<TaskIdT>(value);
96 }
97 template <typename TaskIdT = Aws::String>
99 SetTaskId(std::forward<TaskIdT>(value));
100 return *this;
101 }
103
105
109 inline const TaskDetails& GetTaskDetails() const { return m_taskDetails; }
110 template <typename TaskDetailsT = TaskDetails>
111 void SetTaskDetails(TaskDetailsT&& value) {
112 m_taskDetailsHasBeenSet = true;
113 m_taskDetails = std::forward<TaskDetailsT>(value);
114 }
115 template <typename TaskDetailsT = TaskDetails>
117 SetTaskDetails(std::forward<TaskDetailsT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
127 template <typename StartedAtT = Aws::Utils::DateTime>
128 void SetStartedAt(StartedAtT&& value) {
129 m_startedAtHasBeenSet = true;
130 m_startedAt = std::forward<StartedAtT>(value);
131 }
132 template <typename StartedAtT = Aws::Utils::DateTime>
134 SetStartedAt(std::forward<StartedAtT>(value));
135 return *this;
136 }
138
140
144 inline ProfileTaskStatus GetStatus() const { return m_status; }
145 inline void SetStatus(ProfileTaskStatus value) {
146 m_statusHasBeenSet = true;
147 m_status = value;
148 }
150 SetStatus(value);
151 return *this;
152 }
154
156
159 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
160 template <typename EndedAtT = Aws::Utils::DateTime>
161 void SetEndedAt(EndedAtT&& value) {
162 m_endedAtHasBeenSet = true;
163 m_endedAt = std::forward<EndedAtT>(value);
164 }
165 template <typename EndedAtT = Aws::Utils::DateTime>
167 SetEndedAt(std::forward<EndedAtT>(value));
168 return *this;
169 }
171
173
177 inline const Aws::Vector<ErrorDetail>& GetErrorDetailList() const { return m_errorDetailList; }
178 template <typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
179 void SetErrorDetailList(ErrorDetailListT&& value) {
180 m_errorDetailListHasBeenSet = true;
181 m_errorDetailList = std::forward<ErrorDetailListT>(value);
182 }
183 template <typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
185 SetErrorDetailList(std::forward<ErrorDetailListT>(value));
186 return *this;
187 }
188 template <typename ErrorDetailListT = ErrorDetail>
190 m_errorDetailListHasBeenSet = true;
191 m_errorDetailList.emplace_back(std::forward<ErrorDetailListT>(value));
192 return *this;
193 }
195
197
198 inline const Aws::String& GetRequestId() const { return m_requestId; }
199 template <typename RequestIdT = Aws::String>
200 void SetRequestId(RequestIdT&& value) {
201 m_requestIdHasBeenSet = true;
202 m_requestId = std::forward<RequestIdT>(value);
203 }
204 template <typename RequestIdT = Aws::String>
206 SetRequestId(std::forward<RequestIdT>(value));
207 return *this;
208 }
210 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
211
212 private:
213 Aws::String m_catalog;
214
215 Aws::String m_arn;
216
217 Aws::String m_id;
218
219 Aws::String m_taskId;
220
221 TaskDetails m_taskDetails;
222
223 Aws::Utils::DateTime m_startedAt{};
224
226
227 Aws::Utils::DateTime m_endedAt{};
228
229 Aws::Vector<ErrorDetail> m_errorDetailList;
230
231 Aws::String m_requestId;
232 Aws::Http::HttpResponseCode m_HttpResponseCode;
233 bool m_catalogHasBeenSet = false;
234 bool m_arnHasBeenSet = false;
235 bool m_idHasBeenSet = false;
236 bool m_taskIdHasBeenSet = false;
237 bool m_taskDetailsHasBeenSet = false;
238 bool m_startedAtHasBeenSet = false;
239 bool m_statusHasBeenSet = false;
240 bool m_endedAtHasBeenSet = false;
241 bool m_errorDetailListHasBeenSet = false;
242 bool m_requestIdHasBeenSet = false;
243};
244
245} // namespace Model
246} // namespace PartnerCentralAccount
247} // 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