AWS SDK for C++  1.9.123
AWS SDK for C++
ListDatasetGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ForecastService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListDatasetGroups"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
49  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
50 
56  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
57 
63  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
64 
70  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
71 
77  inline ListDatasetGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 
84  inline ListDatasetGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 
91  inline ListDatasetGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 
93 
97  inline int GetMaxResults() const{ return m_maxResults; }
98 
102  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 
107  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
108 
112  inline ListDatasetGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
113 
114  private:
115 
116  Aws::String m_nextToken;
117  bool m_nextTokenHasBeenSet;
118 
119  int m_maxResults;
120  bool m_maxResultsHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace ForecastService
125 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::ListDatasetGroupsRequest::WithNextToken
ListDatasetGroupsRequest & WithNextToken(Aws::String &&value)
Definition: ListDatasetGroupsRequest.h:84
Aws::ForecastService::Model::ListDatasetGroupsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDatasetGroupsRequest.h:42
ForecastService_EXPORTS.h
Aws::ForecastService::Model::ListDatasetGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ForecastService::Model::ListDatasetGroupsRequest::ListDatasetGroupsRequest
ListDatasetGroupsRequest()
Aws::ForecastService::Model::ListDatasetGroupsRequest::WithNextToken
ListDatasetGroupsRequest & WithNextToken(const Aws::String &value)
Definition: ListDatasetGroupsRequest.h:77
Aws::ForecastService::Model::ListDatasetGroupsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDatasetGroupsRequest.h:56
Aws::ForecastService::Model::ListDatasetGroupsRequest::WithMaxResults
ListDatasetGroupsRequest & WithMaxResults(int value)
Definition: ListDatasetGroupsRequest.h:112
Aws::ForecastService::Model::ListDatasetGroupsRequest
Definition: ListDatasetGroupsRequest.h:22
Aws::ForecastService::Model::ListDatasetGroupsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDatasetGroupsRequest.h:63
Aws::ForecastService::Model::ListDatasetGroupsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ForecastService::Model::ListDatasetGroupsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDatasetGroupsRequest.h:102
Aws::ForecastService::Model::ListDatasetGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDatasetGroupsRequest.h:30
Aws::ForecastService::Model::ListDatasetGroupsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDatasetGroupsRequest.h:107
ForecastServiceRequest.h
AWSString.h
Aws::ForecastService::Model::ListDatasetGroupsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDatasetGroupsRequest.h:70
Aws::ForecastService::Model::ListDatasetGroupsRequest::WithNextToken
ListDatasetGroupsRequest & WithNextToken(const char *value)
Definition: ListDatasetGroupsRequest.h:91
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ForecastService::Model::ListDatasetGroupsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDatasetGroupsRequest.h:97
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::ListDatasetGroupsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDatasetGroupsRequest.h:49