AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfirmSignUpRequest.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/AnalyticsMetadataType.h>
11#include <aws/cognito-idp/model/UserContextDataType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CognitoIdentityProvider
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_COGNITOIDENTITYPROVIDER_API ConfirmSignUpRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ConfirmSignUp"; }
38
39 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
40
41 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
48 inline const Aws::String& GetClientId() const{ return m_clientId; }
49 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
50 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
51 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
52 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
53 inline ConfirmSignUpRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
54 inline ConfirmSignUpRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
55 inline ConfirmSignUpRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
57
59
63 inline const Aws::String& GetSecretHash() const{ return m_secretHash; }
64 inline bool SecretHashHasBeenSet() const { return m_secretHashHasBeenSet; }
65 inline void SetSecretHash(const Aws::String& value) { m_secretHashHasBeenSet = true; m_secretHash = value; }
66 inline void SetSecretHash(Aws::String&& value) { m_secretHashHasBeenSet = true; m_secretHash = std::move(value); }
67 inline void SetSecretHash(const char* value) { m_secretHashHasBeenSet = true; m_secretHash.assign(value); }
68 inline ConfirmSignUpRequest& WithSecretHash(const Aws::String& value) { SetSecretHash(value); return *this;}
69 inline ConfirmSignUpRequest& WithSecretHash(Aws::String&& value) { SetSecretHash(std::move(value)); return *this;}
70 inline ConfirmSignUpRequest& WithSecretHash(const char* value) { SetSecretHash(value); return *this;}
72
74
81 inline const Aws::String& GetUsername() const{ return m_username; }
82 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
83 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
84 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
85 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
86 inline ConfirmSignUpRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
87 inline ConfirmSignUpRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
88 inline ConfirmSignUpRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
90
92
95 inline const Aws::String& GetConfirmationCode() const{ return m_confirmationCode; }
96 inline bool ConfirmationCodeHasBeenSet() const { return m_confirmationCodeHasBeenSet; }
97 inline void SetConfirmationCode(const Aws::String& value) { m_confirmationCodeHasBeenSet = true; m_confirmationCode = value; }
98 inline void SetConfirmationCode(Aws::String&& value) { m_confirmationCodeHasBeenSet = true; m_confirmationCode = std::move(value); }
99 inline void SetConfirmationCode(const char* value) { m_confirmationCodeHasBeenSet = true; m_confirmationCode.assign(value); }
100 inline ConfirmSignUpRequest& WithConfirmationCode(const Aws::String& value) { SetConfirmationCode(value); return *this;}
101 inline ConfirmSignUpRequest& WithConfirmationCode(Aws::String&& value) { SetConfirmationCode(std::move(value)); return *this;}
102 inline ConfirmSignUpRequest& WithConfirmationCode(const char* value) { SetConfirmationCode(value); return *this;}
104
106
115 inline bool GetForceAliasCreation() const{ return m_forceAliasCreation; }
116 inline bool ForceAliasCreationHasBeenSet() const { return m_forceAliasCreationHasBeenSet; }
117 inline void SetForceAliasCreation(bool value) { m_forceAliasCreationHasBeenSet = true; m_forceAliasCreation = value; }
118 inline ConfirmSignUpRequest& WithForceAliasCreation(bool value) { SetForceAliasCreation(value); return *this;}
120
122
126 inline const AnalyticsMetadataType& GetAnalyticsMetadata() const{ return m_analyticsMetadata; }
127 inline bool AnalyticsMetadataHasBeenSet() const { return m_analyticsMetadataHasBeenSet; }
128 inline void SetAnalyticsMetadata(const AnalyticsMetadataType& value) { m_analyticsMetadataHasBeenSet = true; m_analyticsMetadata = value; }
129 inline void SetAnalyticsMetadata(AnalyticsMetadataType&& value) { m_analyticsMetadataHasBeenSet = true; m_analyticsMetadata = std::move(value); }
133
135
141 inline const UserContextDataType& GetUserContextData() const{ return m_userContextData; }
142 inline bool UserContextDataHasBeenSet() const { return m_userContextDataHasBeenSet; }
143 inline void SetUserContextData(const UserContextDataType& value) { m_userContextDataHasBeenSet = true; m_userContextData = value; }
144 inline void SetUserContextData(UserContextDataType&& value) { m_userContextDataHasBeenSet = true; m_userContextData = std::move(value); }
146 inline ConfirmSignUpRequest& WithUserContextData(UserContextDataType&& value) { SetUserContextData(std::move(value)); return *this;}
148
150
172 inline const Aws::Map<Aws::String, Aws::String>& GetClientMetadata() const{ return m_clientMetadata; }
173 inline bool ClientMetadataHasBeenSet() const { return m_clientMetadataHasBeenSet; }
174 inline void SetClientMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = value; }
175 inline void SetClientMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata = std::move(value); }
178 inline ConfirmSignUpRequest& AddClientMetadata(const Aws::String& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
179 inline ConfirmSignUpRequest& AddClientMetadata(Aws::String&& key, const Aws::String& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
180 inline ConfirmSignUpRequest& AddClientMetadata(const Aws::String& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
181 inline ConfirmSignUpRequest& AddClientMetadata(Aws::String&& key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), std::move(value)); return *this; }
182 inline ConfirmSignUpRequest& AddClientMetadata(const char* key, Aws::String&& value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, std::move(value)); return *this; }
183 inline ConfirmSignUpRequest& AddClientMetadata(Aws::String&& key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(std::move(key), value); return *this; }
184 inline ConfirmSignUpRequest& AddClientMetadata(const char* key, const char* value) { m_clientMetadataHasBeenSet = true; m_clientMetadata.emplace(key, value); return *this; }
186 private:
187
188 Aws::String m_clientId;
189 bool m_clientIdHasBeenSet = false;
190
191 Aws::String m_secretHash;
192 bool m_secretHashHasBeenSet = false;
193
194 Aws::String m_username;
195 bool m_usernameHasBeenSet = false;
196
197 Aws::String m_confirmationCode;
198 bool m_confirmationCodeHasBeenSet = false;
199
200 bool m_forceAliasCreation;
201 bool m_forceAliasCreationHasBeenSet = false;
202
203 AnalyticsMetadataType m_analyticsMetadata;
204 bool m_analyticsMetadataHasBeenSet = false;
205
206 UserContextDataType m_userContextData;
207 bool m_userContextDataHasBeenSet = false;
208
209 Aws::Map<Aws::String, Aws::String> m_clientMetadata;
210 bool m_clientMetadataHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace CognitoIdentityProvider
215} // namespace Aws
ConfirmSignUpRequest & WithConfirmationCode(Aws::String &&value)
ConfirmSignUpRequest & WithUserContextData(const UserContextDataType &value)
ConfirmSignUpRequest & WithClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ConfirmSignUpRequest & WithConfirmationCode(const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
ConfirmSignUpRequest & WithConfirmationCode(const char *value)
ConfirmSignUpRequest & WithUsername(const char *value)
ConfirmSignUpRequest & WithSecretHash(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ConfirmSignUpRequest & WithClientId(const Aws::String &value)
ConfirmSignUpRequest & WithUsername(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetClientMetadata() const
void SetAnalyticsMetadata(const AnalyticsMetadataType &value)
ConfirmSignUpRequest & AddClientMetadata(Aws::String &&key, const Aws::String &value)
ConfirmSignUpRequest & AddClientMetadata(const char *key, Aws::String &&value)
ConfirmSignUpRequest & AddClientMetadata(const Aws::String &key, Aws::String &&value)
ConfirmSignUpRequest & AddClientMetadata(const Aws::String &key, const Aws::String &value)
ConfirmSignUpRequest & WithClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ConfirmSignUpRequest & WithAnalyticsMetadata(const AnalyticsMetadataType &value)
ConfirmSignUpRequest & AddClientMetadata(Aws::String &&key, const char *value)
ConfirmSignUpRequest & AddClientMetadata(Aws::String &&key, Aws::String &&value)
ConfirmSignUpRequest & WithUserContextData(UserContextDataType &&value)
AWS_COGNITOIDENTITYPROVIDER_API ConfirmSignUpRequest()
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ConfirmSignUpRequest & WithClientId(const char *value)
ConfirmSignUpRequest & WithSecretHash(const char *value)
ConfirmSignUpRequest & WithSecretHash(const Aws::String &value)
ConfirmSignUpRequest & WithAnalyticsMetadata(AnalyticsMetadataType &&value)
void SetClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ConfirmSignUpRequest & WithClientId(Aws::String &&value)
ConfirmSignUpRequest & AddClientMetadata(const char *key, const char *value)
ConfirmSignUpRequest & WithUsername(const Aws::String &value)
void SetClientMetadata(Aws::Map< Aws::String, 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