AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeIdentityPoolResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cognito-identity/model/CognitoIdentityProvider.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CognitoIdentity
27{
28namespace Model
29{
37 {
38 public:
39 AWS_COGNITOIDENTITY_API DescribeIdentityPoolResult();
42
43
45
48 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
49 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolId = value; }
50 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolId = std::move(value); }
51 inline void SetIdentityPoolId(const char* value) { m_identityPoolId.assign(value); }
52 inline DescribeIdentityPoolResult& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
53 inline DescribeIdentityPoolResult& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
54 inline DescribeIdentityPoolResult& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
56
58
61 inline const Aws::String& GetIdentityPoolName() const{ return m_identityPoolName; }
62 inline void SetIdentityPoolName(const Aws::String& value) { m_identityPoolName = value; }
63 inline void SetIdentityPoolName(Aws::String&& value) { m_identityPoolName = std::move(value); }
64 inline void SetIdentityPoolName(const char* value) { m_identityPoolName.assign(value); }
66 inline DescribeIdentityPoolResult& WithIdentityPoolName(Aws::String&& value) { SetIdentityPoolName(std::move(value)); return *this;}
67 inline DescribeIdentityPoolResult& WithIdentityPoolName(const char* value) { SetIdentityPoolName(value); return *this;}
69
71
74 inline bool GetAllowUnauthenticatedIdentities() const{ return m_allowUnauthenticatedIdentities; }
75 inline void SetAllowUnauthenticatedIdentities(bool value) { m_allowUnauthenticatedIdentities = value; }
78
80
87 inline bool GetAllowClassicFlow() const{ return m_allowClassicFlow; }
88 inline void SetAllowClassicFlow(bool value) { m_allowClassicFlow = value; }
89 inline DescribeIdentityPoolResult& WithAllowClassicFlow(bool value) { SetAllowClassicFlow(value); return *this;}
91
93
96 inline const Aws::Map<Aws::String, Aws::String>& GetSupportedLoginProviders() const{ return m_supportedLoginProviders; }
97 inline void SetSupportedLoginProviders(const Aws::Map<Aws::String, Aws::String>& value) { m_supportedLoginProviders = value; }
98 inline void SetSupportedLoginProviders(Aws::Map<Aws::String, Aws::String>&& value) { m_supportedLoginProviders = std::move(value); }
101 inline DescribeIdentityPoolResult& AddSupportedLoginProviders(const Aws::String& key, const Aws::String& value) { m_supportedLoginProviders.emplace(key, value); return *this; }
102 inline DescribeIdentityPoolResult& AddSupportedLoginProviders(Aws::String&& key, const Aws::String& value) { m_supportedLoginProviders.emplace(std::move(key), value); return *this; }
103 inline DescribeIdentityPoolResult& AddSupportedLoginProviders(const Aws::String& key, Aws::String&& value) { m_supportedLoginProviders.emplace(key, std::move(value)); return *this; }
104 inline DescribeIdentityPoolResult& AddSupportedLoginProviders(Aws::String&& key, Aws::String&& value) { m_supportedLoginProviders.emplace(std::move(key), std::move(value)); return *this; }
105 inline DescribeIdentityPoolResult& AddSupportedLoginProviders(const char* key, Aws::String&& value) { m_supportedLoginProviders.emplace(key, std::move(value)); return *this; }
106 inline DescribeIdentityPoolResult& AddSupportedLoginProviders(Aws::String&& key, const char* value) { m_supportedLoginProviders.emplace(std::move(key), value); return *this; }
107 inline DescribeIdentityPoolResult& AddSupportedLoginProviders(const char* key, const char* value) { m_supportedLoginProviders.emplace(key, value); return *this; }
109
111
114 inline const Aws::String& GetDeveloperProviderName() const{ return m_developerProviderName; }
115 inline void SetDeveloperProviderName(const Aws::String& value) { m_developerProviderName = value; }
116 inline void SetDeveloperProviderName(Aws::String&& value) { m_developerProviderName = std::move(value); }
117 inline void SetDeveloperProviderName(const char* value) { m_developerProviderName.assign(value); }
120 inline DescribeIdentityPoolResult& WithDeveloperProviderName(const char* value) { SetDeveloperProviderName(value); return *this;}
122
124
127 inline const Aws::Vector<Aws::String>& GetOpenIdConnectProviderARNs() const{ return m_openIdConnectProviderARNs; }
128 inline void SetOpenIdConnectProviderARNs(const Aws::Vector<Aws::String>& value) { m_openIdConnectProviderARNs = value; }
129 inline void SetOpenIdConnectProviderARNs(Aws::Vector<Aws::String>&& value) { m_openIdConnectProviderARNs = std::move(value); }
132 inline DescribeIdentityPoolResult& AddOpenIdConnectProviderARNs(const Aws::String& value) { m_openIdConnectProviderARNs.push_back(value); return *this; }
133 inline DescribeIdentityPoolResult& AddOpenIdConnectProviderARNs(Aws::String&& value) { m_openIdConnectProviderARNs.push_back(std::move(value)); return *this; }
134 inline DescribeIdentityPoolResult& AddOpenIdConnectProviderARNs(const char* value) { m_openIdConnectProviderARNs.push_back(value); return *this; }
136
138
141 inline const Aws::Vector<CognitoIdentityProvider>& GetCognitoIdentityProviders() const{ return m_cognitoIdentityProviders; }
142 inline void SetCognitoIdentityProviders(const Aws::Vector<CognitoIdentityProvider>& value) { m_cognitoIdentityProviders = value; }
143 inline void SetCognitoIdentityProviders(Aws::Vector<CognitoIdentityProvider>&& value) { m_cognitoIdentityProviders = std::move(value); }
146 inline DescribeIdentityPoolResult& AddCognitoIdentityProviders(const CognitoIdentityProvider& value) { m_cognitoIdentityProviders.push_back(value); return *this; }
147 inline DescribeIdentityPoolResult& AddCognitoIdentityProviders(CognitoIdentityProvider&& value) { m_cognitoIdentityProviders.push_back(std::move(value)); return *this; }
149
151
155 inline const Aws::Vector<Aws::String>& GetSamlProviderARNs() const{ return m_samlProviderARNs; }
156 inline void SetSamlProviderARNs(const Aws::Vector<Aws::String>& value) { m_samlProviderARNs = value; }
157 inline void SetSamlProviderARNs(Aws::Vector<Aws::String>&& value) { m_samlProviderARNs = std::move(value); }
160 inline DescribeIdentityPoolResult& AddSamlProviderARNs(const Aws::String& value) { m_samlProviderARNs.push_back(value); return *this; }
161 inline DescribeIdentityPoolResult& AddSamlProviderARNs(Aws::String&& value) { m_samlProviderARNs.push_back(std::move(value)); return *this; }
162 inline DescribeIdentityPoolResult& AddSamlProviderARNs(const char* value) { m_samlProviderARNs.push_back(value); return *this; }
164
166
171 inline const Aws::Map<Aws::String, Aws::String>& GetIdentityPoolTags() const{ return m_identityPoolTags; }
172 inline void SetIdentityPoolTags(const Aws::Map<Aws::String, Aws::String>& value) { m_identityPoolTags = value; }
173 inline void SetIdentityPoolTags(Aws::Map<Aws::String, Aws::String>&& value) { m_identityPoolTags = std::move(value); }
176 inline DescribeIdentityPoolResult& AddIdentityPoolTags(const Aws::String& key, const Aws::String& value) { m_identityPoolTags.emplace(key, value); return *this; }
177 inline DescribeIdentityPoolResult& AddIdentityPoolTags(Aws::String&& key, const Aws::String& value) { m_identityPoolTags.emplace(std::move(key), value); return *this; }
178 inline DescribeIdentityPoolResult& AddIdentityPoolTags(const Aws::String& key, Aws::String&& value) { m_identityPoolTags.emplace(key, std::move(value)); return *this; }
179 inline DescribeIdentityPoolResult& AddIdentityPoolTags(Aws::String&& key, Aws::String&& value) { m_identityPoolTags.emplace(std::move(key), std::move(value)); return *this; }
180 inline DescribeIdentityPoolResult& AddIdentityPoolTags(const char* key, Aws::String&& value) { m_identityPoolTags.emplace(key, std::move(value)); return *this; }
181 inline DescribeIdentityPoolResult& AddIdentityPoolTags(Aws::String&& key, const char* value) { m_identityPoolTags.emplace(std::move(key), value); return *this; }
182 inline DescribeIdentityPoolResult& AddIdentityPoolTags(const char* key, const char* value) { m_identityPoolTags.emplace(key, value); return *this; }
184
186
187 inline const Aws::String& GetRequestId() const{ return m_requestId; }
188 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
189 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
190 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
191 inline DescribeIdentityPoolResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
192 inline DescribeIdentityPoolResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
193 inline DescribeIdentityPoolResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
195 private:
196
197 Aws::String m_identityPoolId;
198
199 Aws::String m_identityPoolName;
200
201 bool m_allowUnauthenticatedIdentities;
202
203 bool m_allowClassicFlow;
204
205 Aws::Map<Aws::String, Aws::String> m_supportedLoginProviders;
206
207 Aws::String m_developerProviderName;
208
209 Aws::Vector<Aws::String> m_openIdConnectProviderARNs;
210
211 Aws::Vector<CognitoIdentityProvider> m_cognitoIdentityProviders;
212
213 Aws::Vector<Aws::String> m_samlProviderARNs;
214
215 Aws::Map<Aws::String, Aws::String> m_identityPoolTags;
216
217 Aws::String m_requestId;
218 };
219
220} // namespace Model
221} // namespace CognitoIdentity
222} // namespace Aws
DescribeIdentityPoolResult & WithDeveloperProviderName(Aws::String &&value)
DescribeIdentityPoolResult & AddOpenIdConnectProviderARNs(const Aws::String &value)
void SetSupportedLoginProviders(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIdentityPoolResult & WithAllowClassicFlow(bool value)
DescribeIdentityPoolResult & AddIdentityPoolTags(Aws::String &&key, const char *value)
DescribeIdentityPoolResult & WithIdentityPoolId(const char *value)
DescribeIdentityPoolResult & WithOpenIdConnectProviderARNs(Aws::Vector< Aws::String > &&value)
AWS_COGNITOIDENTITY_API DescribeIdentityPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIdentityPoolResult & AddSamlProviderARNs(const Aws::String &value)
void SetIdentityPoolTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetIdentityPoolTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIdentityPoolResult & WithRequestId(const Aws::String &value)
DescribeIdentityPoolResult & WithCognitoIdentityProviders(Aws::Vector< CognitoIdentityProvider > &&value)
DescribeIdentityPoolResult & AddIdentityPoolTags(Aws::String &&key, const Aws::String &value)
DescribeIdentityPoolResult & AddSupportedLoginProviders(Aws::String &&key, const char *value)
DescribeIdentityPoolResult & WithDeveloperProviderName(const Aws::String &value)
DescribeIdentityPoolResult & WithOpenIdConnectProviderARNs(const Aws::Vector< Aws::String > &value)
DescribeIdentityPoolResult & AddSupportedLoginProviders(const char *key, const char *value)
DescribeIdentityPoolResult & AddSupportedLoginProviders(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetIdentityPoolTags() const
DescribeIdentityPoolResult & AddOpenIdConnectProviderARNs(Aws::String &&value)
void SetOpenIdConnectProviderARNs(Aws::Vector< Aws::String > &&value)
DescribeIdentityPoolResult & WithIdentityPoolId(Aws::String &&value)
DescribeIdentityPoolResult & WithSupportedLoginProviders(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIdentityPoolResult & WithRequestId(Aws::String &&value)
DescribeIdentityPoolResult & AddSupportedLoginProviders(const Aws::String &key, const Aws::String &value)
void SetSamlProviderARNs(const Aws::Vector< Aws::String > &value)
DescribeIdentityPoolResult & AddIdentityPoolTags(const Aws::String &key, const Aws::String &value)
DescribeIdentityPoolResult & WithSamlProviderARNs(Aws::Vector< Aws::String > &&value)
void SetCognitoIdentityProviders(const Aws::Vector< CognitoIdentityProvider > &value)
void SetCognitoIdentityProviders(Aws::Vector< CognitoIdentityProvider > &&value)
const Aws::Map< Aws::String, Aws::String > & GetSupportedLoginProviders() const
DescribeIdentityPoolResult & AddOpenIdConnectProviderARNs(const char *value)
AWS_COGNITOIDENTITY_API DescribeIdentityPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIdentityPoolResult & AddCognitoIdentityProviders(const CognitoIdentityProvider &value)
DescribeIdentityPoolResult & AddSupportedLoginProviders(Aws::String &&key, const Aws::String &value)
DescribeIdentityPoolResult & WithCognitoIdentityProviders(const Aws::Vector< CognitoIdentityProvider > &value)
const Aws::Vector< Aws::String > & GetOpenIdConnectProviderARNs() const
DescribeIdentityPoolResult & WithSupportedLoginProviders(const Aws::Map< Aws::String, Aws::String > &value)
void SetOpenIdConnectProviderARNs(const Aws::Vector< Aws::String > &value)
DescribeIdentityPoolResult & WithIdentityPoolTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeIdentityPoolResult & WithIdentityPoolId(const Aws::String &value)
DescribeIdentityPoolResult & AddSupportedLoginProviders(const char *key, Aws::String &&value)
DescribeIdentityPoolResult & AddIdentityPoolTags(const char *key, const char *value)
const Aws::Vector< CognitoIdentityProvider > & GetCognitoIdentityProviders() const
const Aws::Vector< Aws::String > & GetSamlProviderARNs() const
DescribeIdentityPoolResult & AddSupportedLoginProviders(const Aws::String &key, Aws::String &&value)
void SetSupportedLoginProviders(const Aws::Map< Aws::String, Aws::String > &value)
DescribeIdentityPoolResult & AddCognitoIdentityProviders(CognitoIdentityProvider &&value)
DescribeIdentityPoolResult & AddIdentityPoolTags(const char *key, Aws::String &&value)
DescribeIdentityPoolResult & AddSamlProviderARNs(Aws::String &&value)
DescribeIdentityPoolResult & WithSamlProviderARNs(const Aws::Vector< Aws::String > &value)
DescribeIdentityPoolResult & AddIdentityPoolTags(const Aws::String &key, Aws::String &&value)
DescribeIdentityPoolResult & WithAllowUnauthenticatedIdentities(bool value)
DescribeIdentityPoolResult & AddIdentityPoolTags(Aws::String &&key, Aws::String &&value)
DescribeIdentityPoolResult & WithIdentityPoolName(Aws::String &&value)
DescribeIdentityPoolResult & WithDeveloperProviderName(const char *value)
DescribeIdentityPoolResult & WithRequestId(const char *value)
DescribeIdentityPoolResult & WithIdentityPoolTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIdentityPoolResult & WithIdentityPoolName(const char *value)
DescribeIdentityPoolResult & AddSamlProviderARNs(const char *value)
DescribeIdentityPoolResult & WithIdentityPoolName(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue