7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/ImportJobResource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pinpoint/model/JobStatus.h>
55 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
68 inline void SetCompletedPieces(
int value) { m_completedPiecesHasBeenSet =
true; m_completedPieces = value; }
80 inline void SetCompletionDate(
const char* value) { m_completionDateHasBeenSet =
true; m_completionDate.assign(value); }
94 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
119 inline void SetFailedPieces(
int value) { m_failedPiecesHasBeenSet =
true; m_failedPieces = value; }
147 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
174 inline void SetTotalFailures(
int value) { m_totalFailuresHasBeenSet =
true; m_totalFailures = value; }
186 inline void SetTotalPieces(
int value) { m_totalPiecesHasBeenSet =
true; m_totalPieces = value; }
197 inline void SetTotalProcessed(
int value) { m_totalProcessedHasBeenSet =
true; m_totalProcessed = value; }
209 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
217 bool m_applicationIdHasBeenSet =
false;
219 int m_completedPieces;
220 bool m_completedPiecesHasBeenSet =
false;
223 bool m_completionDateHasBeenSet =
false;
226 bool m_creationDateHasBeenSet =
false;
229 bool m_definitionHasBeenSet =
false;
232 bool m_failedPiecesHasBeenSet =
false;
235 bool m_failuresHasBeenSet =
false;
238 bool m_idHasBeenSet =
false;
241 bool m_jobStatusHasBeenSet =
false;
244 bool m_totalFailuresHasBeenSet =
false;
247 bool m_totalPiecesHasBeenSet =
false;
249 int m_totalProcessed;
250 bool m_totalProcessedHasBeenSet =
false;
253 bool m_typeHasBeenSet =
false;
bool TypeHasBeenSet() const
ImportJobResponse & AddFailures(const Aws::String &value)
void SetType(const Aws::String &value)
bool IdHasBeenSet() const
void SetType(const char *value)
const Aws::String & GetId() const
void SetCompletionDate(const Aws::String &value)
bool DefinitionHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApplicationId(const char *value)
void SetType(Aws::String &&value)
const Aws::String & GetType() const
void SetId(Aws::String &&value)
ImportJobResponse & WithApplicationId(const Aws::String &value)
void SetDefinition(const ImportJobResource &value)
void SetId(const char *value)
AWS_PINPOINT_API ImportJobResponse()
ImportJobResponse & WithJobStatus(const JobStatus &value)
void SetCreationDate(Aws::String &&value)
bool ApplicationIdHasBeenSet() const
int GetCompletedPieces() const
void SetFailures(Aws::Vector< Aws::String > &&value)
void SetApplicationId(const Aws::String &value)
int GetTotalFailures() const
ImportJobResponse & WithType(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFailures() const
int GetTotalProcessed() const
ImportJobResponse & WithId(Aws::String &&value)
const ImportJobResource & GetDefinition() const
ImportJobResponse & WithDefinition(const ImportJobResource &value)
int GetTotalPieces() const
AWS_PINPOINT_API ImportJobResponse(Aws::Utils::Json::JsonView jsonValue)
bool TotalProcessedHasBeenSet() const
void SetCompletedPieces(int value)
bool FailedPiecesHasBeenSet() const
ImportJobResponse & WithApplicationId(Aws::String &&value)
const Aws::String & GetApplicationId() const
bool TotalPiecesHasBeenSet() const
bool CompletionDateHasBeenSet() const
ImportJobResponse & WithDefinition(ImportJobResource &&value)
void SetTotalPieces(int value)
ImportJobResponse & WithCompletionDate(const Aws::String &value)
ImportJobResponse & AddFailures(Aws::String &&value)
ImportJobResponse & AddFailures(const char *value)
void SetCompletionDate(Aws::String &&value)
void SetTotalProcessed(int value)
int GetFailedPieces() const
ImportJobResponse & WithCompletionDate(Aws::String &&value)
void SetId(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
ImportJobResponse & WithType(const Aws::String &value)
ImportJobResponse & WithCompletedPieces(int value)
bool TotalFailuresHasBeenSet() const
ImportJobResponse & WithType(const char *value)
ImportJobResponse & WithTotalPieces(int value)
ImportJobResponse & WithId(const Aws::String &value)
ImportJobResponse & WithFailures(const Aws::Vector< Aws::String > &value)
void SetApplicationId(Aws::String &&value)
bool CompletedPiecesHasBeenSet() const
ImportJobResponse & WithCreationDate(Aws::String &&value)
ImportJobResponse & WithJobStatus(JobStatus &&value)
ImportJobResponse & WithTotalProcessed(int value)
void SetDefinition(ImportJobResource &&value)
void SetCompletionDate(const char *value)
ImportJobResponse & WithFailures(Aws::Vector< Aws::String > &&value)
ImportJobResponse & WithApplicationId(const char *value)
void SetFailedPieces(int value)
bool FailuresHasBeenSet() const
void SetJobStatus(const JobStatus &value)
ImportJobResponse & WithTotalFailures(int value)
void SetJobStatus(JobStatus &&value)
bool JobStatusHasBeenSet() const
ImportJobResponse & WithCreationDate(const Aws::String &value)
void SetFailures(const Aws::Vector< Aws::String > &value)
void SetTotalFailures(int value)
const Aws::String & GetCreationDate() const
const JobStatus & GetJobStatus() const
ImportJobResponse & WithId(const char *value)
ImportJobResponse & WithCompletionDate(const char *value)
ImportJobResponse & WithFailedPieces(int value)
ImportJobResponse & WithCreationDate(const char *value)
AWS_PINPOINT_API ImportJobResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationDateHasBeenSet() const
void SetCreationDate(const char *value)
const Aws::String & GetCompletionDate() 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