AWS SDK for C++  1.9.66
AWS SDK for C++
CreateDatasetExportJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Personalize
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateDatasetExportJob"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetJobName() const{ return m_jobName; }
43 
47  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
48 
52  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
53 
57  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
58 
62  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
63 
67  inline CreateDatasetExportJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
68 
72  inline CreateDatasetExportJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
73 
77  inline CreateDatasetExportJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
78 
79 
84  inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
85 
90  inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
91 
96  inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
97 
102  inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
103 
108  inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
109 
114  inline CreateDatasetExportJobRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
115 
120  inline CreateDatasetExportJobRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
121 
126  inline CreateDatasetExportJobRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
127 
128 
136  inline const IngestionMode& GetIngestionMode() const{ return m_ingestionMode; }
137 
145  inline bool IngestionModeHasBeenSet() const { return m_ingestionModeHasBeenSet; }
146 
154  inline void SetIngestionMode(const IngestionMode& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = value; }
155 
163  inline void SetIngestionMode(IngestionMode&& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = std::move(value); }
164 
172  inline CreateDatasetExportJobRequest& WithIngestionMode(const IngestionMode& value) { SetIngestionMode(value); return *this;}
173 
181  inline CreateDatasetExportJobRequest& WithIngestionMode(IngestionMode&& value) { SetIngestionMode(std::move(value)); return *this;}
182 
183 
188  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
189 
194  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
195 
200  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
201 
206  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
207 
212  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
213 
218  inline CreateDatasetExportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
219 
224  inline CreateDatasetExportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
225 
230  inline CreateDatasetExportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
231 
232 
236  inline const DatasetExportJobOutput& GetJobOutput() const{ return m_jobOutput; }
237 
241  inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
242 
246  inline void SetJobOutput(const DatasetExportJobOutput& value) { m_jobOutputHasBeenSet = true; m_jobOutput = value; }
247 
251  inline void SetJobOutput(DatasetExportJobOutput&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::move(value); }
252 
256  inline CreateDatasetExportJobRequest& WithJobOutput(const DatasetExportJobOutput& value) { SetJobOutput(value); return *this;}
257 
261  inline CreateDatasetExportJobRequest& WithJobOutput(DatasetExportJobOutput&& value) { SetJobOutput(std::move(value)); return *this;}
262 
263  private:
264 
265  Aws::String m_jobName;
266  bool m_jobNameHasBeenSet;
267 
268  Aws::String m_datasetArn;
269  bool m_datasetArnHasBeenSet;
270 
271  IngestionMode m_ingestionMode;
272  bool m_ingestionModeHasBeenSet;
273 
274  Aws::String m_roleArn;
275  bool m_roleArnHasBeenSet;
276 
277  DatasetExportJobOutput m_jobOutput;
278  bool m_jobOutputHasBeenSet;
279  };
280 
281 } // namespace Model
282 } // namespace Personalize
283 } // namespace Aws
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetJobName
void SetJobName(const char *value)
Definition: CreateDatasetExportJobRequest.h:62
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetDatasetArn
void SetDatasetArn(const Aws::String &value)
Definition: CreateDatasetExportJobRequest.h:96
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateDatasetExportJobRequest.h:212
PersonalizeRequest.h
Aws::Personalize::Model::IngestionMode
IngestionMode
Definition: IngestionMode.h:17
Aws::Personalize::Model::CreateDatasetExportJobRequest
Definition: CreateDatasetExportJobRequest.h:24
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithJobOutput
CreateDatasetExportJobRequest & WithJobOutput(const DatasetExportJobOutput &value)
Definition: CreateDatasetExportJobRequest.h:256
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateDatasetExportJobRequest.h:206
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithJobOutput
CreateDatasetExportJobRequest & WithJobOutput(DatasetExportJobOutput &&value)
Definition: CreateDatasetExportJobRequest.h:261
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetJobName
void SetJobName(Aws::String &&value)
Definition: CreateDatasetExportJobRequest.h:57
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithRoleArn
CreateDatasetExportJobRequest & WithRoleArn(const char *value)
Definition: CreateDatasetExportJobRequest.h:230
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithIngestionMode
CreateDatasetExportJobRequest & WithIngestionMode(IngestionMode &&value)
Definition: CreateDatasetExportJobRequest.h:181
Aws::Personalize::Model::CreateDatasetExportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDatasetExportJobRequest.h:32
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithJobName
CreateDatasetExportJobRequest & WithJobName(const Aws::String &value)
Definition: CreateDatasetExportJobRequest.h:67
IngestionMode.h
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithRoleArn
CreateDatasetExportJobRequest & WithRoleArn(Aws::String &&value)
Definition: CreateDatasetExportJobRequest.h:224
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateDatasetExportJobRequest::GetJobOutput
const DatasetExportJobOutput & GetJobOutput() const
Definition: CreateDatasetExportJobRequest.h:236
Aws::Personalize::Model::CreateDatasetExportJobRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateDatasetExportJobRequest.h:194
DatasetExportJobOutput.h
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetDatasetArn
void SetDatasetArn(Aws::String &&value)
Definition: CreateDatasetExportJobRequest.h:102
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithRoleArn
CreateDatasetExportJobRequest & WithRoleArn(const Aws::String &value)
Definition: CreateDatasetExportJobRequest.h:218
Aws::Personalize::Model::DatasetExportJobOutput
Definition: DatasetExportJobOutput.h:33
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetJobOutput
void SetJobOutput(DatasetExportJobOutput &&value)
Definition: CreateDatasetExportJobRequest.h:251
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetJobOutput
void SetJobOutput(const DatasetExportJobOutput &value)
Definition: CreateDatasetExportJobRequest.h:246
Aws::Personalize::Model::CreateDatasetExportJobRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateDatasetExportJobRequest.h:188
Aws::Personalize::Model::CreateDatasetExportJobRequest::GetIngestionMode
const IngestionMode & GetIngestionMode() const
Definition: CreateDatasetExportJobRequest.h:136
AWSString.h
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetIngestionMode
void SetIngestionMode(IngestionMode &&value)
Definition: CreateDatasetExportJobRequest.h:163
Aws::Personalize::PersonalizeRequest
Definition: PersonalizeRequest.h:17
Aws::Personalize::Model::CreateDatasetExportJobRequest::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: CreateDatasetExportJobRequest.h:47
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithDatasetArn
CreateDatasetExportJobRequest & WithDatasetArn(const char *value)
Definition: CreateDatasetExportJobRequest.h:126
Aws::Personalize::Model::CreateDatasetExportJobRequest::GetDatasetArn
const Aws::String & GetDatasetArn() const
Definition: CreateDatasetExportJobRequest.h:84
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetDatasetArn
void SetDatasetArn(const char *value)
Definition: CreateDatasetExportJobRequest.h:108
Aws::Personalize::Model::CreateDatasetExportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Personalize::Model::CreateDatasetExportJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Personalize::Model::CreateDatasetExportJobRequest::GetJobName
const Aws::String & GetJobName() const
Definition: CreateDatasetExportJobRequest.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithJobName
CreateDatasetExportJobRequest & WithJobName(Aws::String &&value)
Definition: CreateDatasetExportJobRequest.h:72
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithIngestionMode
CreateDatasetExportJobRequest & WithIngestionMode(const IngestionMode &value)
Definition: CreateDatasetExportJobRequest.h:172
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithDatasetArn
CreateDatasetExportJobRequest & WithDatasetArn(Aws::String &&value)
Definition: CreateDatasetExportJobRequest.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateDatasetExportJobRequest::JobOutputHasBeenSet
bool JobOutputHasBeenSet() const
Definition: CreateDatasetExportJobRequest.h:241
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetIngestionMode
void SetIngestionMode(const IngestionMode &value)
Definition: CreateDatasetExportJobRequest.h:154
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateDatasetExportJobRequest.h:200
Aws::Personalize::Model::CreateDatasetExportJobRequest::CreateDatasetExportJobRequest
CreateDatasetExportJobRequest()
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithDatasetArn
CreateDatasetExportJobRequest & WithDatasetArn(const Aws::String &value)
Definition: CreateDatasetExportJobRequest.h:114
Aws::Personalize::Model::CreateDatasetExportJobRequest::IngestionModeHasBeenSet
bool IngestionModeHasBeenSet() const
Definition: CreateDatasetExportJobRequest.h:145
Aws::Personalize::Model::CreateDatasetExportJobRequest::DatasetArnHasBeenSet
bool DatasetArnHasBeenSet() const
Definition: CreateDatasetExportJobRequest.h:90
Aws::Personalize::Model::CreateDatasetExportJobRequest::WithJobName
CreateDatasetExportJobRequest & WithJobName(const char *value)
Definition: CreateDatasetExportJobRequest.h:77
Aws::Personalize::Model::CreateDatasetExportJobRequest::SetJobName
void SetJobName(const Aws::String &value)
Definition: CreateDatasetExportJobRequest.h:52