7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/DataSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/personalize/model/ImportMode.h>
56 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
70 inline void SetDatasetImportJobArn(
const char* value) { m_datasetImportJobArnHasBeenSet =
true; m_datasetImportJobArn.assign(value); }
85 inline void SetDatasetArn(
const char* value) { m_datasetArnHasBeenSet =
true; m_datasetArn.assign(value); }
112 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
128 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
166 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
196 bool m_jobNameHasBeenSet =
false;
199 bool m_datasetImportJobArnHasBeenSet =
false;
202 bool m_datasetArnHasBeenSet =
false;
205 bool m_dataSourceHasBeenSet =
false;
208 bool m_roleArnHasBeenSet =
false;
211 bool m_statusHasBeenSet =
false;
214 bool m_creationDateTimeHasBeenSet =
false;
217 bool m_lastUpdatedDateTimeHasBeenSet =
false;
220 bool m_failureReasonHasBeenSet =
false;
223 bool m_importModeHasBeenSet =
false;
225 bool m_publishAttributionMetricsToS3;
226 bool m_publishAttributionMetricsToS3HasBeenSet =
false;
DatasetImportJob & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API DatasetImportJob()
const Aws::String & GetDatasetImportJobArn() const
bool DatasetImportJobArnHasBeenSet() const
void SetStatus(const char *value)
DatasetImportJob & WithJobName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetImportJob & WithDataSource(DataSource &&value)
DatasetImportJob & WithFailureReason(const char *value)
const Aws::String & GetDatasetArn() const
void SetJobName(Aws::String &&value)
DatasetImportJob & WithCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatus() const
DatasetImportJob & WithRoleArn(const char *value)
void SetDataSource(DataSource &&value)
void SetDataSource(const DataSource &value)
void SetDatasetImportJobArn(const char *value)
bool GetPublishAttributionMetricsToS3() const
DatasetImportJob & WithDatasetArn(const char *value)
bool DataSourceHasBeenSet() const
DatasetImportJob & WithDatasetArn(const Aws::String &value)
bool DatasetArnHasBeenSet() const
DatasetImportJob & WithJobName(Aws::String &&value)
void SetDatasetArn(Aws::String &&value)
const ImportMode & GetImportMode() const
DatasetImportJob & WithDatasetImportJobArn(const char *value)
bool ImportModeHasBeenSet() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureReason(const char *value)
DatasetImportJob & WithStatus(Aws::String &&value)
bool PublishAttributionMetricsToS3HasBeenSet() const
DatasetImportJob & WithImportMode(const ImportMode &value)
AWS_PERSONALIZE_API DatasetImportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RoleArnHasBeenSet() const
const Aws::String & GetRoleArn() const
DatasetImportJob & WithStatus(const char *value)
void SetImportMode(const ImportMode &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
bool LastUpdatedDateTimeHasBeenSet() const
DatasetImportJob & WithRoleArn(const Aws::String &value)
const DataSource & GetDataSource() const
DatasetImportJob & WithDatasetImportJobArn(const Aws::String &value)
void SetDatasetArn(const char *value)
DatasetImportJob & WithPublishAttributionMetricsToS3(bool value)
void SetJobName(const Aws::String &value)
DatasetImportJob & WithDataSource(const DataSource &value)
DatasetImportJob & WithStatus(const Aws::String &value)
void SetDatasetImportJobArn(const Aws::String &value)
void SetStatus(const Aws::String &value)
const Aws::String & GetJobName() const
void SetImportMode(ImportMode &&value)
bool FailureReasonHasBeenSet() const
DatasetImportJob & WithJobName(const char *value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetPublishAttributionMetricsToS3(bool value)
AWS_PERSONALIZE_API DatasetImportJob(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetImportJob & WithFailureReason(Aws::String &&value)
void SetFailureReason(Aws::String &&value)
DatasetImportJob & WithRoleArn(Aws::String &&value)
DatasetImportJob & WithFailureReason(const Aws::String &value)
bool JobNameHasBeenSet() const
void SetJobName(const char *value)
void SetStatus(Aws::String &&value)
bool CreationDateTimeHasBeenSet() const
bool StatusHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetFailureReason(const Aws::String &value)
DatasetImportJob & WithDatasetArn(Aws::String &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetImportJob & WithDatasetImportJobArn(Aws::String &&value)
void SetDatasetImportJobArn(Aws::String &&value)
DatasetImportJob & WithImportMode(ImportMode &&value)
void SetDatasetArn(const Aws::String &value)
void SetRoleArn(const char *value)
DatasetImportJob & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetFailureReason() const
DatasetImportJob & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue