AWS SDK for C++  1.9.131
AWS SDK for C++
ListPredictorBacktestExportJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ForecastService
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 "ListPredictorBacktestExportJobs"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
44  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 
51  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
52 
58  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
59 
65  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 
72  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
73 
79  inline ListPredictorBacktestExportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 
86  inline ListPredictorBacktestExportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 
93  inline ListPredictorBacktestExportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94 
95 
99  inline int GetMaxResults() const{ return m_maxResults; }
100 
104  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 
109  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
110 
114  inline ListPredictorBacktestExportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
115 
116 
131  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
132 
147  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
148 
163  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
164 
179  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
180 
195  inline ListPredictorBacktestExportJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
196 
211  inline ListPredictorBacktestExportJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
212 
227  inline ListPredictorBacktestExportJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
228 
243  inline ListPredictorBacktestExportJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
244 
245  private:
246 
247  Aws::String m_nextToken;
248  bool m_nextTokenHasBeenSet;
249 
250  int m_maxResults;
251  bool m_maxResultsHasBeenSet;
252 
253  Aws::Vector<Filter> m_filters;
254  bool m_filtersHasBeenSet;
255  };
256 
257 } // namespace Model
258 } // namespace ForecastService
259 } // namespace Aws
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPredictorBacktestExportJobsRequest.h:72
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPredictorBacktestExportJobsRequest.h:104
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::ListPredictorBacktestExportJobsRequest
ListPredictorBacktestExportJobsRequest()
Filter.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListPredictorBacktestExportJobsRequest.h:163
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::WithMaxResults
ListPredictorBacktestExportJobsRequest & WithMaxResults(int value)
Definition: ListPredictorBacktestExportJobsRequest.h:114
ForecastService_EXPORTS.h
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest
Definition: ListPredictorBacktestExportJobsRequest.h:24
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::AddFilters
ListPredictorBacktestExportJobsRequest & AddFilters(Filter &&value)
Definition: ListPredictorBacktestExportJobsRequest.h:243
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPredictorBacktestExportJobsRequest.h:65
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::AddFilters
ListPredictorBacktestExportJobsRequest & AddFilters(const Filter &value)
Definition: ListPredictorBacktestExportJobsRequest.h:227
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPredictorBacktestExportJobsRequest.h:109
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPredictorBacktestExportJobsRequest.h:99
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::WithFilters
ListPredictorBacktestExportJobsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListPredictorBacktestExportJobsRequest.h:211
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::WithNextToken
ListPredictorBacktestExportJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListPredictorBacktestExportJobsRequest.h:86
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListPredictorBacktestExportJobsRequest.h:147
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ForecastServiceRequest.h
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListPredictorBacktestExportJobsRequest.h:131
AWSString.h
Aws::ForecastService::Model::Filter
Definition: Filter.h:37
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPredictorBacktestExportJobsRequest.h:58
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::WithNextToken
ListPredictorBacktestExportJobsRequest & WithNextToken(const char *value)
Definition: ListPredictorBacktestExportJobsRequest.h:93
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPredictorBacktestExportJobsRequest.h:44
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListPredictorBacktestExportJobsRequest.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::WithFilters
ListPredictorBacktestExportJobsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListPredictorBacktestExportJobsRequest.h:195
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPredictorBacktestExportJobsRequest.h:51
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::WithNextToken
ListPredictorBacktestExportJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListPredictorBacktestExportJobsRequest.h:79
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::ListPredictorBacktestExportJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPredictorBacktestExportJobsRequest.h:32