AWS SDK for C++  1.9.129
AWS SDK for C++
CreatePredictorBacktestExportJobRequest.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 "CreatePredictorBacktestExportJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetPredictorBacktestExportJobName() const{ return m_predictorBacktestExportJobName; }
44 
48  inline bool PredictorBacktestExportJobNameHasBeenSet() const { return m_predictorBacktestExportJobNameHasBeenSet; }
49 
53  inline void SetPredictorBacktestExportJobName(const Aws::String& value) { m_predictorBacktestExportJobNameHasBeenSet = true; m_predictorBacktestExportJobName = value; }
54 
58  inline void SetPredictorBacktestExportJobName(Aws::String&& value) { m_predictorBacktestExportJobNameHasBeenSet = true; m_predictorBacktestExportJobName = std::move(value); }
59 
63  inline void SetPredictorBacktestExportJobName(const char* value) { m_predictorBacktestExportJobNameHasBeenSet = true; m_predictorBacktestExportJobName.assign(value); }
64 
68  inline CreatePredictorBacktestExportJobRequest& WithPredictorBacktestExportJobName(const Aws::String& value) { SetPredictorBacktestExportJobName(value); return *this;}
69 
73  inline CreatePredictorBacktestExportJobRequest& WithPredictorBacktestExportJobName(Aws::String&& value) { SetPredictorBacktestExportJobName(std::move(value)); return *this;}
74 
78  inline CreatePredictorBacktestExportJobRequest& WithPredictorBacktestExportJobName(const char* value) { SetPredictorBacktestExportJobName(value); return *this;}
79 
80 
84  inline const Aws::String& GetPredictorArn() const{ return m_predictorArn; }
85 
89  inline bool PredictorArnHasBeenSet() const { return m_predictorArnHasBeenSet; }
90 
94  inline void SetPredictorArn(const Aws::String& value) { m_predictorArnHasBeenSet = true; m_predictorArn = value; }
95 
99  inline void SetPredictorArn(Aws::String&& value) { m_predictorArnHasBeenSet = true; m_predictorArn = std::move(value); }
100 
104  inline void SetPredictorArn(const char* value) { m_predictorArnHasBeenSet = true; m_predictorArn.assign(value); }
105 
109  inline CreatePredictorBacktestExportJobRequest& WithPredictorArn(const Aws::String& value) { SetPredictorArn(value); return *this;}
110 
114  inline CreatePredictorBacktestExportJobRequest& WithPredictorArn(Aws::String&& value) { SetPredictorArn(std::move(value)); return *this;}
115 
119  inline CreatePredictorBacktestExportJobRequest& WithPredictorArn(const char* value) { SetPredictorArn(value); return *this;}
120 
121 
122 
123  inline const DataDestination& GetDestination() const{ return m_destination; }
124 
125 
126  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
127 
128 
129  inline void SetDestination(const DataDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
130 
131 
132  inline void SetDestination(DataDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
133 
134 
135  inline CreatePredictorBacktestExportJobRequest& WithDestination(const DataDestination& value) { SetDestination(value); return *this;}
136 
137 
138  inline CreatePredictorBacktestExportJobRequest& WithDestination(DataDestination&& value) { SetDestination(std::move(value)); return *this;}
139 
140 
160  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
161 
181  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
182 
202  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
203 
223  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
224 
244  inline CreatePredictorBacktestExportJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
245 
265  inline CreatePredictorBacktestExportJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
266 
286  inline CreatePredictorBacktestExportJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
287 
307  inline CreatePredictorBacktestExportJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
308 
309  private:
310 
311  Aws::String m_predictorBacktestExportJobName;
312  bool m_predictorBacktestExportJobNameHasBeenSet;
313 
314  Aws::String m_predictorArn;
315  bool m_predictorArnHasBeenSet;
316 
317  DataDestination m_destination;
318  bool m_destinationHasBeenSet;
319 
320  Aws::Vector<Tag> m_tags;
321  bool m_tagsHasBeenSet;
322  };
323 
324 } // namespace Model
325 } // namespace ForecastService
326 } // namespace Aws
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::PredictorArnHasBeenSet
bool PredictorArnHasBeenSet() const
Definition: CreatePredictorBacktestExportJobRequest.h:89
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest
Definition: CreatePredictorBacktestExportJobRequest.h:25
ForecastService_EXPORTS.h
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::CreatePredictorBacktestExportJobRequest
CreatePredictorBacktestExportJobRequest()
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetDestination
void SetDestination(const DataDestination &value)
Definition: CreatePredictorBacktestExportJobRequest.h:129
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithPredictorBacktestExportJobName
CreatePredictorBacktestExportJobRequest & WithPredictorBacktestExportJobName(const char *value)
Definition: CreatePredictorBacktestExportJobRequest.h:78
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithTags
CreatePredictorBacktestExportJobRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:265
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetDestination
void SetDestination(DataDestination &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:132
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithTags
CreatePredictorBacktestExportJobRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreatePredictorBacktestExportJobRequest.h:244
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithPredictorBacktestExportJobName
CreatePredictorBacktestExportJobRequest & WithPredictorBacktestExportJobName(const Aws::String &value)
Definition: CreatePredictorBacktestExportJobRequest.h:68
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithPredictorArn
CreatePredictorBacktestExportJobRequest & WithPredictorArn(const Aws::String &value)
Definition: CreatePredictorBacktestExportJobRequest.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::AddTags
CreatePredictorBacktestExportJobRequest & AddTags(const Tag &value)
Definition: CreatePredictorBacktestExportJobRequest.h:286
Aws::ForecastService::Model::DataDestination
Definition: DataDestination.h:35
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetPredictorBacktestExportJobName
void SetPredictorBacktestExportJobName(const char *value)
Definition: CreatePredictorBacktestExportJobRequest.h:63
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreatePredictorBacktestExportJobRequest.h:202
AWSVector.h
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::GetPredictorBacktestExportJobName
const Aws::String & GetPredictorBacktestExportJobName() const
Definition: CreatePredictorBacktestExportJobRequest.h:43
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::GetPredictorArn
const Aws::String & GetPredictorArn() const
Definition: CreatePredictorBacktestExportJobRequest.h:84
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DataDestination.h
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreatePredictorBacktestExportJobRequest.h:160
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithPredictorBacktestExportJobName
CreatePredictorBacktestExportJobRequest & WithPredictorBacktestExportJobName(Aws::String &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:73
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetPredictorBacktestExportJobName
void SetPredictorBacktestExportJobName(const Aws::String &value)
Definition: CreatePredictorBacktestExportJobRequest.h:53
ForecastServiceRequest.h
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetPredictorBacktestExportJobName
void SetPredictorBacktestExportJobName(Aws::String &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:58
AWSString.h
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreatePredictorBacktestExportJobRequest.h:33
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: CreatePredictorBacktestExportJobRequest.h:126
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithPredictorArn
CreatePredictorBacktestExportJobRequest & WithPredictorArn(Aws::String &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:114
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::AddTags
CreatePredictorBacktestExportJobRequest & AddTags(Tag &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:307
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetPredictorArn
void SetPredictorArn(const Aws::String &value)
Definition: CreatePredictorBacktestExportJobRequest.h:94
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithPredictorArn
CreatePredictorBacktestExportJobRequest & WithPredictorArn(const char *value)
Definition: CreatePredictorBacktestExportJobRequest.h:119
Tag.h
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:223
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithDestination
CreatePredictorBacktestExportJobRequest & WithDestination(DataDestination &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:138
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::PredictorBacktestExportJobNameHasBeenSet
bool PredictorBacktestExportJobNameHasBeenSet() const
Definition: CreatePredictorBacktestExportJobRequest.h:48
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::WithDestination
CreatePredictorBacktestExportJobRequest & WithDestination(const DataDestination &value)
Definition: CreatePredictorBacktestExportJobRequest.h:135
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::CreatePredictorBacktestExportJobRequest::SetPredictorArn
void SetPredictorArn(const char *value)
Definition: CreatePredictorBacktestExportJobRequest.h:104
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreatePredictorBacktestExportJobRequest.h:181
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::SetPredictorArn
void SetPredictorArn(Aws::String &&value)
Definition: CreatePredictorBacktestExportJobRequest.h:99
Aws::ForecastService::Model::CreatePredictorBacktestExportJobRequest::GetDestination
const DataDestination & GetDestination() const
Definition: CreatePredictorBacktestExportJobRequest.h:123