AWS SDK for C++  1.8.126
AWS SDK for C++
ListIdentityPoolUsageResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace CognitoSync
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<IdentityPoolUsage>& GetIdentityPoolUsages() const{ return m_identityPoolUsages; }
47 
51  inline void SetIdentityPoolUsages(const Aws::Vector<IdentityPoolUsage>& value) { m_identityPoolUsages = value; }
52 
56  inline void SetIdentityPoolUsages(Aws::Vector<IdentityPoolUsage>&& value) { m_identityPoolUsages = std::move(value); }
57 
61  inline ListIdentityPoolUsageResult& WithIdentityPoolUsages(const Aws::Vector<IdentityPoolUsage>& value) { SetIdentityPoolUsages(value); return *this;}
62 
66  inline ListIdentityPoolUsageResult& WithIdentityPoolUsages(Aws::Vector<IdentityPoolUsage>&& value) { SetIdentityPoolUsages(std::move(value)); return *this;}
67 
71  inline ListIdentityPoolUsageResult& AddIdentityPoolUsages(const IdentityPoolUsage& value) { m_identityPoolUsages.push_back(value); return *this; }
72 
76  inline ListIdentityPoolUsageResult& AddIdentityPoolUsages(IdentityPoolUsage&& value) { m_identityPoolUsages.push_back(std::move(value)); return *this; }
77 
78 
82  inline int GetMaxResults() const{ return m_maxResults; }
83 
87  inline void SetMaxResults(int value) { m_maxResults = value; }
88 
92  inline ListIdentityPoolUsageResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
93 
94 
98  inline int GetCount() const{ return m_count; }
99 
103  inline void SetCount(int value) { m_count = value; }
104 
108  inline ListIdentityPoolUsageResult& WithCount(int value) { SetCount(value); return *this;}
109 
110 
114  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
115 
119  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
120 
124  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
125 
129  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
130 
134  inline ListIdentityPoolUsageResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
135 
139  inline ListIdentityPoolUsageResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
140 
144  inline ListIdentityPoolUsageResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
145 
146  private:
147 
148  Aws::Vector<IdentityPoolUsage> m_identityPoolUsages;
149 
150  int m_maxResults;
151 
152  int m_count;
153 
154  Aws::String m_nextToken;
155  };
156 
157 } // namespace Model
158 } // namespace CognitoSync
159 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIdentityPoolUsageResult.h:124
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIdentityPoolUsageResult.h:119
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::WithNextToken
ListIdentityPoolUsageResult & WithNextToken(const char *value)
Definition: ListIdentityPoolUsageResult.h:144
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::WithCount
ListIdentityPoolUsageResult & WithCount(int value)
Definition: ListIdentityPoolUsageResult.h:108
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::ListIdentityPoolUsageResult
ListIdentityPoolUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::WithIdentityPoolUsages
ListIdentityPoolUsageResult & WithIdentityPoolUsages(const Aws::Vector< IdentityPoolUsage > &value)
Definition: ListIdentityPoolUsageResult.h:61
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::WithNextToken
ListIdentityPoolUsageResult & WithNextToken(const Aws::String &value)
Definition: ListIdentityPoolUsageResult.h:134
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::AddIdentityPoolUsages
ListIdentityPoolUsageResult & AddIdentityPoolUsages(IdentityPoolUsage &&value)
Definition: ListIdentityPoolUsageResult.h:76
Aws::CognitoSync::Model::ListIdentityPoolUsageResult
Definition: ListIdentityPoolUsageResult.h:36
AWSString.h
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::operator=
ListIdentityPoolUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::WithIdentityPoolUsages
ListIdentityPoolUsageResult & WithIdentityPoolUsages(Aws::Vector< IdentityPoolUsage > &&value)
Definition: ListIdentityPoolUsageResult.h:66
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::GetMaxResults
int GetMaxResults() const
Definition: ListIdentityPoolUsageResult.h:82
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::SetIdentityPoolUsages
void SetIdentityPoolUsages(Aws::Vector< IdentityPoolUsage > &&value)
Definition: ListIdentityPoolUsageResult.h:56
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::AddIdentityPoolUsages
ListIdentityPoolUsageResult & AddIdentityPoolUsages(const IdentityPoolUsage &value)
Definition: ListIdentityPoolUsageResult.h:71
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::WithMaxResults
ListIdentityPoolUsageResult & WithMaxResults(int value)
Definition: ListIdentityPoolUsageResult.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::WithNextToken
ListIdentityPoolUsageResult & WithNextToken(Aws::String &&value)
Definition: ListIdentityPoolUsageResult.h:139
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListIdentityPoolUsageResult.h:129
Aws::CognitoSync::Model::IdentityPoolUsage
Definition: IdentityPoolUsage.h:33
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
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::GetIdentityPoolUsages
const Aws::Vector< IdentityPoolUsage > & GetIdentityPoolUsages() const
Definition: ListIdentityPoolUsageResult.h:46
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::SetCount
void SetCount(int value)
Definition: ListIdentityPoolUsageResult.h:103
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::SetIdentityPoolUsages
void SetIdentityPoolUsages(const Aws::Vector< IdentityPoolUsage > &value)
Definition: ListIdentityPoolUsageResult.h:51
IdentityPoolUsage.h
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::GetCount
int GetCount() const
Definition: ListIdentityPoolUsageResult.h:98
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::ListIdentityPoolUsageResult
ListIdentityPoolUsageResult()
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::SetMaxResults
void SetMaxResults(int value)
Definition: ListIdentityPoolUsageResult.h:87
Aws::CognitoSync::Model::ListIdentityPoolUsageResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIdentityPoolUsageResult.h:114