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>
56 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
69 inline void SetCompletedPieces(
int value) { m_completedPiecesHasBeenSet =
true; m_completedPieces = value; }
81 inline void SetCompletionDate(
const char* value) { m_completionDateHasBeenSet =
true; m_completionDate.assign(value); }
95 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
120 inline void SetFailedPieces(
int value) { m_failedPiecesHasBeenSet =
true; m_failedPieces = value; }
148 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
175 inline void SetTotalFailures(
int value) { m_totalFailuresHasBeenSet =
true; m_totalFailures = value; }
187 inline void SetTotalPieces(
int value) { m_totalPiecesHasBeenSet =
true; m_totalPieces = value; }
198 inline void SetTotalProcessed(
int value) { m_totalProcessedHasBeenSet =
true; m_totalProcessed = value; }
210 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
218 bool m_applicationIdHasBeenSet =
false;
220 int m_completedPieces;
221 bool m_completedPiecesHasBeenSet =
false;
224 bool m_completionDateHasBeenSet =
false;
227 bool m_creationDateHasBeenSet =
false;
230 bool m_definitionHasBeenSet =
false;
233 bool m_failedPiecesHasBeenSet =
false;
236 bool m_failuresHasBeenSet =
false;
239 bool m_idHasBeenSet =
false;
242 bool m_jobStatusHasBeenSet =
false;
245 bool m_totalFailuresHasBeenSet =
false;
248 bool m_totalPiecesHasBeenSet =
false;
250 int m_totalProcessed;
251 bool m_totalProcessedHasBeenSet =
false;
254 bool m_typeHasBeenSet =
false;
const Aws::String & GetCreationDate() const
ExportJobResponse & WithJobStatus(const JobStatus &value)
void SetCompletionDate(const Aws::String &value)
ExportJobResponse & WithCompletionDate(Aws::String &&value)
const Aws::String & GetType() const
const Aws::String & GetCompletionDate() const
void SetType(const Aws::String &value)
bool CompletedPiecesHasBeenSet() const
ExportJobResponse & WithId(const Aws::String &value)
void SetApplicationId(const char *value)
void SetCompletionDate(Aws::String &&value)
void SetJobStatus(const JobStatus &value)
ExportJobResponse & AddFailures(const char *value)
ExportJobResponse & WithTotalFailures(int value)
AWS_PINPOINT_API ExportJobResponse()
int GetFailedPieces() const
void SetCompletedPieces(int value)
void SetTotalFailures(int value)
void SetTotalProcessed(int value)
ExportJobResponse & WithTotalProcessed(int value)
void SetType(Aws::String &&value)
int GetTotalProcessed() const
bool TotalFailuresHasBeenSet() const
ExportJobResponse & WithCreationDate(const Aws::String &value)
const JobStatus & GetJobStatus() const
void SetType(const char *value)
ExportJobResponse & WithCompletionDate(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
void SetCompletionDate(const char *value)
void SetFailures(const Aws::Vector< Aws::String > &value)
void SetDefinition(const ExportJobResource &value)
const Aws::String & GetId() const
AWS_PINPOINT_API ExportJobResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CompletionDateHasBeenSet() const
ExportJobResponse & WithFailures(const Aws::Vector< Aws::String > &value)
bool DefinitionHasBeenSet() const
ExportJobResponse & WithCreationDate(Aws::String &&value)
ExportJobResponse & WithApplicationId(const Aws::String &value)
void SetTotalPieces(int value)
void SetCreationDate(Aws::String &&value)
bool ApplicationIdHasBeenSet() const
ExportJobResponse & WithCompletionDate(const char *value)
ExportJobResponse & WithType(const Aws::String &value)
int GetTotalPieces() const
bool TotalPiecesHasBeenSet() const
int GetCompletedPieces() const
ExportJobResponse & WithApplicationId(Aws::String &&value)
bool FailedPiecesHasBeenSet() const
ExportJobResponse & WithId(const char *value)
void SetId(const char *value)
bool FailuresHasBeenSet() const
ExportJobResponse & WithApplicationId(const char *value)
void SetFailures(Aws::Vector< Aws::String > &&value)
ExportJobResponse & AddFailures(Aws::String &&value)
ExportJobResponse & WithType(const char *value)
ExportJobResponse & WithDefinition(ExportJobResource &&value)
const ExportJobResource & GetDefinition() const
ExportJobResponse & AddFailures(const Aws::String &value)
void SetId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ExportJobResponse & WithFailedPieces(int value)
ExportJobResponse & WithType(Aws::String &&value)
ExportJobResponse & WithId(Aws::String &&value)
void SetApplicationId(const Aws::String &value)
bool TotalProcessedHasBeenSet() const
ExportJobResponse & WithDefinition(const ExportJobResource &value)
bool CreationDateHasBeenSet() const
ExportJobResponse & WithTotalPieces(int value)
AWS_PINPOINT_API ExportJobResponse(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
int GetTotalFailures() const
void SetApplicationId(Aws::String &&value)
bool IdHasBeenSet() const
ExportJobResponse & WithCompletedPieces(int value)
ExportJobResponse & WithJobStatus(JobStatus &&value)
ExportJobResponse & WithCreationDate(const char *value)
void SetJobStatus(JobStatus &&value)
bool TypeHasBeenSet() const
void SetCreationDate(const char *value)
void SetFailedPieces(int value)
void SetDefinition(ExportJobResource &&value)
bool JobStatusHasBeenSet() const
const Aws::String & GetApplicationId() const
const Aws::Vector< Aws::String > & GetFailures() const
ExportJobResponse & WithFailures(Aws::Vector< Aws::String > &&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