AWS SDK for C++  1.9.129
AWS SDK for C++
CreateForecastExportJobRequest.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 "CreateForecastExportJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetForecastExportJobName() const{ return m_forecastExportJobName; }
44 
48  inline bool ForecastExportJobNameHasBeenSet() const { return m_forecastExportJobNameHasBeenSet; }
49 
53  inline void SetForecastExportJobName(const Aws::String& value) { m_forecastExportJobNameHasBeenSet = true; m_forecastExportJobName = value; }
54 
58  inline void SetForecastExportJobName(Aws::String&& value) { m_forecastExportJobNameHasBeenSet = true; m_forecastExportJobName = std::move(value); }
59 
63  inline void SetForecastExportJobName(const char* value) { m_forecastExportJobNameHasBeenSet = true; m_forecastExportJobName.assign(value); }
64 
68  inline CreateForecastExportJobRequest& WithForecastExportJobName(const Aws::String& value) { SetForecastExportJobName(value); return *this;}
69 
73  inline CreateForecastExportJobRequest& WithForecastExportJobName(Aws::String&& value) { SetForecastExportJobName(std::move(value)); return *this;}
74 
78  inline CreateForecastExportJobRequest& WithForecastExportJobName(const char* value) { SetForecastExportJobName(value); return *this;}
79 
80 
84  inline const Aws::String& GetForecastArn() const{ return m_forecastArn; }
85 
89  inline bool ForecastArnHasBeenSet() const { return m_forecastArnHasBeenSet; }
90 
94  inline void SetForecastArn(const Aws::String& value) { m_forecastArnHasBeenSet = true; m_forecastArn = value; }
95 
99  inline void SetForecastArn(Aws::String&& value) { m_forecastArnHasBeenSet = true; m_forecastArn = std::move(value); }
100 
104  inline void SetForecastArn(const char* value) { m_forecastArnHasBeenSet = true; m_forecastArn.assign(value); }
105 
109  inline CreateForecastExportJobRequest& WithForecastArn(const Aws::String& value) { SetForecastArn(value); return *this;}
110 
114  inline CreateForecastExportJobRequest& WithForecastArn(Aws::String&& value) { SetForecastArn(std::move(value)); return *this;}
115 
119  inline CreateForecastExportJobRequest& WithForecastArn(const char* value) { SetForecastArn(value); return *this;}
120 
121 
130  inline const DataDestination& GetDestination() const{ return m_destination; }
131 
140  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
141 
150  inline void SetDestination(const DataDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
151 
160  inline void SetDestination(DataDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
161 
170  inline CreateForecastExportJobRequest& WithDestination(const DataDestination& value) { SetDestination(value); return *this;}
171 
180  inline CreateForecastExportJobRequest& WithDestination(DataDestination&& value) { SetDestination(std::move(value)); return *this;}
181 
182 
204  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
205 
227  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
228 
250  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
251 
273  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
274 
296  inline CreateForecastExportJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
297 
319  inline CreateForecastExportJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
320 
342  inline CreateForecastExportJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
343 
365  inline CreateForecastExportJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
366 
367  private:
368 
369  Aws::String m_forecastExportJobName;
370  bool m_forecastExportJobNameHasBeenSet;
371 
372  Aws::String m_forecastArn;
373  bool m_forecastArnHasBeenSet;
374 
375  DataDestination m_destination;
376  bool m_destinationHasBeenSet;
377 
378  Aws::Vector<Tag> m_tags;
379  bool m_tagsHasBeenSet;
380  };
381 
382 } // namespace Model
383 } // namespace ForecastService
384 } // namespace Aws
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithForecastExportJobName
CreateForecastExportJobRequest & WithForecastExportJobName(const char *value)
Definition: CreateForecastExportJobRequest.h:78
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithForecastArn
CreateForecastExportJobRequest & WithForecastArn(const char *value)
Definition: CreateForecastExportJobRequest.h:119
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateForecastExportJobRequest.h:273
Aws::ForecastService::Model::CreateForecastExportJobRequest::ForecastExportJobNameHasBeenSet
bool ForecastExportJobNameHasBeenSet() const
Definition: CreateForecastExportJobRequest.h:48
Aws::ForecastService::Model::CreateForecastExportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateForecastExportJobRequest.h:33
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithForecastArn
CreateForecastExportJobRequest & WithForecastArn(Aws::String &&value)
Definition: CreateForecastExportJobRequest.h:114
Aws::ForecastService::Model::CreateForecastExportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithTags
CreateForecastExportJobRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateForecastExportJobRequest.h:296
ForecastService_EXPORTS.h
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetForecastExportJobName
void SetForecastExportJobName(Aws::String &&value)
Definition: CreateForecastExportJobRequest.h:58
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithTags
CreateForecastExportJobRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateForecastExportJobRequest.h:319
Aws::ForecastService::Model::CreateForecastExportJobRequest
Definition: CreateForecastExportJobRequest.h:25
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetForecastExportJobName
void SetForecastExportJobName(const Aws::String &value)
Definition: CreateForecastExportJobRequest.h:53
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ForecastService::Model::CreateForecastExportJobRequest::ForecastArnHasBeenSet
bool ForecastArnHasBeenSet() const
Definition: CreateForecastExportJobRequest.h:89
Aws::ForecastService::Model::DataDestination
Definition: DataDestination.h:35
Aws::ForecastService::Model::CreateForecastExportJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateForecastExportJobRequest.h:227
AWSVector.h
Aws::ForecastService::Model::CreateForecastExportJobRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateForecastExportJobRequest.h:204
Aws::ForecastService::Model::CreateForecastExportJobRequest::GetForecastArn
const Aws::String & GetForecastArn() const
Definition: CreateForecastExportJobRequest.h:84
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithForecastExportJobName
CreateForecastExportJobRequest & WithForecastExportJobName(Aws::String &&value)
Definition: CreateForecastExportJobRequest.h:73
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateForecastExportJobRequest.h:250
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithForecastExportJobName
CreateForecastExportJobRequest & WithForecastExportJobName(const Aws::String &value)
Definition: CreateForecastExportJobRequest.h:68
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithDestination
CreateForecastExportJobRequest & WithDestination(DataDestination &&value)
Definition: CreateForecastExportJobRequest.h:180
DataDestination.h
Aws::ForecastService::Model::CreateForecastExportJobRequest::GetForecastExportJobName
const Aws::String & GetForecastExportJobName() const
Definition: CreateForecastExportJobRequest.h:43
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetDestination
void SetDestination(const DataDestination &value)
Definition: CreateForecastExportJobRequest.h:150
Aws::ForecastService::Model::CreateForecastExportJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ForecastService::Model::CreateForecastExportJobRequest::CreateForecastExportJobRequest
CreateForecastExportJobRequest()
ForecastServiceRequest.h
Aws::ForecastService::Model::CreateForecastExportJobRequest::AddTags
CreateForecastExportJobRequest & AddTags(const Tag &value)
Definition: CreateForecastExportJobRequest.h:342
AWSString.h
Aws::ForecastService::Model::CreateForecastExportJobRequest::AddTags
CreateForecastExportJobRequest & AddTags(Tag &&value)
Definition: CreateForecastExportJobRequest.h:365
Aws::ForecastService::Model::CreateForecastExportJobRequest::GetDestination
const DataDestination & GetDestination() const
Definition: CreateForecastExportJobRequest.h:130
Tag.h
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithForecastArn
CreateForecastExportJobRequest & WithForecastArn(const Aws::String &value)
Definition: CreateForecastExportJobRequest.h:109
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetForecastExportJobName
void SetForecastExportJobName(const char *value)
Definition: CreateForecastExportJobRequest.h:63
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetForecastArn
void SetForecastArn(const Aws::String &value)
Definition: CreateForecastExportJobRequest.h:94
Aws::ForecastService::Model::CreateForecastExportJobRequest::WithDestination
CreateForecastExportJobRequest & WithDestination(const DataDestination &value)
Definition: CreateForecastExportJobRequest.h:170
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::CreateForecastExportJobRequest::SetForecastArn
void SetForecastArn(Aws::String &&value)
Definition: CreateForecastExportJobRequest.h:99
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetDestination
void SetDestination(DataDestination &&value)
Definition: CreateForecastExportJobRequest.h:160
Aws::ForecastService::Model::CreateForecastExportJobRequest::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: CreateForecastExportJobRequest.h:140
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::CreateForecastExportJobRequest::SetForecastArn
void SetForecastArn(const char *value)
Definition: CreateForecastExportJobRequest.h:104