AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
UpdateIdentityProviderRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CognitoIdentityProvider {
17namespace Model {
18
22 public:
23 AWS_COGNITOIDENTITYPROVIDER_API UpdateIdentityProviderRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdentityProvider"; }
30
31 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
32
33 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
40 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
41 template <typename UserPoolIdT = Aws::String>
42 void SetUserPoolId(UserPoolIdT&& value) {
43 m_userPoolIdHasBeenSet = true;
44 m_userPoolId = std::forward<UserPoolIdT>(value);
45 }
46 template <typename UserPoolIdT = Aws::String>
48 SetUserPoolId(std::forward<UserPoolIdT>(value));
49 return *this;
50 }
52
54
61 inline const Aws::String& GetProviderName() const { return m_providerName; }
62 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
63 template <typename ProviderNameT = Aws::String>
64 void SetProviderName(ProviderNameT&& value) {
65 m_providerNameHasBeenSet = true;
66 m_providerName = std::forward<ProviderNameT>(value);
67 }
68 template <typename ProviderNameT = Aws::String>
70 SetProviderName(std::forward<ProviderNameT>(value));
71 return *this;
72 }
74
76
159 inline const Aws::Map<Aws::String, Aws::String>& GetProviderDetails() const { return m_providerDetails; }
160 inline bool ProviderDetailsHasBeenSet() const { return m_providerDetailsHasBeenSet; }
161 template <typename ProviderDetailsT = Aws::Map<Aws::String, Aws::String>>
162 void SetProviderDetails(ProviderDetailsT&& value) {
163 m_providerDetailsHasBeenSet = true;
164 m_providerDetails = std::forward<ProviderDetailsT>(value);
165 }
166 template <typename ProviderDetailsT = Aws::Map<Aws::String, Aws::String>>
168 SetProviderDetails(std::forward<ProviderDetailsT>(value));
169 return *this;
170 }
171 template <typename ProviderDetailsKeyT = Aws::String, typename ProviderDetailsValueT = Aws::String>
172 UpdateIdentityProviderRequest& AddProviderDetails(ProviderDetailsKeyT&& key, ProviderDetailsValueT&& value) {
173 m_providerDetailsHasBeenSet = true;
174 m_providerDetails.emplace(std::forward<ProviderDetailsKeyT>(key), std::forward<ProviderDetailsValueT>(value));
175 return *this;
176 }
178
180
185 inline const Aws::Map<Aws::String, Aws::String>& GetAttributeMapping() const { return m_attributeMapping; }
186 inline bool AttributeMappingHasBeenSet() const { return m_attributeMappingHasBeenSet; }
187 template <typename AttributeMappingT = Aws::Map<Aws::String, Aws::String>>
188 void SetAttributeMapping(AttributeMappingT&& value) {
189 m_attributeMappingHasBeenSet = true;
190 m_attributeMapping = std::forward<AttributeMappingT>(value);
191 }
192 template <typename AttributeMappingT = Aws::Map<Aws::String, Aws::String>>
194 SetAttributeMapping(std::forward<AttributeMappingT>(value));
195 return *this;
196 }
197 template <typename AttributeMappingKeyT = Aws::String, typename AttributeMappingValueT = Aws::String>
198 UpdateIdentityProviderRequest& AddAttributeMapping(AttributeMappingKeyT&& key, AttributeMappingValueT&& value) {
199 m_attributeMappingHasBeenSet = true;
200 m_attributeMapping.emplace(std::forward<AttributeMappingKeyT>(key), std::forward<AttributeMappingValueT>(value));
201 return *this;
202 }
204
206
216 inline const Aws::Vector<Aws::String>& GetIdpIdentifiers() const { return m_idpIdentifiers; }
217 inline bool IdpIdentifiersHasBeenSet() const { return m_idpIdentifiersHasBeenSet; }
218 template <typename IdpIdentifiersT = Aws::Vector<Aws::String>>
219 void SetIdpIdentifiers(IdpIdentifiersT&& value) {
220 m_idpIdentifiersHasBeenSet = true;
221 m_idpIdentifiers = std::forward<IdpIdentifiersT>(value);
222 }
223 template <typename IdpIdentifiersT = Aws::Vector<Aws::String>>
225 SetIdpIdentifiers(std::forward<IdpIdentifiersT>(value));
226 return *this;
227 }
228 template <typename IdpIdentifiersT = Aws::String>
230 m_idpIdentifiersHasBeenSet = true;
231 m_idpIdentifiers.emplace_back(std::forward<IdpIdentifiersT>(value));
232 return *this;
233 }
235 private:
236 Aws::String m_userPoolId;
237
238 Aws::String m_providerName;
239
240 Aws::Map<Aws::String, Aws::String> m_providerDetails;
241
242 Aws::Map<Aws::String, Aws::String> m_attributeMapping;
243
244 Aws::Vector<Aws::String> m_idpIdentifiers;
245 bool m_userPoolIdHasBeenSet = false;
246 bool m_providerNameHasBeenSet = false;
247 bool m_providerDetailsHasBeenSet = false;
248 bool m_attributeMappingHasBeenSet = false;
249 bool m_idpIdentifiersHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace CognitoIdentityProvider
254} // namespace Aws
UpdateIdentityProviderRequest & AddIdpIdentifiers(IdpIdentifiersT &&value)
UpdateIdentityProviderRequest & WithProviderDetails(ProviderDetailsT &&value)
AWS_COGNITOIDENTITYPROVIDER_API UpdateIdentityProviderRequest()=default
UpdateIdentityProviderRequest & WithAttributeMapping(AttributeMappingT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateIdentityProviderRequest & AddAttributeMapping(AttributeMappingKeyT &&key, AttributeMappingValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributeMapping() const
UpdateIdentityProviderRequest & AddProviderDetails(ProviderDetailsKeyT &&key, ProviderDetailsValueT &&value)
UpdateIdentityProviderRequest & WithProviderName(ProviderNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProviderDetails() const
UpdateIdentityProviderRequest & WithIdpIdentifiers(IdpIdentifiersT &&value)
UpdateIdentityProviderRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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