AWS SDK for C++  1.9.131
AWS SDK for C++
ListForecastExportJobsRequest.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 "ListForecastExportJobs"; }
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 ListForecastExportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 
86  inline ListForecastExportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 
93  inline ListForecastExportJobsRequest& 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 ListForecastExportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
115 
116 
136  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
137 
157  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
158 
178  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
179 
199  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
200 
220  inline ListForecastExportJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
221 
241  inline ListForecastExportJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
242 
262  inline ListForecastExportJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
263 
283  inline ListForecastExportJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
284 
285  private:
286 
287  Aws::String m_nextToken;
288  bool m_nextTokenHasBeenSet;
289 
290  int m_maxResults;
291  bool m_maxResultsHasBeenSet;
292 
293  Aws::Vector<Filter> m_filters;
294  bool m_filtersHasBeenSet;
295  };
296 
297 } // namespace Model
298 } // namespace ForecastService
299 } // namespace Aws
Aws::ForecastService::Model::ListForecastExportJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListForecastExportJobsRequest.h:99
Aws::ForecastService::Model::ListForecastExportJobsRequest::WithNextToken
ListForecastExportJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListForecastExportJobsRequest.h:79
Filter.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::ListForecastExportJobsRequest
Definition: ListForecastExportJobsRequest.h:24
ForecastService_EXPORTS.h
Aws::ForecastService::Model::ListForecastExportJobsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListForecastExportJobsRequest.h:157
Aws::ForecastService::Model::ListForecastExportJobsRequest::WithNextToken
ListForecastExportJobsRequest & WithNextToken(const char *value)
Definition: ListForecastExportJobsRequest.h:93
Aws::ForecastService::Model::ListForecastExportJobsRequest::WithMaxResults
ListForecastExportJobsRequest & WithMaxResults(int value)
Definition: ListForecastExportJobsRequest.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ForecastService::Model::ListForecastExportJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListForecastExportJobsRequest.h:109
Aws::ForecastService::Model::ListForecastExportJobsRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
Aws::ForecastService::Model::ListForecastExportJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListForecastExportJobsRequest.h:32
Aws::ForecastService::Model::ListForecastExportJobsRequest::ListForecastExportJobsRequest
ListForecastExportJobsRequest()
ForecastServiceRequest.h
Aws::ForecastService::Model::ListForecastExportJobsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListForecastExportJobsRequest.h:199
Aws::ForecastService::Model::ListForecastExportJobsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListForecastExportJobsRequest.h:136
Aws::ForecastService::Model::ListForecastExportJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListForecastExportJobsRequest.h:44
AWSString.h
Aws::ForecastService::Model::ListForecastExportJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ForecastService::Model::ListForecastExportJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListForecastExportJobsRequest.h:58
Aws::ForecastService::Model::ListForecastExportJobsRequest::WithNextToken
ListForecastExportJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListForecastExportJobsRequest.h:86
Aws::ForecastService::Model::ListForecastExportJobsRequest::WithFilters
ListForecastExportJobsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListForecastExportJobsRequest.h:220
Aws::ForecastService::Model::Filter
Definition: Filter.h:37
Aws::ForecastService::Model::ListForecastExportJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListForecastExportJobsRequest.h:104
Aws::ForecastService::Model::ListForecastExportJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListForecastExportJobsRequest.h:51
Aws::ForecastService::Model::ListForecastExportJobsRequest::AddFilters
ListForecastExportJobsRequest & AddFilters(const Filter &value)
Definition: ListForecastExportJobsRequest.h:262
Aws::ForecastService::Model::ListForecastExportJobsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListForecastExportJobsRequest.h:178
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::ListForecastExportJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListForecastExportJobsRequest.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ForecastService::Model::ListForecastExportJobsRequest::AddFilters
ListForecastExportJobsRequest & AddFilters(Filter &&value)
Definition: ListForecastExportJobsRequest.h:283
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::ListForecastExportJobsRequest::WithFilters
ListForecastExportJobsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListForecastExportJobsRequest.h:241
Aws::ForecastService::Model::ListForecastExportJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListForecastExportJobsRequest.h:65