7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/ExportJobResource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pinpoint/model/JobStatus.h>
54 template<
typename ApplicationIdT = Aws::String>
55 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
56 template<
typename ApplicationIdT = Aws::String>
67 inline void SetCompletedPieces(
int value) { m_completedPiecesHasBeenSet =
true; m_completedPieces = value; }
77 template<
typename CompletionDateT = Aws::String>
78 void SetCompletionDate(CompletionDateT&& value) { m_completionDateHasBeenSet =
true; m_completionDate = std::forward<CompletionDateT>(value); }
79 template<
typename CompletionDateT = Aws::String>
89 template<
typename CreationDateT = Aws::String>
90 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
91 template<
typename CreationDateT = Aws::String>
101 template<
typename DefinitionT = ExportJobResource>
102 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
103 template<
typename DefinitionT = ExportJobResource>
114 inline void SetFailedPieces(
int value) { m_failedPiecesHasBeenSet =
true; m_failedPieces = value; }
125 template<
typename FailuresT = Aws::Vector<Aws::String>>
126 void SetFailures(FailuresT&& value) { m_failuresHasBeenSet =
true; m_failures = std::forward<FailuresT>(value); }
127 template<
typename FailuresT = Aws::Vector<Aws::String>>
129 template<
typename FailuresT = Aws::String>
130 ExportJobResponse&
AddFailures(FailuresT&& value) { m_failuresHasBeenSet =
true; m_failures.emplace_back(std::forward<FailuresT>(value));
return *
this; }
139 template<
typename IdT = Aws::String>
140 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
141 template<
typename IdT = Aws::String>
164 inline void SetTotalFailures(
int value) { m_totalFailuresHasBeenSet =
true; m_totalFailures = value; }
176 inline void SetTotalPieces(
int value) { m_totalPiecesHasBeenSet =
true; m_totalPieces = value; }
187 inline void SetTotalProcessed(
int value) { m_totalProcessedHasBeenSet =
true; m_totalProcessed = value; }
197 template<
typename TypeT = Aws::String>
198 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
199 template<
typename TypeT = Aws::String>
205 bool m_applicationIdHasBeenSet =
false;
207 int m_completedPieces{0};
208 bool m_completedPiecesHasBeenSet =
false;
211 bool m_completionDateHasBeenSet =
false;
214 bool m_creationDateHasBeenSet =
false;
216 ExportJobResource m_definition;
217 bool m_definitionHasBeenSet =
false;
219 int m_failedPieces{0};
220 bool m_failedPiecesHasBeenSet =
false;
223 bool m_failuresHasBeenSet =
false;
226 bool m_idHasBeenSet =
false;
229 bool m_jobStatusHasBeenSet =
false;
231 int m_totalFailures{0};
232 bool m_totalFailuresHasBeenSet =
false;
234 int m_totalPieces{0};
235 bool m_totalPiecesHasBeenSet =
false;
237 int m_totalProcessed{0};
238 bool m_totalProcessedHasBeenSet =
false;
241 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