7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
12#include <aws/customer-profiles/model/ObjectTypeField.h>
13#include <aws/customer-profiles/model/ResultsSummary.h>
14#include <aws/customer-profiles/model/StatusReason.h>
15#include <aws/customer-profiles/model/UploadJobStatus.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace CustomerProfiles {
41 template <
typename JobIdT = Aws::String>
43 m_jobIdHasBeenSet =
true;
44 m_jobId = std::forward<JobIdT>(value);
46 template <
typename JobIdT = Aws::String>
48 SetJobId(std::forward<JobIdT>(value));
59 template <
typename DisplayNameT = Aws::String>
61 m_displayNameHasBeenSet =
true;
62 m_displayName = std::forward<DisplayNameT>(value);
64 template <
typename DisplayNameT = Aws::String>
86 m_statusHasBeenSet =
true;
104 m_statusReasonHasBeenSet =
true;
105 m_statusReason = value;
118 template <
typename CreatedAtT = Aws::Utils::DateTime>
120 m_createdAtHasBeenSet =
true;
121 m_createdAt = std::forward<CreatedAtT>(value);
123 template <
typename CreatedAtT = Aws::Utils::DateTime>
135 template <
typename CompletedAtT = Aws::Utils::DateTime>
137 m_completedAtHasBeenSet =
true;
138 m_completedAt = std::forward<CompletedAtT>(value);
140 template <
typename CompletedAtT = Aws::Utils::DateTime>
153 template <
typename FieldsT = Aws::Map<Aws::String, ObjectTypeField>>
155 m_fieldsHasBeenSet =
true;
156 m_fields = std::forward<FieldsT>(value);
158 template <
typename FieldsT = Aws::Map<Aws::String, ObjectTypeField>>
163 template <
typename FieldsKeyT = Aws::String,
typename FieldsValueT = ObjectTypeField>
165 m_fieldsHasBeenSet =
true;
166 m_fields.emplace(std::forward<FieldsKeyT>(key), std::forward<FieldsValueT>(value));
176 template <
typename UniqueKeyT = Aws::String>
178 m_uniqueKeyHasBeenSet =
true;
179 m_uniqueKey = std::forward<UniqueKeyT>(value);
181 template <
typename UniqueKeyT = Aws::String>
194 template <
typename ResultsSummaryT = ResultsSummary>
196 m_resultsSummaryHasBeenSet =
true;
197 m_resultsSummary = std::forward<ResultsSummaryT>(value);
199 template <
typename ResultsSummaryT = ResultsSummary>
212 m_dataExpiryHasBeenSet =
true;
213 m_dataExpiry = value;
224 template <
typename RequestIdT = Aws::String>
226 m_requestIdHasBeenSet =
true;
227 m_requestId = std::forward<RequestIdT>(value);
229 template <
typename RequestIdT = Aws::String>
254 ResultsSummary m_resultsSummary;
260 bool m_jobIdHasBeenSet =
false;
261 bool m_displayNameHasBeenSet =
false;
262 bool m_statusHasBeenSet =
false;
263 bool m_statusReasonHasBeenSet =
false;
264 bool m_createdAtHasBeenSet =
false;
265 bool m_completedAtHasBeenSet =
false;
266 bool m_fieldsHasBeenSet =
false;
267 bool m_uniqueKeyHasBeenSet =
false;
268 bool m_resultsSummaryHasBeenSet =
false;
269 bool m_dataExpiryHasBeenSet =
false;
270 bool m_requestIdHasBeenSet =
false;
GetUploadJobResult & WithRequestId(RequestIdT &&value)
void SetStatusReason(StatusReason value)
void SetDataExpiry(int value)
AWS_CUSTOMERPROFILES_API GetUploadJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDisplayName(DisplayNameT &&value)
void SetRequestId(RequestIdT &&value)
void SetResultsSummary(ResultsSummaryT &&value)
GetUploadJobResult & WithDisplayName(DisplayNameT &&value)
GetUploadJobResult & WithJobId(JobIdT &&value)
const Aws::String & GetDisplayName() const
void SetJobId(JobIdT &&value)
GetUploadJobResult & WithStatus(UploadJobStatus value)
GetUploadJobResult & WithFields(FieldsT &&value)
AWS_CUSTOMERPROFILES_API GetUploadJobResult()=default
GetUploadJobResult & WithDataExpiry(int value)
GetUploadJobResult & WithUniqueKey(UniqueKeyT &&value)
AWS_CUSTOMERPROFILES_API GetUploadJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, ObjectTypeField > & GetFields() const
StatusReason GetStatusReason() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCompletedAt(CompletedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetJobId() const
GetUploadJobResult & WithStatusReason(StatusReason value)
void SetStatus(UploadJobStatus value)
UploadJobStatus GetStatus() const
GetUploadJobResult & AddFields(FieldsKeyT &&key, FieldsValueT &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
GetUploadJobResult & WithCompletedAt(CompletedAtT &&value)
const ResultsSummary & GetResultsSummary() const
GetUploadJobResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetUniqueKey() const
void SetFields(FieldsT &&value)
int GetDataExpiry() const
const Aws::String & GetRequestId() const
void SetCreatedAt(CreatedAtT &&value)
GetUploadJobResult & WithResultsSummary(ResultsSummaryT &&value)
void SetUniqueKey(UniqueKeyT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue