7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10#include <aws/personalize/model/DataSource.h>
11#include <aws/personalize/model/ImportMode.h>
22namespace Personalize {
48 template <
typename JobNameT = Aws::String>
50 m_jobNameHasBeenSet =
true;
51 m_jobName = std::forward<JobNameT>(value);
53 template <
typename JobNameT = Aws::String>
66 template <
typename DatasetImportJobArnT = Aws::String>
68 m_datasetImportJobArnHasBeenSet =
true;
69 m_datasetImportJobArn = std::forward<DatasetImportJobArnT>(value);
71 template <
typename DatasetImportJobArnT = Aws::String>
85 template <
typename DatasetArnT = Aws::String>
87 m_datasetArnHasBeenSet =
true;
88 m_datasetArn = std::forward<DatasetArnT>(value);
90 template <
typename DatasetArnT = Aws::String>
103 template <
typename DataSourceT = DataSource>
105 m_dataSourceHasBeenSet =
true;
106 m_dataSource = std::forward<DataSourceT>(value);
108 template <
typename DataSourceT = DataSource>
122 template <
typename RoleArnT = Aws::String>
124 m_roleArnHasBeenSet =
true;
125 m_roleArn = std::forward<RoleArnT>(value);
127 template <
typename RoleArnT = Aws::String>
142 template <
typename StatusT = Aws::String>
144 m_statusHasBeenSet =
true;
145 m_status = std::forward<StatusT>(value);
147 template <
typename StatusT = Aws::String>
160 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
162 m_creationDateTimeHasBeenSet =
true;
163 m_creationDateTime = std::forward<CreationDateTimeT>(value);
165 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
178 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
180 m_lastUpdatedDateTimeHasBeenSet =
true;
181 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
183 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
196 template <
typename FailureReasonT = Aws::String>
198 m_failureReasonHasBeenSet =
true;
199 m_failureReason = std::forward<FailureReasonT>(value);
201 template <
typename FailureReasonT = Aws::String>
215 m_importModeHasBeenSet =
true;
216 m_importMode = value;
231 m_publishAttributionMetricsToS3HasBeenSet =
true;
232 m_publishAttributionMetricsToS3 = value;
260 bool m_publishAttributionMetricsToS3{
false};
261 bool m_jobNameHasBeenSet =
false;
262 bool m_datasetImportJobArnHasBeenSet =
false;
263 bool m_datasetArnHasBeenSet =
false;
264 bool m_dataSourceHasBeenSet =
false;
265 bool m_roleArnHasBeenSet =
false;
266 bool m_statusHasBeenSet =
false;
267 bool m_creationDateTimeHasBeenSet =
false;
268 bool m_lastUpdatedDateTimeHasBeenSet =
false;
269 bool m_failureReasonHasBeenSet =
false;
270 bool m_importModeHasBeenSet =
false;
271 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