AWS SDK for C++  1.8.126
AWS SDK for C++
ListIdentityPoolUsageRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace CognitoSync
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListIdentityPoolUsage"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48 
52  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
53 
57  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
58 
62  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
63 
67  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 
72  inline ListIdentityPoolUsageRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 
77  inline ListIdentityPoolUsageRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
82  inline ListIdentityPoolUsageRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83 
84 
88  inline int GetMaxResults() const{ return m_maxResults; }
89 
93  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 
98  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
99 
103  inline ListIdentityPoolUsageRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
104 
105  private:
106 
107  Aws::String m_nextToken;
108  bool m_nextTokenHasBeenSet;
109 
110  int m_maxResults;
111  bool m_maxResultsHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace CognitoSync
116 } // namespace Aws
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListIdentityPoolUsageRequest.h:37
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListIdentityPoolUsageRequest.h:98
Aws::Http::URI
Definition: URI.h:32
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::WithNextToken
ListIdentityPoolUsageRequest & WithNextToken(const char *value)
Definition: ListIdentityPoolUsageRequest.h:82
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIdentityPoolUsageRequest.h:62
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListIdentityPoolUsageRequest.h:93
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIdentityPoolUsageRequest.h:57
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIdentityPoolUsageRequest.h:47
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CognitoSync::CognitoSyncRequest
Definition: CognitoSyncRequest.h:17
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::WithNextToken
ListIdentityPoolUsageRequest & WithNextToken(const Aws::String &value)
Definition: ListIdentityPoolUsageRequest.h:72
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::ListIdentityPoolUsageRequest
ListIdentityPoolUsageRequest()
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::GetMaxResults
int GetMaxResults() const
Definition: ListIdentityPoolUsageRequest.h:88
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest
Definition: ListIdentityPoolUsageRequest.h:29
AWSString.h
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::WithNextToken
ListIdentityPoolUsageRequest & WithNextToken(Aws::String &&value)
Definition: ListIdentityPoolUsageRequest.h:77
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::WithMaxResults
ListIdentityPoolUsageRequest & WithMaxResults(int value)
Definition: ListIdentityPoolUsageRequest.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListIdentityPoolUsageRequest.h:52
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CognitoSyncRequest.h
Aws::CognitoSync::Model::ListIdentityPoolUsageRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListIdentityPoolUsageRequest.h:67