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>
54 template<
typename JobNameT = Aws::String>
55 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
56 template<
typename JobNameT = Aws::String>
66 template<
typename DatasetImportJobArnT = Aws::String>
67 void SetDatasetImportJobArn(DatasetImportJobArnT&& value) { m_datasetImportJobArnHasBeenSet =
true; m_datasetImportJobArn = std::forward<DatasetImportJobArnT>(value); }
68 template<
typename DatasetImportJobArnT = Aws::String>
79 template<
typename DatasetArnT = Aws::String>
80 void SetDatasetArn(DatasetArnT&& value) { m_datasetArnHasBeenSet =
true; m_datasetArn = std::forward<DatasetArnT>(value); }
81 template<
typename DatasetArnT = Aws::String>
91 template<
typename DataSourceT = DataSource>
92 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet =
true; m_dataSource = std::forward<DataSourceT>(value); }
93 template<
typename DataSourceT = DataSource>
104 template<
typename RoleArnT = Aws::String>
105 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
106 template<
typename RoleArnT = Aws::String>
118 template<
typename StatusT = Aws::String>
119 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
120 template<
typename StatusT = Aws::String>
130 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
131 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
132 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
142 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
143 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
144 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
154 template<
typename FailureReasonT = Aws::String>
155 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
156 template<
typename FailureReasonT = Aws::String>
182 bool m_jobNameHasBeenSet =
false;
185 bool m_datasetImportJobArnHasBeenSet =
false;
188 bool m_datasetArnHasBeenSet =
false;
191 bool m_dataSourceHasBeenSet =
false;
194 bool m_roleArnHasBeenSet =
false;
197 bool m_statusHasBeenSet =
false;
200 bool m_creationDateTimeHasBeenSet =
false;
203 bool m_lastUpdatedDateTimeHasBeenSet =
false;
206 bool m_failureReasonHasBeenSet =
false;
209 bool m_importModeHasBeenSet =
false;
211 bool m_publishAttributionMetricsToS3{
false};
212 bool m_publishAttributionMetricsToS3HasBeenSet =
false;
const Aws::String & GetDatasetImportJobArn() const
bool DatasetImportJobArnHasBeenSet() const
void SetDatasetImportJobArn(DatasetImportJobArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetDatasetArn() const
const Aws::String & GetStatus() const
DatasetImportJob & WithJobName(JobNameT &&value)
bool GetPublishAttributionMetricsToS3() const
DatasetImportJob & WithDatasetArn(DatasetArnT &&value)
bool DataSourceHasBeenSet() const
bool DatasetArnHasBeenSet() const
bool ImportModeHasBeenSet() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetImportJob & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool PublishAttributionMetricsToS3HasBeenSet() const
AWS_PERSONALIZE_API DatasetImportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RoleArnHasBeenSet() const
const Aws::String & GetRoleArn() const
DatasetImportJob & WithFailureReason(FailureReasonT &&value)
bool LastUpdatedDateTimeHasBeenSet() const
const DataSource & GetDataSource() const
void SetDatasetArn(DatasetArnT &&value)
DatasetImportJob & WithPublishAttributionMetricsToS3(bool value)
DatasetImportJob & WithDatasetImportJobArn(DatasetImportJobArnT &&value)
void SetDataSource(DataSourceT &&value)
void SetImportMode(ImportMode value)
void SetStatus(StatusT &&value)
const Aws::String & GetJobName() const
DatasetImportJob & WithImportMode(ImportMode value)
DatasetImportJob & WithDataSource(DataSourceT &&value)
bool FailureReasonHasBeenSet() const
AWS_PERSONALIZE_API DatasetImportJob()=default
void SetFailureReason(FailureReasonT &&value)
void SetPublishAttributionMetricsToS3(bool value)
AWS_PERSONALIZE_API DatasetImportJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetImportJob & WithStatus(StatusT &&value)
bool JobNameHasBeenSet() const
bool CreationDateTimeHasBeenSet() const
bool StatusHasBeenSet() const
DatasetImportJob & WithCreationDateTime(CreationDateTimeT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DatasetImportJob & WithRoleArn(RoleArnT &&value)
ImportMode GetImportMode() const
void SetJobName(JobNameT &&value)
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetFailureReason() const
void SetCreationDateTime(CreationDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue