AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIdentityPoolResult.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 UpdateIdentityPoolResult();
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 UpdateIdentityPoolResult& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
53 inline UpdateIdentityPoolResult& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
54 inline UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& WithIdentityPoolName(Aws::String&& value) { SetIdentityPoolName(std::move(value)); return *this;}
67 inline UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& AddSupportedLoginProviders(const Aws::String& key, const Aws::String& value) { m_supportedLoginProviders.emplace(key, value); return *this; }
102 inline UpdateIdentityPoolResult& AddSupportedLoginProviders(Aws::String&& key, const Aws::String& value) { m_supportedLoginProviders.emplace(std::move(key), value); return *this; }
103 inline UpdateIdentityPoolResult& AddSupportedLoginProviders(const Aws::String& key, Aws::String&& value) { m_supportedLoginProviders.emplace(key, std::move(value)); return *this; }
104 inline UpdateIdentityPoolResult& AddSupportedLoginProviders(Aws::String&& key, Aws::String&& value) { m_supportedLoginProviders.emplace(std::move(key), std::move(value)); return *this; }
105 inline UpdateIdentityPoolResult& AddSupportedLoginProviders(const char* key, Aws::String&& value) { m_supportedLoginProviders.emplace(key, std::move(value)); return *this; }
106 inline UpdateIdentityPoolResult& AddSupportedLoginProviders(Aws::String&& key, const char* value) { m_supportedLoginProviders.emplace(std::move(key), value); return *this; }
107 inline UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& AddOpenIdConnectProviderARNs(const Aws::String& value) { m_openIdConnectProviderARNs.push_back(value); return *this; }
133 inline UpdateIdentityPoolResult& AddOpenIdConnectProviderARNs(Aws::String&& value) { m_openIdConnectProviderARNs.push_back(std::move(value)); return *this; }
134 inline UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& AddCognitoIdentityProviders(const CognitoIdentityProvider& value) { m_cognitoIdentityProviders.push_back(value); return *this; }
147 inline UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& AddSamlProviderARNs(const Aws::String& value) { m_samlProviderARNs.push_back(value); return *this; }
161 inline UpdateIdentityPoolResult& AddSamlProviderARNs(Aws::String&& value) { m_samlProviderARNs.push_back(std::move(value)); return *this; }
162 inline UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& AddIdentityPoolTags(const Aws::String& key, const Aws::String& value) { m_identityPoolTags.emplace(key, value); return *this; }
177 inline UpdateIdentityPoolResult& AddIdentityPoolTags(Aws::String&& key, const Aws::String& value) { m_identityPoolTags.emplace(std::move(key), value); return *this; }
178 inline UpdateIdentityPoolResult& AddIdentityPoolTags(const Aws::String& key, Aws::String&& value) { m_identityPoolTags.emplace(key, std::move(value)); return *this; }
179 inline UpdateIdentityPoolResult& AddIdentityPoolTags(Aws::String&& key, Aws::String&& value) { m_identityPoolTags.emplace(std::move(key), std::move(value)); return *this; }
180 inline UpdateIdentityPoolResult& AddIdentityPoolTags(const char* key, Aws::String&& value) { m_identityPoolTags.emplace(key, std::move(value)); return *this; }
181 inline UpdateIdentityPoolResult& AddIdentityPoolTags(Aws::String&& key, const char* value) { m_identityPoolTags.emplace(std::move(key), value); return *this; }
182 inline UpdateIdentityPoolResult& 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 UpdateIdentityPoolResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
192 inline UpdateIdentityPoolResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
193 inline UpdateIdentityPoolResult& 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
UpdateIdentityPoolResult & WithSupportedLoginProviders(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityPoolResult & WithIdentityPoolName(const Aws::String &value)
UpdateIdentityPoolResult & WithRequestId(const Aws::String &value)
UpdateIdentityPoolResult & AddSupportedLoginProviders(const char *key, Aws::String &&value)
void SetSamlProviderARNs(const Aws::Vector< Aws::String > &value)
UpdateIdentityPoolResult & WithRequestId(Aws::String &&value)
UpdateIdentityPoolResult & AddIdentityPoolTags(Aws::String &&key, Aws::String &&value)
UpdateIdentityPoolResult & AddCognitoIdentityProviders(CognitoIdentityProvider &&value)
UpdateIdentityPoolResult & WithIdentityPoolTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityPoolResult & WithAllowClassicFlow(bool value)
UpdateIdentityPoolResult & WithCognitoIdentityProviders(const Aws::Vector< CognitoIdentityProvider > &value)
UpdateIdentityPoolResult & AddSupportedLoginProviders(Aws::String &&key, const char *value)
UpdateIdentityPoolResult & WithDeveloperProviderName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSamlProviderARNs() const
UpdateIdentityPoolResult & AddOpenIdConnectProviderARNs(const Aws::String &value)
UpdateIdentityPoolResult & WithIdentityPoolName(const char *value)
UpdateIdentityPoolResult & WithIdentityPoolId(const Aws::String &value)
UpdateIdentityPoolResult & WithOpenIdConnectProviderARNs(const Aws::Vector< Aws::String > &value)
void SetIdentityPoolTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetSupportedLoginProviders() const
UpdateIdentityPoolResult & AddSamlProviderARNs(Aws::String &&value)
UpdateIdentityPoolResult & AddSupportedLoginProviders(Aws::String &&key, Aws::String &&value)
UpdateIdentityPoolResult & WithRequestId(const char *value)
UpdateIdentityPoolResult & AddSupportedLoginProviders(Aws::String &&key, const Aws::String &value)
UpdateIdentityPoolResult & WithIdentityPoolName(Aws::String &&value)
UpdateIdentityPoolResult & WithIdentityPoolTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityPoolResult & WithCognitoIdentityProviders(Aws::Vector< CognitoIdentityProvider > &&value)
AWS_COGNITOIDENTITY_API UpdateIdentityPoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COGNITOIDENTITY_API UpdateIdentityPoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIdentityPoolResult & WithAllowUnauthenticatedIdentities(bool value)
UpdateIdentityPoolResult & AddIdentityPoolTags(const Aws::String &key, const Aws::String &value)
UpdateIdentityPoolResult & WithDeveloperProviderName(const char *value)
const Aws::Vector< Aws::String > & GetOpenIdConnectProviderARNs() const
UpdateIdentityPoolResult & AddIdentityPoolTags(const char *key, const char *value)
UpdateIdentityPoolResult & AddOpenIdConnectProviderARNs(Aws::String &&value)
UpdateIdentityPoolResult & WithOpenIdConnectProviderARNs(Aws::Vector< Aws::String > &&value)
void SetCognitoIdentityProviders(const Aws::Vector< CognitoIdentityProvider > &value)
void SetOpenIdConnectProviderARNs(const Aws::Vector< Aws::String > &value)
UpdateIdentityPoolResult & WithIdentityPoolId(const char *value)
UpdateIdentityPoolResult & WithDeveloperProviderName(const Aws::String &value)
UpdateIdentityPoolResult & WithSamlProviderARNs(const Aws::Vector< Aws::String > &value)
UpdateIdentityPoolResult & AddIdentityPoolTags(Aws::String &&key, const Aws::String &value)
UpdateIdentityPoolResult & AddCognitoIdentityProviders(const CognitoIdentityProvider &value)
const Aws::Vector< CognitoIdentityProvider > & GetCognitoIdentityProviders() const
UpdateIdentityPoolResult & AddIdentityPoolTags(const char *key, Aws::String &&value)
void SetSupportedLoginProviders(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityPoolResult & AddSupportedLoginProviders(const Aws::String &key, Aws::String &&value)
UpdateIdentityPoolResult & AddSamlProviderARNs(const Aws::String &value)
UpdateIdentityPoolResult & AddOpenIdConnectProviderARNs(const char *value)
void SetSamlProviderARNs(Aws::Vector< Aws::String > &&value)
UpdateIdentityPoolResult & WithSamlProviderARNs(Aws::Vector< Aws::String > &&value)
void SetCognitoIdentityProviders(Aws::Vector< CognitoIdentityProvider > &&value)
UpdateIdentityPoolResult & WithIdentityPoolId(Aws::String &&value)
UpdateIdentityPoolResult & AddIdentityPoolTags(const Aws::String &key, Aws::String &&value)
UpdateIdentityPoolResult & AddSamlProviderARNs(const char *value)
UpdateIdentityPoolResult & AddSupportedLoginProviders(const char *key, const char *value)
void SetIdentityPoolTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetIdentityPoolTags() const
UpdateIdentityPoolResult & AddSupportedLoginProviders(const Aws::String &key, const Aws::String &value)
void SetSupportedLoginProviders(const Aws::Map< Aws::String, Aws::String > &value)
void SetOpenIdConnectProviderARNs(Aws::Vector< Aws::String > &&value)
UpdateIdentityPoolResult & WithSupportedLoginProviders(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityPoolResult & AddIdentityPoolTags(Aws::String &&key, const char *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