AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateIdentityProviderRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CognitoIdentityProvider
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_COGNITOIDENTITYPROVIDER_API UpdateIdentityProviderRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdentityProvider"; }
33
34 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
35
36 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
44 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
45 template<typename UserPoolIdT = Aws::String>
46 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
47 template<typename UserPoolIdT = Aws::String>
48 UpdateIdentityProviderRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
50
52
59 inline const Aws::String& GetProviderName() const { return m_providerName; }
60 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
61 template<typename ProviderNameT = Aws::String>
62 void SetProviderName(ProviderNameT&& value) { m_providerNameHasBeenSet = true; m_providerName = std::forward<ProviderNameT>(value); }
63 template<typename ProviderNameT = Aws::String>
64 UpdateIdentityProviderRequest& WithProviderName(ProviderNameT&& value) { SetProviderName(std::forward<ProviderNameT>(value)); return *this;}
66
68
151 inline const Aws::Map<Aws::String, Aws::String>& GetProviderDetails() const { return m_providerDetails; }
152 inline bool ProviderDetailsHasBeenSet() const { return m_providerDetailsHasBeenSet; }
153 template<typename ProviderDetailsT = Aws::Map<Aws::String, Aws::String>>
154 void SetProviderDetails(ProviderDetailsT&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails = std::forward<ProviderDetailsT>(value); }
155 template<typename ProviderDetailsT = Aws::Map<Aws::String, Aws::String>>
156 UpdateIdentityProviderRequest& WithProviderDetails(ProviderDetailsT&& value) { SetProviderDetails(std::forward<ProviderDetailsT>(value)); return *this;}
157 template<typename ProviderDetailsKeyT = Aws::String, typename ProviderDetailsValueT = Aws::String>
158 UpdateIdentityProviderRequest& AddProviderDetails(ProviderDetailsKeyT&& key, ProviderDetailsValueT&& value) {
159 m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(std::forward<ProviderDetailsKeyT>(key), std::forward<ProviderDetailsValueT>(value)); return *this;
160 }
162
164
169 inline const Aws::Map<Aws::String, Aws::String>& GetAttributeMapping() const { return m_attributeMapping; }
170 inline bool AttributeMappingHasBeenSet() const { return m_attributeMappingHasBeenSet; }
171 template<typename AttributeMappingT = Aws::Map<Aws::String, Aws::String>>
172 void SetAttributeMapping(AttributeMappingT&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping = std::forward<AttributeMappingT>(value); }
173 template<typename AttributeMappingT = Aws::Map<Aws::String, Aws::String>>
174 UpdateIdentityProviderRequest& WithAttributeMapping(AttributeMappingT&& value) { SetAttributeMapping(std::forward<AttributeMappingT>(value)); return *this;}
175 template<typename AttributeMappingKeyT = Aws::String, typename AttributeMappingValueT = Aws::String>
176 UpdateIdentityProviderRequest& AddAttributeMapping(AttributeMappingKeyT&& key, AttributeMappingValueT&& value) {
177 m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(std::forward<AttributeMappingKeyT>(key), std::forward<AttributeMappingValueT>(value)); return *this;
178 }
180
182
192 inline const Aws::Vector<Aws::String>& GetIdpIdentifiers() const { return m_idpIdentifiers; }
193 inline bool IdpIdentifiersHasBeenSet() const { return m_idpIdentifiersHasBeenSet; }
194 template<typename IdpIdentifiersT = Aws::Vector<Aws::String>>
195 void SetIdpIdentifiers(IdpIdentifiersT&& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers = std::forward<IdpIdentifiersT>(value); }
196 template<typename IdpIdentifiersT = Aws::Vector<Aws::String>>
197 UpdateIdentityProviderRequest& WithIdpIdentifiers(IdpIdentifiersT&& value) { SetIdpIdentifiers(std::forward<IdpIdentifiersT>(value)); return *this;}
198 template<typename IdpIdentifiersT = Aws::String>
199 UpdateIdentityProviderRequest& AddIdpIdentifiers(IdpIdentifiersT&& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers.emplace_back(std::forward<IdpIdentifiersT>(value)); return *this; }
201 private:
202
203 Aws::String m_userPoolId;
204 bool m_userPoolIdHasBeenSet = false;
205
206 Aws::String m_providerName;
207 bool m_providerNameHasBeenSet = false;
208
209 Aws::Map<Aws::String, Aws::String> m_providerDetails;
210 bool m_providerDetailsHasBeenSet = false;
211
212 Aws::Map<Aws::String, Aws::String> m_attributeMapping;
213 bool m_attributeMappingHasBeenSet = false;
214
215 Aws::Vector<Aws::String> m_idpIdentifiers;
216 bool m_idpIdentifiersHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace CognitoIdentityProvider
221} // 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