AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
46 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
47 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
48 inline UpdateIdentityProviderRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
49 inline UpdateIdentityProviderRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
50 inline UpdateIdentityProviderRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
52
54
57 inline const Aws::String& GetProviderName() const{ return m_providerName; }
58 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
59 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
60 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
61 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
62 inline UpdateIdentityProviderRequest& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
63 inline UpdateIdentityProviderRequest& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
64 inline UpdateIdentityProviderRequest& WithProviderName(const char* value) { SetProviderName(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 inline void SetProviderDetails(const Aws::Map<Aws::String, Aws::String>& value) { m_providerDetailsHasBeenSet = true; m_providerDetails = value; }
154 inline void SetProviderDetails(Aws::Map<Aws::String, Aws::String>&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails = std::move(value); }
157 inline UpdateIdentityProviderRequest& AddProviderDetails(const Aws::String& key, const Aws::String& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, value); return *this; }
158 inline UpdateIdentityProviderRequest& AddProviderDetails(Aws::String&& key, const Aws::String& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(std::move(key), value); return *this; }
159 inline UpdateIdentityProviderRequest& AddProviderDetails(const Aws::String& key, Aws::String&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, std::move(value)); return *this; }
160 inline UpdateIdentityProviderRequest& AddProviderDetails(Aws::String&& key, Aws::String&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(std::move(key), std::move(value)); return *this; }
161 inline UpdateIdentityProviderRequest& AddProviderDetails(const char* key, Aws::String&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, std::move(value)); return *this; }
162 inline UpdateIdentityProviderRequest& AddProviderDetails(Aws::String&& key, const char* value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(std::move(key), value); return *this; }
163 inline UpdateIdentityProviderRequest& AddProviderDetails(const char* key, const char* value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, value); return *this; }
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetAttributeMapping() const{ return m_attributeMapping; }
171 inline bool AttributeMappingHasBeenSet() const { return m_attributeMappingHasBeenSet; }
172 inline void SetAttributeMapping(const Aws::Map<Aws::String, Aws::String>& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping = value; }
173 inline void SetAttributeMapping(Aws::Map<Aws::String, Aws::String>&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping = std::move(value); }
176 inline UpdateIdentityProviderRequest& AddAttributeMapping(const Aws::String& key, const Aws::String& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, value); return *this; }
177 inline UpdateIdentityProviderRequest& AddAttributeMapping(Aws::String&& key, const Aws::String& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(std::move(key), value); return *this; }
178 inline UpdateIdentityProviderRequest& AddAttributeMapping(const Aws::String& key, Aws::String&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, std::move(value)); return *this; }
179 inline UpdateIdentityProviderRequest& AddAttributeMapping(Aws::String&& key, Aws::String&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(std::move(key), std::move(value)); return *this; }
180 inline UpdateIdentityProviderRequest& AddAttributeMapping(const char* key, Aws::String&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, std::move(value)); return *this; }
181 inline UpdateIdentityProviderRequest& AddAttributeMapping(Aws::String&& key, const char* value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(std::move(key), value); return *this; }
182 inline UpdateIdentityProviderRequest& AddAttributeMapping(const char* key, const char* value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, value); return *this; }
184
186
189 inline const Aws::Vector<Aws::String>& GetIdpIdentifiers() const{ return m_idpIdentifiers; }
190 inline bool IdpIdentifiersHasBeenSet() const { return m_idpIdentifiersHasBeenSet; }
191 inline void SetIdpIdentifiers(const Aws::Vector<Aws::String>& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers = value; }
192 inline void SetIdpIdentifiers(Aws::Vector<Aws::String>&& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers = std::move(value); }
195 inline UpdateIdentityProviderRequest& AddIdpIdentifiers(const Aws::String& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers.push_back(value); return *this; }
196 inline UpdateIdentityProviderRequest& AddIdpIdentifiers(Aws::String&& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers.push_back(std::move(value)); return *this; }
197 inline UpdateIdentityProviderRequest& AddIdpIdentifiers(const char* value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers.push_back(value); return *this; }
199 private:
200
201 Aws::String m_userPoolId;
202 bool m_userPoolIdHasBeenSet = false;
203
204 Aws::String m_providerName;
205 bool m_providerNameHasBeenSet = false;
206
207 Aws::Map<Aws::String, Aws::String> m_providerDetails;
208 bool m_providerDetailsHasBeenSet = false;
209
210 Aws::Map<Aws::String, Aws::String> m_attributeMapping;
211 bool m_attributeMappingHasBeenSet = false;
212
213 Aws::Vector<Aws::String> m_idpIdentifiers;
214 bool m_idpIdentifiersHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace CognitoIdentityProvider
219} // namespace Aws
UpdateIdentityProviderRequest & AddIdpIdentifiers(const Aws::String &value)
UpdateIdentityProviderRequest & WithProviderDetails(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityProviderRequest & WithIdpIdentifiers(const Aws::Vector< Aws::String > &value)
UpdateIdentityProviderRequest & WithUserPoolId(const Aws::String &value)
UpdateIdentityProviderRequest & AddProviderDetails(const char *key, const char *value)
UpdateIdentityProviderRequest & AddProviderDetails(const Aws::String &key, Aws::String &&value)
UpdateIdentityProviderRequest & AddProviderDetails(const Aws::String &key, const Aws::String &value)
UpdateIdentityProviderRequest & AddAttributeMapping(Aws::String &&key, const Aws::String &value)
UpdateIdentityProviderRequest & AddAttributeMapping(const char *key, const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateIdentityProviderRequest & WithProviderName(const Aws::String &value)
UpdateIdentityProviderRequest & AddAttributeMapping(const char *key, Aws::String &&value)
UpdateIdentityProviderRequest & AddProviderDetails(Aws::String &&key, Aws::String &&value)
UpdateIdentityProviderRequest & WithProviderDetails(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityProviderRequest & AddProviderDetails(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributeMapping() const
UpdateIdentityProviderRequest & AddAttributeMapping(Aws::String &&key, Aws::String &&value)
UpdateIdentityProviderRequest & WithAttributeMapping(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIdentityProviderRequest & WithProviderName(Aws::String &&value)
UpdateIdentityProviderRequest & AddProviderDetails(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetProviderDetails() const
UpdateIdentityProviderRequest & AddAttributeMapping(const Aws::String &key, Aws::String &&value)
UpdateIdentityProviderRequest & WithAttributeMapping(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityProviderRequest & WithIdpIdentifiers(Aws::Vector< Aws::String > &&value)
void SetProviderDetails(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityProviderRequest & AddProviderDetails(Aws::String &&key, const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateIdentityProviderRequest & AddAttributeMapping(const Aws::String &key, const Aws::String &value)
UpdateIdentityProviderRequest & WithUserPoolId(Aws::String &&value)
UpdateIdentityProviderRequest & AddIdpIdentifiers(Aws::String &&value)
void SetAttributeMapping(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIdentityProviderRequest & AddAttributeMapping(Aws::String &&key, const char *value)
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