7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/ExportJobResource.h>
11#include <aws/pinpoint/model/JobStatus.h>
48 template <
typename ApplicationIdT = Aws::String>
50 m_applicationIdHasBeenSet =
true;
51 m_applicationId = std::forward<ApplicationIdT>(value);
53 template <
typename ApplicationIdT = Aws::String>
68 m_completedPiecesHasBeenSet =
true;
69 m_completedPieces = value;
83 template <
typename CompletionDateT = Aws::String>
85 m_completionDateHasBeenSet =
true;
86 m_completionDate = std::forward<CompletionDateT>(value);
88 template <
typename CompletionDateT = Aws::String>
101 template <
typename CreationDateT = Aws::String>
103 m_creationDateHasBeenSet =
true;
104 m_creationDate = std::forward<CreationDateT>(value);
106 template <
typename CreationDateT = Aws::String>
119 template <
typename DefinitionT = ExportJobResource>
121 m_definitionHasBeenSet =
true;
122 m_definition = std::forward<DefinitionT>(value);
124 template <
typename DefinitionT = ExportJobResource>
139 m_failedPiecesHasBeenSet =
true;
140 m_failedPieces = value;
155 template <
typename FailuresT = Aws::Vector<Aws::String>>
157 m_failuresHasBeenSet =
true;
158 m_failures = std::forward<FailuresT>(value);
160 template <
typename FailuresT = Aws::Vector<Aws::String>>
165 template <
typename FailuresT = Aws::String>
167 m_failuresHasBeenSet =
true;
168 m_failures.emplace_back(std::forward<FailuresT>(value));
179 template <
typename IdT = Aws::String>
181 m_idHasBeenSet =
true;
182 m_id = std::forward<IdT>(value);
184 template <
typename IdT = Aws::String>
186 SetId(std::forward<IdT>(value));
199 m_jobStatusHasBeenSet =
true;
217 m_totalFailuresHasBeenSet =
true;
218 m_totalFailures = value;
235 m_totalPiecesHasBeenSet =
true;
236 m_totalPieces = value;
252 m_totalProcessedHasBeenSet =
true;
253 m_totalProcessed = value;
267 template <
typename TypeT = Aws::String>
269 m_typeHasBeenSet =
true;
270 m_type = std::forward<TypeT>(value);
272 template <
typename TypeT = Aws::String>
274 SetType(std::forward<TypeT>(value));
281 int m_completedPieces{0};
287 ExportJobResource m_definition;
289 int m_failedPieces{0};
297 int m_totalFailures{0};
299 int m_totalPieces{0};
301 int m_totalProcessed{0};
304 bool m_applicationIdHasBeenSet =
false;
305 bool m_completedPiecesHasBeenSet =
false;
306 bool m_completionDateHasBeenSet =
false;
307 bool m_creationDateHasBeenSet =
false;
308 bool m_definitionHasBeenSet =
false;
309 bool m_failedPiecesHasBeenSet =
false;
310 bool m_failuresHasBeenSet =
false;
311 bool m_idHasBeenSet =
false;
312 bool m_jobStatusHasBeenSet =
false;
313 bool m_totalFailuresHasBeenSet =
false;
314 bool m_totalPiecesHasBeenSet =
false;
315 bool m_totalProcessedHasBeenSet =
false;
316 bool m_typeHasBeenSet =
false;
ExportJobResponse & WithDefinition(DefinitionT &&value)
const Aws::String & GetCreationDate() const
JobStatus GetJobStatus() const
void SetFailures(FailuresT &&value)
const Aws::String & GetType() const
const Aws::String & GetCompletionDate() const
bool CompletedPiecesHasBeenSet() const
ExportJobResponse & WithTotalFailures(int value)
ExportJobResponse & WithCompletionDate(CompletionDateT &&value)
int GetFailedPieces() const
void SetCompletedPieces(int value)
void SetTotalFailures(int value)
void SetTotalProcessed(int value)
ExportJobResponse & WithTotalProcessed(int value)
int GetTotalProcessed() const
ExportJobResponse & AddFailures(FailuresT &&value)
bool TotalFailuresHasBeenSet() const
void SetJobStatus(JobStatus value)
void SetDefinition(DefinitionT &&value)
const Aws::String & GetId() const
AWS_PINPOINT_API ExportJobResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CompletionDateHasBeenSet() const
bool DefinitionHasBeenSet() const
void SetTotalPieces(int value)
void SetApplicationId(ApplicationIdT &&value)
ExportJobResponse & WithFailures(FailuresT &&value)
bool ApplicationIdHasBeenSet() const
void SetType(TypeT &&value)
void SetCompletionDate(CompletionDateT &&value)
int GetTotalPieces() const
bool TotalPiecesHasBeenSet() const
int GetCompletedPieces() const
bool FailedPiecesHasBeenSet() const
bool FailuresHasBeenSet() const
ExportJobResponse & WithId(IdT &&value)
const ExportJobResource & GetDefinition() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ExportJobResponse & WithFailedPieces(int value)
ExportJobResponse & WithType(TypeT &&value)
bool TotalProcessedHasBeenSet() const
ExportJobResponse & WithJobStatus(JobStatus value)
bool CreationDateHasBeenSet() const
ExportJobResponse & WithTotalPieces(int value)
void SetCreationDate(CreationDateT &&value)
AWS_PINPOINT_API ExportJobResponse(Aws::Utils::Json::JsonView jsonValue)
int GetTotalFailures() const
AWS_PINPOINT_API ExportJobResponse()=default
bool IdHasBeenSet() const
ExportJobResponse & WithCompletedPieces(int value)
bool TypeHasBeenSet() const
ExportJobResponse & WithCreationDate(CreationDateT &&value)
void SetFailedPieces(int value)
bool JobStatusHasBeenSet() const
const Aws::String & GetApplicationId() const
ExportJobResponse & WithApplicationId(ApplicationIdT &&value)
const Aws::Vector< Aws::String > & GetFailures() 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