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/AWSVector.h>
11#include <aws/cognito-idp/model/AnalyticsMetadataType.h>
12#include <aws/cognito-idp/model/UserContextDataType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/cognito-idp/model/AttributeType.h>
19namespace CognitoIdentityProvider
53 inline void SetClientId(
const char* value) { m_clientIdHasBeenSet =
true; m_clientId.assign(value); }
68 inline void SetSecretHash(
const char* value) { m_secretHashHasBeenSet =
true; m_secretHash.assign(value); }
84 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
98 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
208 inline SignUpRequest&
AddClientMetadata(
const char* key,
const char* value) { m_clientMetadataHasBeenSet =
true; m_clientMetadata.emplace(key, value);
return *
this; }
213 bool m_clientIdHasBeenSet =
false;
216 bool m_secretHashHasBeenSet =
false;
219 bool m_usernameHasBeenSet =
false;
222 bool m_passwordHasBeenSet =
false;
225 bool m_userAttributesHasBeenSet =
false;
228 bool m_validationDataHasBeenSet =
false;
231 bool m_analyticsMetadataHasBeenSet =
false;
234 bool m_userContextDataHasBeenSet =
false;
237 bool m_clientMetadataHasBeenSet =
false;
void SetClientId(const char *value)
void SetUserContextData(const UserContextDataType &value)
SignUpRequest & WithPassword(const char *value)
SignUpRequest & AddClientMetadata(Aws::String &&key, const char *value)
bool ValidationDataHasBeenSet() const
SignUpRequest & AddUserAttributes(AttributeType &&value)
SignUpRequest & AddClientMetadata(Aws::String &&key, Aws::String &&value)
void SetClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
SignUpRequest & WithClientId(const Aws::String &value)
bool PasswordHasBeenSet() const
AWS_COGNITOIDENTITYPROVIDER_API SignUpRequest()
SignUpRequest & WithClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetUserContextData(UserContextDataType &&value)
bool ClientIdHasBeenSet() const
const UserContextDataType & GetUserContextData() const
void SetPassword(Aws::String &&value)
bool ClientMetadataHasBeenSet() const
bool UsernameHasBeenSet() const
const Aws::Vector< AttributeType > & GetUserAttributes() const
SignUpRequest & WithUsername(Aws::String &&value)
SignUpRequest & AddClientMetadata(const Aws::String &key, Aws::String &&value)
SignUpRequest & WithUserContextData(UserContextDataType &&value)
SignUpRequest & AddValidationData(AttributeType &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SignUpRequest & AddUserAttributes(const AttributeType &value)
SignUpRequest & AddClientMetadata(const Aws::String &key, const Aws::String &value)
void SetUsername(Aws::String &&value)
SignUpRequest & AddClientMetadata(const char *key, Aws::String &&value)
SignUpRequest & AddClientMetadata(const char *key, const char *value)
SignUpRequest & WithAnalyticsMetadata(AnalyticsMetadataType &&value)
void SetValidationData(const Aws::Vector< AttributeType > &value)
const Aws::Vector< AttributeType > & GetValidationData() const
SignUpRequest & WithUserAttributes(const Aws::Vector< AttributeType > &value)
void SetValidationData(Aws::Vector< AttributeType > &&value)
SignUpRequest & WithPassword(Aws::String &&value)
SignUpRequest & WithPassword(const Aws::String &value)
void SetSecretHash(const Aws::String &value)
void SetClientId(Aws::String &&value)
SignUpRequest & WithUsername(const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
SignUpRequest & AddClientMetadata(Aws::String &&key, const Aws::String &value)
bool UserAttributesHasBeenSet() const
SignUpRequest & WithClientId(Aws::String &&value)
const AnalyticsMetadataType & GetAnalyticsMetadata() const
SignUpRequest & WithSecretHash(Aws::String &&value)
SignUpRequest & WithUsername(const Aws::String &value)
SignUpRequest & WithUserAttributes(Aws::Vector< AttributeType > &&value)
void SetUserAttributes(Aws::Vector< AttributeType > &&value)
const Aws::String & GetClientId() const
SignUpRequest & WithValidationData(Aws::Vector< AttributeType > &&value)
SignUpRequest & WithClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetClientMetadata() const
SignUpRequest & WithSecretHash(const char *value)
SignUpRequest & WithClientId(const char *value)
SignUpRequest & WithValidationData(const Aws::Vector< AttributeType > &value)
void SetPassword(const char *value)
bool UserContextDataHasBeenSet() const
const Aws::String & GetUsername() const
bool SecretHashHasBeenSet() const
void SetUsername(const Aws::String &value)
const Aws::String & GetSecretHash() const
void SetPassword(const Aws::String &value)
SignUpRequest & WithUserContextData(const UserContextDataType &value)
const Aws::String & GetPassword() const
virtual const char * GetServiceRequestName() const override
void SetClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool AnalyticsMetadataHasBeenSet() const
SignUpRequest & AddValidationData(const AttributeType &value)
SignUpRequest & WithAnalyticsMetadata(const AnalyticsMetadataType &value)
void SetSecretHash(Aws::String &&value)
void SetSecretHash(const char *value)
void SetAnalyticsMetadata(const AnalyticsMetadataType &value)
void SetUsername(const char *value)
void SetAnalyticsMetadata(AnalyticsMetadataType &&value)
void SetUserAttributes(const Aws::Vector< AttributeType > &value)
SignUpRequest & WithSecretHash(const Aws::String &value)
void SetClientId(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