AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIdentitiesResult.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cognito-identity/model/IdentityDescription.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CognitoIdentity
26{
27namespace Model
28{
35 {
36 public:
37 AWS_COGNITOIDENTITY_API ListIdentitiesResult();
40
41
43
46 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
47 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolId = value; }
48 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolId = std::move(value); }
49 inline void SetIdentityPoolId(const char* value) { m_identityPoolId.assign(value); }
50 inline ListIdentitiesResult& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
51 inline ListIdentitiesResult& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
52 inline ListIdentitiesResult& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
54
56
59 inline const Aws::Vector<IdentityDescription>& GetIdentities() const{ return m_identities; }
60 inline void SetIdentities(const Aws::Vector<IdentityDescription>& value) { m_identities = value; }
61 inline void SetIdentities(Aws::Vector<IdentityDescription>&& value) { m_identities = std::move(value); }
63 inline ListIdentitiesResult& WithIdentities(Aws::Vector<IdentityDescription>&& value) { SetIdentities(std::move(value)); return *this;}
64 inline ListIdentitiesResult& AddIdentities(const IdentityDescription& value) { m_identities.push_back(value); return *this; }
65 inline ListIdentitiesResult& AddIdentities(IdentityDescription&& value) { m_identities.push_back(std::move(value)); return *this; }
67
69
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
76 inline ListIdentitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListIdentitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListIdentitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline ListIdentitiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline ListIdentitiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline ListIdentitiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_identityPoolId;
94
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace CognitoIdentity
104} // namespace Aws
ListIdentitiesResult & WithIdentityPoolId(Aws::String &&value)
ListIdentitiesResult & WithNextToken(Aws::String &&value)
ListIdentitiesResult & WithIdentityPoolId(const char *value)
ListIdentitiesResult & WithNextToken(const Aws::String &value)
ListIdentitiesResult & WithRequestId(const char *value)
const Aws::Vector< IdentityDescription > & GetIdentities() const
ListIdentitiesResult & WithRequestId(const Aws::String &value)
ListIdentitiesResult & WithIdentities(Aws::Vector< IdentityDescription > &&value)
ListIdentitiesResult & WithIdentityPoolId(const Aws::String &value)
void SetIdentities(const Aws::Vector< IdentityDescription > &value)
ListIdentitiesResult & AddIdentities(IdentityDescription &&value)
AWS_COGNITOIDENTITY_API ListIdentitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListIdentitiesResult & AddIdentities(const IdentityDescription &value)
void SetIdentities(Aws::Vector< IdentityDescription > &&value)
ListIdentitiesResult & WithRequestId(Aws::String &&value)
ListIdentitiesResult & WithIdentities(const Aws::Vector< IdentityDescription > &value)
ListIdentitiesResult & WithNextToken(const char *value)
AWS_COGNITOIDENTITY_API ListIdentitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue