7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/personalize/model/DataSource.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/personalize/model/ImportMode.h>
13#include <aws/personalize/model/Tag.h>
49 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
63 inline void SetDatasetArn(
const char* value) { m_datasetArnHasBeenSet =
true; m_datasetArn.assign(value); }
90 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
144 bool m_jobNameHasBeenSet =
false;
147 bool m_datasetArnHasBeenSet =
false;
150 bool m_dataSourceHasBeenSet =
false;
153 bool m_roleArnHasBeenSet =
false;
156 bool m_tagsHasBeenSet =
false;
159 bool m_importModeHasBeenSet =
false;
161 bool m_publishAttributionMetricsToS3;
162 bool m_publishAttributionMetricsToS3HasBeenSet =
false;
CreateDatasetImportJobRequest & WithTags(Aws::Vector< Tag > &&value)
bool DatasetArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetJobName(const char *value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
void SetImportMode(const ImportMode &value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDatasetImportJobRequest & WithDatasetArn(const Aws::String &value)
void SetRoleArn(const char *value)
bool PublishAttributionMetricsToS3HasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetImportMode(ImportMode &&value)
CreateDatasetImportJobRequest & WithImportMode(const ImportMode &value)
CreateDatasetImportJobRequest & WithRoleArn(const Aws::String &value)
const Aws::String & GetJobName() const
CreateDatasetImportJobRequest & WithDataSource(DataSource &&value)
CreateDatasetImportJobRequest & WithJobName(const Aws::String &value)
bool JobNameHasBeenSet() const
void SetDatasetArn(const char *value)
void SetPublishAttributionMetricsToS3(bool value)
CreateDatasetImportJobRequest & WithPublishAttributionMetricsToS3(bool value)
CreateDatasetImportJobRequest & AddTags(const Tag &value)
void SetDataSource(const DataSource &value)
bool GetPublishAttributionMetricsToS3() const
AWS_PERSONALIZE_API CreateDatasetImportJobRequest()
CreateDatasetImportJobRequest & WithJobName(const char *value)
void SetJobName(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
void SetDatasetArn(const Aws::String &value)
bool ImportModeHasBeenSet() const
const DataSource & GetDataSource() const
void SetRoleArn(Aws::String &&value)
const Aws::String & GetDatasetArn() const
void SetDataSource(DataSource &&value)
CreateDatasetImportJobRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDatasetImportJobRequest & WithRoleArn(Aws::String &&value)
bool DataSourceHasBeenSet() const
const Aws::String & GetRoleArn() const
const ImportMode & GetImportMode() const
CreateDatasetImportJobRequest & AddTags(Tag &&value)
const Aws::Vector< Tag > & GetTags() const
void SetJobName(Aws::String &&value)
CreateDatasetImportJobRequest & WithImportMode(ImportMode &&value)
CreateDatasetImportJobRequest & WithDataSource(const DataSource &value)
CreateDatasetImportJobRequest & WithDatasetArn(Aws::String &&value)
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
CreateDatasetImportJobRequest & WithJobName(Aws::String &&value)
CreateDatasetImportJobRequest & WithRoleArn(const char *value)
bool RoleArnHasBeenSet() const
void SetDatasetArn(Aws::String &&value)
CreateDatasetImportJobRequest & WithDatasetArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector