AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIdentityProviderRequest.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/cognito-idp/model/IdentityProviderTypeType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CognitoIdentityProvider
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_COGNITOIDENTITYPROVIDER_API CreateIdentityProviderRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateIdentityProvider"; }
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
36
37 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
45 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
46 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
47 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
48 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
49 inline CreateIdentityProviderRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
50 inline CreateIdentityProviderRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
51 inline CreateIdentityProviderRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
53
55
58 inline const Aws::String& GetProviderName() const{ return m_providerName; }
59 inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
60 inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
61 inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
62 inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
63 inline CreateIdentityProviderRequest& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
64 inline CreateIdentityProviderRequest& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
65 inline CreateIdentityProviderRequest& WithProviderName(const char* value) { SetProviderName(value); return *this;}
67
69
72 inline const IdentityProviderTypeType& GetProviderType() const{ return m_providerType; }
73 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
74 inline void SetProviderType(const IdentityProviderTypeType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
75 inline void SetProviderType(IdentityProviderTypeType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
79
81
164 inline const Aws::Map<Aws::String, Aws::String>& GetProviderDetails() const{ return m_providerDetails; }
165 inline bool ProviderDetailsHasBeenSet() const { return m_providerDetailsHasBeenSet; }
166 inline void SetProviderDetails(const Aws::Map<Aws::String, Aws::String>& value) { m_providerDetailsHasBeenSet = true; m_providerDetails = value; }
167 inline void SetProviderDetails(Aws::Map<Aws::String, Aws::String>&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails = std::move(value); }
170 inline CreateIdentityProviderRequest& AddProviderDetails(const Aws::String& key, const Aws::String& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, value); return *this; }
171 inline CreateIdentityProviderRequest& AddProviderDetails(Aws::String&& key, const Aws::String& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(std::move(key), value); return *this; }
172 inline CreateIdentityProviderRequest& AddProviderDetails(const Aws::String& key, Aws::String&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, std::move(value)); return *this; }
173 inline CreateIdentityProviderRequest& AddProviderDetails(Aws::String&& key, Aws::String&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(std::move(key), std::move(value)); return *this; }
174 inline CreateIdentityProviderRequest& AddProviderDetails(const char* key, Aws::String&& value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, std::move(value)); return *this; }
175 inline CreateIdentityProviderRequest& AddProviderDetails(Aws::String&& key, const char* value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(std::move(key), value); return *this; }
176 inline CreateIdentityProviderRequest& AddProviderDetails(const char* key, const char* value) { m_providerDetailsHasBeenSet = true; m_providerDetails.emplace(key, value); return *this; }
178
180
183 inline const Aws::Map<Aws::String, Aws::String>& GetAttributeMapping() const{ return m_attributeMapping; }
184 inline bool AttributeMappingHasBeenSet() const { return m_attributeMappingHasBeenSet; }
185 inline void SetAttributeMapping(const Aws::Map<Aws::String, Aws::String>& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping = value; }
186 inline void SetAttributeMapping(Aws::Map<Aws::String, Aws::String>&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping = std::move(value); }
189 inline CreateIdentityProviderRequest& AddAttributeMapping(const Aws::String& key, const Aws::String& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, value); return *this; }
190 inline CreateIdentityProviderRequest& AddAttributeMapping(Aws::String&& key, const Aws::String& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(std::move(key), value); return *this; }
191 inline CreateIdentityProviderRequest& AddAttributeMapping(const Aws::String& key, Aws::String&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, std::move(value)); return *this; }
192 inline CreateIdentityProviderRequest& AddAttributeMapping(Aws::String&& key, Aws::String&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(std::move(key), std::move(value)); return *this; }
193 inline CreateIdentityProviderRequest& AddAttributeMapping(const char* key, Aws::String&& value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, std::move(value)); return *this; }
194 inline CreateIdentityProviderRequest& AddAttributeMapping(Aws::String&& key, const char* value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(std::move(key), value); return *this; }
195 inline CreateIdentityProviderRequest& AddAttributeMapping(const char* key, const char* value) { m_attributeMappingHasBeenSet = true; m_attributeMapping.emplace(key, value); return *this; }
197
199
202 inline const Aws::Vector<Aws::String>& GetIdpIdentifiers() const{ return m_idpIdentifiers; }
203 inline bool IdpIdentifiersHasBeenSet() const { return m_idpIdentifiersHasBeenSet; }
204 inline void SetIdpIdentifiers(const Aws::Vector<Aws::String>& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers = value; }
205 inline void SetIdpIdentifiers(Aws::Vector<Aws::String>&& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers = std::move(value); }
208 inline CreateIdentityProviderRequest& AddIdpIdentifiers(const Aws::String& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers.push_back(value); return *this; }
209 inline CreateIdentityProviderRequest& AddIdpIdentifiers(Aws::String&& value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers.push_back(std::move(value)); return *this; }
210 inline CreateIdentityProviderRequest& AddIdpIdentifiers(const char* value) { m_idpIdentifiersHasBeenSet = true; m_idpIdentifiers.push_back(value); return *this; }
212 private:
213
214 Aws::String m_userPoolId;
215 bool m_userPoolIdHasBeenSet = false;
216
217 Aws::String m_providerName;
218 bool m_providerNameHasBeenSet = false;
219
220 IdentityProviderTypeType m_providerType;
221 bool m_providerTypeHasBeenSet = false;
222
223 Aws::Map<Aws::String, Aws::String> m_providerDetails;
224 bool m_providerDetailsHasBeenSet = false;
225
226 Aws::Map<Aws::String, Aws::String> m_attributeMapping;
227 bool m_attributeMappingHasBeenSet = false;
228
229 Aws::Vector<Aws::String> m_idpIdentifiers;
230 bool m_idpIdentifiersHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace CognitoIdentityProvider
235} // namespace Aws
CreateIdentityProviderRequest & WithProviderType(const IdentityProviderTypeType &value)
CreateIdentityProviderRequest & AddProviderDetails(Aws::String &&key, const Aws::String &value)
CreateIdentityProviderRequest & AddAttributeMapping(const char *key, Aws::String &&value)
void SetProviderDetails(const Aws::Map< Aws::String, Aws::String > &value)
void SetAttributeMapping(const Aws::Map< Aws::String, Aws::String > &value)
CreateIdentityProviderRequest & WithProviderDetails(const Aws::Map< Aws::String, Aws::String > &value)
CreateIdentityProviderRequest & WithIdpIdentifiers(const Aws::Vector< Aws::String > &value)
CreateIdentityProviderRequest & AddProviderDetails(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributeMapping() const
CreateIdentityProviderRequest & WithProviderDetails(Aws::Map< Aws::String, Aws::String > &&value)
CreateIdentityProviderRequest & AddProviderDetails(const Aws::String &key, Aws::String &&value)
CreateIdentityProviderRequest & WithProviderName(const Aws::String &value)
CreateIdentityProviderRequest & WithIdpIdentifiers(Aws::Vector< Aws::String > &&value)
CreateIdentityProviderRequest & AddAttributeMapping(Aws::String &&key, Aws::String &&value)
CreateIdentityProviderRequest & AddProviderDetails(Aws::String &&key, Aws::String &&value)
CreateIdentityProviderRequest & AddAttributeMapping(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetProviderDetails() const
CreateIdentityProviderRequest & AddAttributeMapping(const Aws::String &key, Aws::String &&value)
CreateIdentityProviderRequest & WithUserPoolId(const Aws::String &value)
CreateIdentityProviderRequest & WithUserPoolId(Aws::String &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
CreateIdentityProviderRequest & AddIdpIdentifiers(Aws::String &&value)
CreateIdentityProviderRequest & AddAttributeMapping(Aws::String &&key, const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIdentityProviderRequest & WithProviderType(IdentityProviderTypeType &&value)
CreateIdentityProviderRequest & AddProviderDetails(Aws::String &&key, const char *value)
CreateIdentityProviderRequest & WithAttributeMapping(const Aws::Map< Aws::String, Aws::String > &value)
CreateIdentityProviderRequest & AddAttributeMapping(const Aws::String &key, const Aws::String &value)
CreateIdentityProviderRequest & AddProviderDetails(const Aws::String &key, const Aws::String &value)
CreateIdentityProviderRequest & WithAttributeMapping(Aws::Map< Aws::String, Aws::String > &&value)
CreateIdentityProviderRequest & WithProviderName(Aws::String &&value)
CreateIdentityProviderRequest & AddAttributeMapping(Aws::String &&key, const char *value)
CreateIdentityProviderRequest & AddProviderDetails(const char *key, const char *value)
CreateIdentityProviderRequest & AddIdpIdentifiers(const Aws::String &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