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>
108 template <
typename TaskDetailsT = TaskDetails>
110 m_taskDetailsHasBeenSet =
true;
111 m_taskDetails = std::forward<TaskDetailsT>(value);
113 template <
typename TaskDetailsT = TaskDetails>
125 template <
typename StartedAtT = Aws::Utils::DateTime>
127 m_startedAtHasBeenSet =
true;
128 m_startedAt = std::forward<StartedAtT>(value);
130 template <
typename StartedAtT = Aws::Utils::DateTime>
143 m_statusHasBeenSet =
true;
158 template <
typename EndedAtT = Aws::Utils::DateTime>
160 m_endedAtHasBeenSet =
true;
161 m_endedAt = std::forward<EndedAtT>(value);
163 template <
typename EndedAtT = Aws::Utils::DateTime>
176 template <
typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
178 m_errorDetailListHasBeenSet =
true;
179 m_errorDetailList = std::forward<ErrorDetailListT>(value);
181 template <
typename ErrorDetailListT = Aws::Vector<ErrorDetail>>
186 template <
typename ErrorDetailListT = ErrorDetail>
188 m_errorDetailListHasBeenSet =
true;
189 m_errorDetailList.emplace_back(std::forward<ErrorDetailListT>(value));
197 template <
typename RequestIdT = Aws::String>
199 m_requestIdHasBeenSet =
true;
200 m_requestId = std::forward<RequestIdT>(value);
202 template <
typename RequestIdT = Aws::String>
228 bool m_catalogHasBeenSet =
false;
229 bool m_arnHasBeenSet =
false;
230 bool m_idHasBeenSet =
false;
231 bool m_taskIdHasBeenSet =
false;
232 bool m_taskDetailsHasBeenSet =
false;
233 bool m_startedAtHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
235 bool m_endedAtHasBeenSet =
false;
236 bool m_errorDetailListHasBeenSet =
false;
237 bool m_requestIdHasBeenSet =
false;
StartProfileUpdateTaskResult & WithErrorDetailList(ErrorDetailListT &&value)
void SetCatalog(CatalogT &&value)
const Aws::String & GetTaskId() const
const Aws::String & GetId() const
void SetTaskDetails(TaskDetailsT &&value)
void SetRequestId(RequestIdT &&value)
StartProfileUpdateTaskResult & WithArn(ArnT &&value)
StartProfileUpdateTaskResult & WithTaskDetails(TaskDetailsT &&value)
ProfileTaskStatus GetStatus() const
void SetErrorDetailList(ErrorDetailListT &&value)
StartProfileUpdateTaskResult & WithStatus(ProfileTaskStatus value)
StartProfileUpdateTaskResult & WithId(IdT &&value)
void SetStatus(ProfileTaskStatus value)
void SetTaskId(TaskIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API StartProfileUpdateTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartProfileUpdateTaskResult & WithTaskId(TaskIdT &&value)
void SetArn(ArnT &&value)
const Aws::Vector< ErrorDetail > & GetErrorDetailList() const
void SetStartedAt(StartedAtT &&value)
AWS_PARTNERCENTRALACCOUNT_API StartProfileUpdateTaskResult()=default
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::String & GetCatalog() const
StartProfileUpdateTaskResult & WithEndedAt(EndedAtT &&value)
AWS_PARTNERCENTRALACCOUNT_API StartProfileUpdateTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetEndedAt() const
void SetEndedAt(EndedAtT &&value)
StartProfileUpdateTaskResult & WithCatalog(CatalogT &&value)
StartProfileUpdateTaskResult & WithStartedAt(StartedAtT &&value)
const Aws::String & GetArn() const
const TaskDetails & GetTaskDetails() const
StartProfileUpdateTaskResult & AddErrorDetailList(ErrorDetailListT &&value)
StartProfileUpdateTaskResult & WithRequestId(RequestIdT &&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