AWS SDK for C++  1.9.131
AWS SDK for C++
ListDatasetImportJobsRequest.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 "ListDatasetImportJobs"; }
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 ListDatasetImportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 
86  inline ListDatasetImportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 
93  inline ListDatasetImportJobsRequest& 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 ListDatasetImportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
115 
116 
133  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
134 
151  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
152 
169  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
170 
187  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
188 
205  inline ListDatasetImportJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
206 
223  inline ListDatasetImportJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
224 
241  inline ListDatasetImportJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
242 
259  inline ListDatasetImportJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
260 
261  private:
262 
263  Aws::String m_nextToken;
264  bool m_nextTokenHasBeenSet;
265 
266  int m_maxResults;
267  bool m_maxResultsHasBeenSet;
268 
269  Aws::Vector<Filter> m_filters;
270  bool m_filtersHasBeenSet;
271  };
272 
273 } // namespace Model
274 } // namespace ForecastService
275 } // namespace Aws
Aws::ForecastService::Model::ListDatasetImportJobsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListDatasetImportJobsRequest.h:169
Filter.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::ListDatasetImportJobsRequest::AddFilters
ListDatasetImportJobsRequest & AddFilters(const Filter &value)
Definition: ListDatasetImportJobsRequest.h:241
Aws::ForecastService::Model::ListDatasetImportJobsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ForecastService_EXPORTS.h
Aws::ForecastService::Model::ListDatasetImportJobsRequest::WithNextToken
ListDatasetImportJobsRequest & WithNextToken(const char *value)
Definition: ListDatasetImportJobsRequest.h:93
Aws::ForecastService::Model::ListDatasetImportJobsRequest::AddFilters
ListDatasetImportJobsRequest & AddFilters(Filter &&value)
Definition: ListDatasetImportJobsRequest.h:259
Aws::ForecastService::Model::ListDatasetImportJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDatasetImportJobsRequest.h:65
Aws::ForecastService::Model::ListDatasetImportJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDatasetImportJobsRequest.h:51
Aws::ForecastService::Model::ListDatasetImportJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDatasetImportJobsRequest.h:109
Aws::ForecastService::Model::ListDatasetImportJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDatasetImportJobsRequest.h:32
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ForecastService::Model::ListDatasetImportJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDatasetImportJobsRequest.h:72
AWSVector.h
Aws::ForecastService::Model::ListDatasetImportJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ForecastService::Model::ListDatasetImportJobsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListDatasetImportJobsRequest.h:187
Aws::ForecastService::Model::ListDatasetImportJobsRequest::WithNextToken
ListDatasetImportJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListDatasetImportJobsRequest.h:86
Aws::ForecastService::Model::ListDatasetImportJobsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListDatasetImportJobsRequest.h:133
Aws::ForecastService::Model::ListDatasetImportJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDatasetImportJobsRequest.h:58
Aws::ForecastService::Model::ListDatasetImportJobsRequest::ListDatasetImportJobsRequest
ListDatasetImportJobsRequest()
Aws::ForecastService::Model::ListDatasetImportJobsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListDatasetImportJobsRequest.h:151
Aws::ForecastService::Model::ListDatasetImportJobsRequest::WithFilters
ListDatasetImportJobsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListDatasetImportJobsRequest.h:205
Aws::ForecastService::Model::ListDatasetImportJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDatasetImportJobsRequest.h:99
Aws::ForecastService::Model::ListDatasetImportJobsRequest
Definition: ListDatasetImportJobsRequest.h:24
ForecastServiceRequest.h
Aws::ForecastService::Model::ListDatasetImportJobsRequest::WithFilters
ListDatasetImportJobsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListDatasetImportJobsRequest.h:223
AWSString.h
Aws::ForecastService::Model::Filter
Definition: Filter.h:37
Aws::ForecastService::Model::ListDatasetImportJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDatasetImportJobsRequest.h:104
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws::ForecastService::Model::ListDatasetImportJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDatasetImportJobsRequest.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::ListDatasetImportJobsRequest::WithNextToken
ListDatasetImportJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListDatasetImportJobsRequest.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::ListDatasetImportJobsRequest::WithMaxResults
ListDatasetImportJobsRequest & WithMaxResults(int value)
Definition: ListDatasetImportJobsRequest.h:114