AWS SDK for C++  1.9.124
AWS SDK for C++
CreateDatasetImportJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <aws/forecast/model/Tag.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace ForecastService
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateDatasetImportJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
46  inline const Aws::String& GetDatasetImportJobName() const{ return m_datasetImportJobName; }
47 
54  inline bool DatasetImportJobNameHasBeenSet() const { return m_datasetImportJobNameHasBeenSet; }
55 
62  inline void SetDatasetImportJobName(const Aws::String& value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName = value; }
63 
70  inline void SetDatasetImportJobName(Aws::String&& value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName = std::move(value); }
71 
78  inline void SetDatasetImportJobName(const char* value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName.assign(value); }
79 
86  inline CreateDatasetImportJobRequest& WithDatasetImportJobName(const Aws::String& value) { SetDatasetImportJobName(value); return *this;}
87 
94  inline CreateDatasetImportJobRequest& WithDatasetImportJobName(Aws::String&& value) { SetDatasetImportJobName(std::move(value)); return *this;}
95 
102  inline CreateDatasetImportJobRequest& WithDatasetImportJobName(const char* value) { SetDatasetImportJobName(value); return *this;}
103 
104 
109  inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
110 
115  inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
116 
121  inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
122 
127  inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
128 
133  inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
134 
139  inline CreateDatasetImportJobRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
140 
145  inline CreateDatasetImportJobRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
146 
151  inline CreateDatasetImportJobRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
152 
153 
164  inline const DataSource& GetDataSource() const{ return m_dataSource; }
165 
176  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
177 
188  inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
189 
200  inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
201 
212  inline CreateDatasetImportJobRequest& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
213 
224  inline CreateDatasetImportJobRequest& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
225 
226 
236  inline const Aws::String& GetTimestampFormat() const{ return m_timestampFormat; }
237 
247  inline bool TimestampFormatHasBeenSet() const { return m_timestampFormatHasBeenSet; }
248 
258  inline void SetTimestampFormat(const Aws::String& value) { m_timestampFormatHasBeenSet = true; m_timestampFormat = value; }
259 
269  inline void SetTimestampFormat(Aws::String&& value) { m_timestampFormatHasBeenSet = true; m_timestampFormat = std::move(value); }
270 
280  inline void SetTimestampFormat(const char* value) { m_timestampFormatHasBeenSet = true; m_timestampFormat.assign(value); }
281 
291  inline CreateDatasetImportJobRequest& WithTimestampFormat(const Aws::String& value) { SetTimestampFormat(value); return *this;}
292 
302  inline CreateDatasetImportJobRequest& WithTimestampFormat(Aws::String&& value) { SetTimestampFormat(std::move(value)); return *this;}
303 
313  inline CreateDatasetImportJobRequest& WithTimestampFormat(const char* value) { SetTimestampFormat(value); return *this;}
314 
315 
323  inline const Aws::String& GetTimeZone() const{ return m_timeZone; }
324 
332  inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
333 
341  inline void SetTimeZone(const Aws::String& value) { m_timeZoneHasBeenSet = true; m_timeZone = value; }
342 
350  inline void SetTimeZone(Aws::String&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::move(value); }
351 
359  inline void SetTimeZone(const char* value) { m_timeZoneHasBeenSet = true; m_timeZone.assign(value); }
360 
368  inline CreateDatasetImportJobRequest& WithTimeZone(const Aws::String& value) { SetTimeZone(value); return *this;}
369 
377  inline CreateDatasetImportJobRequest& WithTimeZone(Aws::String&& value) { SetTimeZone(std::move(value)); return *this;}
378 
386  inline CreateDatasetImportJobRequest& WithTimeZone(const char* value) { SetTimeZone(value); return *this;}
387 
388 
394  inline bool GetUseGeolocationForTimeZone() const{ return m_useGeolocationForTimeZone; }
395 
401  inline bool UseGeolocationForTimeZoneHasBeenSet() const { return m_useGeolocationForTimeZoneHasBeenSet; }
402 
408  inline void SetUseGeolocationForTimeZone(bool value) { m_useGeolocationForTimeZoneHasBeenSet = true; m_useGeolocationForTimeZone = value; }
409 
415  inline CreateDatasetImportJobRequest& WithUseGeolocationForTimeZone(bool value) { SetUseGeolocationForTimeZone(value); return *this;}
416 
417 
425  inline const Aws::String& GetGeolocationFormat() const{ return m_geolocationFormat; }
426 
434  inline bool GeolocationFormatHasBeenSet() const { return m_geolocationFormatHasBeenSet; }
435 
443  inline void SetGeolocationFormat(const Aws::String& value) { m_geolocationFormatHasBeenSet = true; m_geolocationFormat = value; }
444 
452  inline void SetGeolocationFormat(Aws::String&& value) { m_geolocationFormatHasBeenSet = true; m_geolocationFormat = std::move(value); }
453 
461  inline void SetGeolocationFormat(const char* value) { m_geolocationFormatHasBeenSet = true; m_geolocationFormat.assign(value); }
462 
470  inline CreateDatasetImportJobRequest& WithGeolocationFormat(const Aws::String& value) { SetGeolocationFormat(value); return *this;}
471 
479  inline CreateDatasetImportJobRequest& WithGeolocationFormat(Aws::String&& value) { SetGeolocationFormat(std::move(value)); return *this;}
480 
488  inline CreateDatasetImportJobRequest& WithGeolocationFormat(const char* value) { SetGeolocationFormat(value); return *this;}
489 
490 
512  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
513 
535  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
536 
558  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
559 
581  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
582 
604  inline CreateDatasetImportJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
605 
627  inline CreateDatasetImportJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
628 
650  inline CreateDatasetImportJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
651 
673  inline CreateDatasetImportJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
674 
675  private:
676 
677  Aws::String m_datasetImportJobName;
678  bool m_datasetImportJobNameHasBeenSet;
679 
680  Aws::String m_datasetArn;
681  bool m_datasetArnHasBeenSet;
682 
683  DataSource m_dataSource;
684  bool m_dataSourceHasBeenSet;
685 
686  Aws::String m_timestampFormat;
687  bool m_timestampFormatHasBeenSet;
688 
689  Aws::String m_timeZone;
690  bool m_timeZoneHasBeenSet;
691 
692  bool m_useGeolocationForTimeZone;
693  bool m_useGeolocationForTimeZoneHasBeenSet;
694 
695  Aws::String m_geolocationFormat;
696  bool m_geolocationFormatHasBeenSet;
697 
698  Aws::Vector<Tag> m_tags;
699  bool m_tagsHasBeenSet;
700  };
701 
702 } // namespace Model
703 } // namespace ForecastService
704 } // namespace Aws
Aws::ForecastService::Model::CreateDatasetImportJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:535
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTimestampFormat
CreateDatasetImportJobRequest & WithTimestampFormat(const char *value)
Definition: CreateDatasetImportJobRequest.h:313
Aws::ForecastService::Model::CreateDatasetImportJobRequest::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:176
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDataSource
void SetDataSource(DataSource &&value)
Definition: CreateDatasetImportJobRequest.h:200
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTimeZone
CreateDatasetImportJobRequest & WithTimeZone(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:377
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTimestampFormat
void SetTimestampFormat(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:258
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDataSource
void SetDataSource(const DataSource &value)
Definition: CreateDatasetImportJobRequest.h:188
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithUseGeolocationForTimeZone
CreateDatasetImportJobRequest & WithUseGeolocationForTimeZone(bool value)
Definition: CreateDatasetImportJobRequest.h:415
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDatasetImportJobRequest.h:33
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTimestampFormat
void SetTimestampFormat(const char *value)
Definition: CreateDatasetImportJobRequest.h:280
Aws::ForecastService::Model::CreateDatasetImportJobRequest::UseGeolocationForTimeZoneHasBeenSet
bool UseGeolocationForTimeZoneHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:401
ForecastService_EXPORTS.h
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetDatasetArn
const Aws::String & GetDatasetArn() const
Definition: CreateDatasetImportJobRequest.h:109
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTimeZone
void SetTimeZone(const char *value)
Definition: CreateDatasetImportJobRequest.h:359
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetDatasetImportJobName
const Aws::String & GetDatasetImportJobName() const
Definition: CreateDatasetImportJobRequest.h:46
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTimeZone
void SetTimeZone(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:341
Aws::ForecastService::Model::CreateDatasetImportJobRequest::DatasetImportJobNameHasBeenSet
bool DatasetImportJobNameHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetGeolocationFormat
const Aws::String & GetGeolocationFormat() const
Definition: CreateDatasetImportJobRequest.h:425
AWSVector.h
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDatasetArn
CreateDatasetImportJobRequest & WithDatasetArn(const char *value)
Definition: CreateDatasetImportJobRequest.h:151
Aws::ForecastService::Model::CreateDatasetImportJobRequest
Definition: CreateDatasetImportJobRequest.h:25
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDatasetArn
void SetDatasetArn(const char *value)
Definition: CreateDatasetImportJobRequest.h:133
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDatasetImportJobRequest.h:512
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDatasetImportJobName
void SetDatasetImportJobName(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:62
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDatasetImportJobName
CreateDatasetImportJobRequest & WithDatasetImportJobName(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:86
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GeolocationFormatHasBeenSet
bool GeolocationFormatHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:434
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithGeolocationFormat
CreateDatasetImportJobRequest & WithGeolocationFormat(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:479
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDatasetImportJobRequest.h:558
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDatasetImportJobName
void SetDatasetImportJobName(const char *value)
Definition: CreateDatasetImportJobRequest.h:78
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTimeZone
CreateDatasetImportJobRequest & WithTimeZone(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:368
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDatasetArn
CreateDatasetImportJobRequest & WithDatasetArn(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:145
ForecastServiceRequest.h
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetDataSource
const DataSource & GetDataSource() const
Definition: CreateDatasetImportJobRequest.h:164
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTags
CreateDatasetImportJobRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDatasetImportJobRequest.h:604
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDatasetImportJobName
CreateDatasetImportJobRequest & WithDatasetImportJobName(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:94
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTimeZone
void SetTimeZone(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:350
AWSString.h
Aws::ForecastService::Model::CreateDatasetImportJobRequest::DatasetArnHasBeenSet
bool DatasetArnHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:115
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDatasetArn
void SetDatasetArn(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:127
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDatasetArn
CreateDatasetImportJobRequest & WithDatasetArn(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:139
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetUseGeolocationForTimeZone
void SetUseGeolocationForTimeZone(bool value)
Definition: CreateDatasetImportJobRequest.h:408
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetGeolocationFormat
void SetGeolocationFormat(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:443
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetGeolocationFormat
void SetGeolocationFormat(const char *value)
Definition: CreateDatasetImportJobRequest.h:461
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetUseGeolocationForTimeZone
bool GetUseGeolocationForTimeZone() const
Definition: CreateDatasetImportJobRequest.h:394
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDatasetImportJobName
void SetDatasetImportJobName(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:70
Aws::ForecastService::Model::CreateDatasetImportJobRequest::AddTags
CreateDatasetImportJobRequest & AddTags(Tag &&value)
Definition: CreateDatasetImportJobRequest.h:673
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithGeolocationFormat
CreateDatasetImportJobRequest & WithGeolocationFormat(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:470
Tag.h
Aws::ForecastService::Model::DataSource
Definition: DataSource.h:35
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetTimeZone
const Aws::String & GetTimeZone() const
Definition: CreateDatasetImportJobRequest.h:323
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDataSource
CreateDatasetImportJobRequest & WithDataSource(const DataSource &value)
Definition: CreateDatasetImportJobRequest.h:212
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDataSource
CreateDatasetImportJobRequest & WithDataSource(DataSource &&value)
Definition: CreateDatasetImportJobRequest.h:224
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws::ForecastService::Model::CreateDatasetImportJobRequest::TimestampFormatHasBeenSet
bool TimestampFormatHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:247
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDatasetImportJobRequest.h:581
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetTimestampFormat
const Aws::String & GetTimestampFormat() const
Definition: CreateDatasetImportJobRequest.h:236
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTimestampFormat
CreateDatasetImportJobRequest & WithTimestampFormat(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:302
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTimeZone
CreateDatasetImportJobRequest & WithTimeZone(const char *value)
Definition: CreateDatasetImportJobRequest.h:386
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ForecastService::Model::Tag
Definition: Tag.h:50
Aws::ForecastService::Model::CreateDatasetImportJobRequest::AddTags
CreateDatasetImportJobRequest & AddTags(const Tag &value)
Definition: CreateDatasetImportJobRequest.h:650
Aws::ForecastService::Model::CreateDatasetImportJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ForecastService::Model::CreateDatasetImportJobRequest::TimeZoneHasBeenSet
bool TimeZoneHasBeenSet() const
Definition: CreateDatasetImportJobRequest.h:332
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetGeolocationFormat
void SetGeolocationFormat(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:452
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithGeolocationFormat
CreateDatasetImportJobRequest & WithGeolocationFormat(const char *value)
Definition: CreateDatasetImportJobRequest.h:488
DataSource.h
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithDatasetImportJobName
CreateDatasetImportJobRequest & WithDatasetImportJobName(const char *value)
Definition: CreateDatasetImportJobRequest.h:102
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetTimestampFormat
void SetTimestampFormat(Aws::String &&value)
Definition: CreateDatasetImportJobRequest.h:269
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTimestampFormat
CreateDatasetImportJobRequest & WithTimestampFormat(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:291
Aws::ForecastService::Model::CreateDatasetImportJobRequest::CreateDatasetImportJobRequest
CreateDatasetImportJobRequest()
Aws::ForecastService::Model::CreateDatasetImportJobRequest::WithTags
CreateDatasetImportJobRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDatasetImportJobRequest.h:627
Aws::ForecastService::Model::CreateDatasetImportJobRequest::SetDatasetArn
void SetDatasetArn(const Aws::String &value)
Definition: CreateDatasetImportJobRequest.h:121