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>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace PartnerCentralAccount {
40 template <
typename CatalogT = Aws::String>
42 m_catalogHasBeenSet =
true;
43 m_catalog = std::forward<CatalogT>(value);
45 template <
typename CatalogT = Aws::String>
57 template <
typename ArnT = Aws::String>
59 m_arnHasBeenSet =
true;
60 m_arn = std::forward<ArnT>(value);
62 template <
typename ArnT = Aws::String>
64 SetArn(std::forward<ArnT>(value));
74 template <
typename IdT = Aws::String>
76 m_idHasBeenSet =
true;
77 m_id = std::forward<IdT>(value);
79 template <
typename IdT = Aws::String>
81 SetId(std::forward<IdT>(value));
91 template <
typename TaskIdT = Aws::String>
93 m_taskIdHasBeenSet =
true;
94 m_taskId = std::forward<TaskIdT>(value);
96 template <
typename TaskIdT = Aws::String>
109 template <
typename TaskDetailsT = TaskDetails>
111 m_taskDetailsHasBeenSet =
true;
112 m_taskDetails = std::forward<TaskDetailsT>(value);
114 template <
typename TaskDetailsT = TaskDetails>
126 template <
typename StartedAtT = Aws::Utils::DateTime>
128 m_startedAtHasBeenSet =
true;
129 m_startedAt = std::forward<StartedAtT>(value);
131 template <
typename StartedAtT = Aws::Utils::DateTime>
145 m_statusHasBeenSet =
true;
159 template <
typename EndedAtT = Aws::Utils::DateTime>
161 m_endedAtHasBeenSet =
true;
162 m_endedAt = std::forward<EndedAtT>(value);
164 template <
typename EndedAtT = Aws::Utils::DateTime>
177 template <
typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
179 m_errorDetailListHasBeenSet =
true;
180 m_errorDetailList = std::forward<ErrorDetailListT>(value);
182 template <
typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
187 template <
typename ErrorDetailListT = ErrorDetail>
189 m_errorDetailListHasBeenSet =
true;
190 m_errorDetailList.emplace_back(std::forward<ErrorDetailListT>(value));
198 template <
typename RequestIdT = Aws::String>
200 m_requestIdHasBeenSet =
true;
201 m_requestId = std::forward<RequestIdT>(value);
203 template <
typename RequestIdT = Aws::String>
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;
void SetTaskDetails(TaskDetailsT &&value)
const Aws::String & GetId() const
GetProfileUpdateTaskResult & WithId(IdT &&value)
void SetArn(ArnT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileUpdateTaskResult & WithStartedAt(StartedAtT &&value)
GetProfileUpdateTaskResult & WithTaskId(TaskIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult()=default
void SetRequestId(RequestIdT &&value)
void SetEndedAt(EndedAtT &&value)
ProfileTaskStatus GetStatus() const
const Aws::String & GetRequestId() const
const Aws::String & GetArn() const
GetProfileUpdateTaskResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetTaskId() const
void SetErrorDetailList(ErrorDetailListT &&value)
void SetStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetEndedAt() const
GetProfileUpdateTaskResult & WithTaskDetails(TaskDetailsT &&value)
const TaskDetails & GetTaskDetails() const
GetProfileUpdateTaskResult & AddErrorDetailList(ErrorDetailListT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetProfileUpdateTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCatalog(CatalogT &&value)
GetProfileUpdateTaskResult & WithArn(ArnT &&value)
void SetTaskId(TaskIdT &&value)
GetProfileUpdateTaskResult & WithEndedAt(EndedAtT &&value)
const Aws::String & GetCatalog() const
GetProfileUpdateTaskResult & WithCatalog(CatalogT &&value)
GetProfileUpdateTaskResult & WithErrorDetailList(ErrorDetailListT &&value)
void SetStatus(ProfileTaskStatus value)
GetProfileUpdateTaskResult & WithStatus(ProfileTaskStatus value)
const Aws::Vector< ErrorDetail > & GetErrorDetailList() const
const Aws::Utils::DateTime & GetStartedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue