AWS SDK for C++  1.8.129
AWS SDK for C++
DescribePendingAggregationRequestsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ConfigService
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 "DescribePendingAggregationRequests"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline int GetLimit() const{ return m_limit; }
42 
47  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
48 
53  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
54 
59  inline DescribePendingAggregationRequestsRequest& WithLimit(int value) { SetLimit(value); return *this;}
60 
61 
66  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 
72  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 
78  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 
84  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
85 
90  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 
96  inline DescribePendingAggregationRequestsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
102  inline DescribePendingAggregationRequestsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 
108  inline DescribePendingAggregationRequestsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 
110  private:
111 
112  int m_limit;
113  bool m_limitHasBeenSet;
114 
115  Aws::String m_nextToken;
116  bool m_nextTokenHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace ConfigService
121 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::DescribePendingAggregationRequestsRequest
DescribePendingAggregationRequestsRequest()
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePendingAggregationRequestsRequest.h:30
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::WithNextToken
DescribePendingAggregationRequestsRequest & WithNextToken(const char *value)
Definition: DescribePendingAggregationRequestsRequest.h:108
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::WithNextToken
DescribePendingAggregationRequestsRequest & WithNextToken(Aws::String &&value)
Definition: DescribePendingAggregationRequestsRequest.h:102
ConfigService_EXPORTS.h
Aws::ConfigService::ConfigServiceRequest
Definition: ConfigServiceRequest.h:17
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::SetLimit
void SetLimit(int value)
Definition: DescribePendingAggregationRequestsRequest.h:53
AWSString.h
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::GetLimit
int GetLimit() const
Definition: DescribePendingAggregationRequestsRequest.h:41
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::WithNextToken
DescribePendingAggregationRequestsRequest & WithNextToken(const Aws::String &value)
Definition: DescribePendingAggregationRequestsRequest.h:96
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest
Definition: DescribePendingAggregationRequestsRequest.h:22
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribePendingAggregationRequestsRequest.h:47
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribePendingAggregationRequestsRequest.h:78
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribePendingAggregationRequestsRequest.h:72
Aws
Definition: AccessManagementClient.h:15
ConfigServiceRequest.h
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribePendingAggregationRequestsRequest.h:66
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribePendingAggregationRequestsRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribePendingAggregationRequestsRequest.h:90
Aws::ConfigService::Model::DescribePendingAggregationRequestsRequest::WithLimit
DescribePendingAggregationRequestsRequest & WithLimit(int value)
Definition: DescribePendingAggregationRequestsRequest.h:59
AWS_CONFIGSERVICE_API
#define AWS_CONFIGSERVICE_API
Definition: ConfigService_EXPORTS.h:28