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/ImportJobResource.h>
11#include <aws/pinpoint/model/JobStatus.h>
47 template <
typename ApplicationIdT = Aws::String>
49 m_applicationIdHasBeenSet =
true;
50 m_applicationId = std::forward<ApplicationIdT>(value);
52 template <
typename ApplicationIdT = Aws::String>
67 m_completedPiecesHasBeenSet =
true;
68 m_completedPieces = value;
82 template <
typename CompletionDateT = Aws::String>
84 m_completionDateHasBeenSet =
true;
85 m_completionDate = std::forward<CompletionDateT>(value);
87 template <
typename CompletionDateT = Aws::String>
100 template <
typename CreationDateT = Aws::String>
102 m_creationDateHasBeenSet =
true;
103 m_creationDate = std::forward<CreationDateT>(value);
105 template <
typename CreationDateT = Aws::String>
118 template <
typename DefinitionT = ImportJobResource>
120 m_definitionHasBeenSet =
true;
121 m_definition = std::forward<DefinitionT>(value);
123 template <
typename DefinitionT = ImportJobResource>
138 m_failedPiecesHasBeenSet =
true;
139 m_failedPieces = value;
154 template <
typename FailuresT = Aws::Vector<Aws::String>>
156 m_failuresHasBeenSet =
true;
157 m_failures = std::forward<FailuresT>(value);
159 template <
typename FailuresT = Aws::Vector<Aws::String>>
164 template <
typename FailuresT = Aws::String>
166 m_failuresHasBeenSet =
true;
167 m_failures.emplace_back(std::forward<FailuresT>(value));
178 template <
typename IdT = Aws::String>
180 m_idHasBeenSet =
true;
181 m_id = std::forward<IdT>(value);
183 template <
typename IdT = Aws::String>
185 SetId(std::forward<IdT>(value));
198 m_jobStatusHasBeenSet =
true;
216 m_totalFailuresHasBeenSet =
true;
217 m_totalFailures = value;
234 m_totalPiecesHasBeenSet =
true;
235 m_totalPieces = value;
251 m_totalProcessedHasBeenSet =
true;
252 m_totalProcessed = value;
266 template <
typename TypeT = Aws::String>
268 m_typeHasBeenSet =
true;
269 m_type = std::forward<TypeT>(value);
271 template <
typename TypeT = Aws::String>
273 SetType(std::forward<TypeT>(value));
279 bool m_applicationIdHasBeenSet =
false;
281 int m_completedPieces{0};
282 bool m_completedPiecesHasBeenSet =
false;
285 bool m_completionDateHasBeenSet =
false;
288 bool m_creationDateHasBeenSet =
false;
290 ImportJobResource m_definition;
291 bool m_definitionHasBeenSet =
false;
293 int m_failedPieces{0};
294 bool m_failedPiecesHasBeenSet =
false;
297 bool m_failuresHasBeenSet =
false;
300 bool m_idHasBeenSet =
false;
303 bool m_jobStatusHasBeenSet =
false;
305 int m_totalFailures{0};
306 bool m_totalFailuresHasBeenSet =
false;
308 int m_totalPieces{0};
309 bool m_totalPiecesHasBeenSet =
false;
311 int m_totalProcessed{0};
312 bool m_totalProcessedHasBeenSet =
false;
315 bool m_typeHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetDefinition(DefinitionT &&value)
void SetType(TypeT &&value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
bool DefinitionHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetType() const
bool ApplicationIdHasBeenSet() const
int GetCompletedPieces() const
ImportJobResponse & WithFailures(FailuresT &&value)
int GetTotalFailures() const
const Aws::Vector< Aws::String > & GetFailures() const
ImportJobResponse & WithJobStatus(JobStatus value)
int GetTotalProcessed() const
const ImportJobResource & GetDefinition() const
int GetTotalPieces() const
AWS_PINPOINT_API ImportJobResponse(Aws::Utils::Json::JsonView jsonValue)
bool TotalProcessedHasBeenSet() const
void SetCompletedPieces(int value)
ImportJobResponse & WithCompletionDate(CompletionDateT &&value)
bool FailedPiecesHasBeenSet() const
ImportJobResponse & WithId(IdT &&value)
const Aws::String & GetApplicationId() const
bool TotalPiecesHasBeenSet() const
bool CompletionDateHasBeenSet() const
ImportJobResponse & AddFailures(FailuresT &&value)
void SetTotalPieces(int value)
void SetCompletionDate(CompletionDateT &&value)
JobStatus GetJobStatus() const
AWS_PINPOINT_API ImportJobResponse()=default
void SetTotalProcessed(int value)
int GetFailedPieces() const
ImportJobResponse & WithCompletedPieces(int value)
bool TotalFailuresHasBeenSet() const
ImportJobResponse & WithTotalPieces(int value)
ImportJobResponse & WithType(TypeT &&value)
void SetJobStatus(JobStatus value)
void SetCreationDate(CreationDateT &&value)
bool CompletedPiecesHasBeenSet() const
ImportJobResponse & WithTotalProcessed(int value)
void SetFailedPieces(int value)
bool FailuresHasBeenSet() const
ImportJobResponse & WithDefinition(DefinitionT &&value)
ImportJobResponse & WithTotalFailures(int value)
bool JobStatusHasBeenSet() const
void SetTotalFailures(int value)
const Aws::String & GetCreationDate() const
void SetFailures(FailuresT &&value)
ImportJobResponse & WithFailedPieces(int value)
AWS_PINPOINT_API ImportJobResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationDateHasBeenSet() const
void SetApplicationId(ApplicationIdT &&value)
ImportJobResponse & WithCreationDate(CreationDateT &&value)
const Aws::String & GetCompletionDate() const
ImportJobResponse & WithApplicationId(ApplicationIdT &&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