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/UserContextDataType.h>
11#include <aws/cognito-idp/model/AnalyticsMetadataType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17namespace CognitoIdentityProvider
52 inline void SetClientId(
const char* value) { m_clientIdHasBeenSet =
true; m_clientId.assign(value); }
67 inline void SetSecretHash(
const char* value) { m_secretHashHasBeenSet =
true; m_secretHash.assign(value); }
100 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
161 bool m_clientIdHasBeenSet =
false;
164 bool m_secretHashHasBeenSet =
false;
167 bool m_userContextDataHasBeenSet =
false;
170 bool m_usernameHasBeenSet =
false;
173 bool m_analyticsMetadataHasBeenSet =
false;
176 bool m_clientMetadataHasBeenSet =
false;
const Aws::String & GetClientId() const
ForgotPasswordRequest & WithUserContextData(UserContextDataType &&value)
ForgotPasswordRequest & WithUsername(const char *value)
void SetClientId(Aws::String &&value)
bool UsernameHasBeenSet() const
void SetUserContextData(const UserContextDataType &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
ForgotPasswordRequest & AddClientMetadata(Aws::String &&key, const char *value)
void SetSecretHash(Aws::String &&value)
const AnalyticsMetadataType & GetAnalyticsMetadata() const
void SetClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetClientId(const Aws::String &value)
ForgotPasswordRequest & WithClientId(const char *value)
AWS_COGNITOIDENTITYPROVIDER_API ForgotPasswordRequest()
ForgotPasswordRequest & WithUsername(const Aws::String &value)
ForgotPasswordRequest & WithUsername(Aws::String &&value)
void SetUsername(const char *value)
ForgotPasswordRequest & AddClientMetadata(const Aws::String &key, Aws::String &&value)
void SetUsername(Aws::String &&value)
void SetAnalyticsMetadata(AnalyticsMetadataType &&value)
bool ClientIdHasBeenSet() const
void SetUserContextData(UserContextDataType &&value)
ForgotPasswordRequest & WithClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetUsername() const
ForgotPasswordRequest & WithSecretHash(const Aws::String &value)
void SetAnalyticsMetadata(const AnalyticsMetadataType &value)
ForgotPasswordRequest & WithClientMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ForgotPasswordRequest & WithSecretHash(Aws::String &&value)
bool AnalyticsMetadataHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ForgotPasswordRequest & WithAnalyticsMetadata(const AnalyticsMetadataType &value)
bool SecretHashHasBeenSet() const
void SetClientId(const char *value)
void SetSecretHash(const char *value)
bool UserContextDataHasBeenSet() const
ForgotPasswordRequest & AddClientMetadata(Aws::String &&key, const Aws::String &value)
ForgotPasswordRequest & AddClientMetadata(const char *key, Aws::String &&value)
void SetClientMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ForgotPasswordRequest & AddClientMetadata(Aws::String &&key, Aws::String &&value)
void SetSecretHash(const Aws::String &value)
const Aws::String & GetSecretHash() const
ForgotPasswordRequest & WithUserContextData(const UserContextDataType &value)
ForgotPasswordRequest & WithAnalyticsMetadata(AnalyticsMetadataType &&value)
ForgotPasswordRequest & AddClientMetadata(const Aws::String &key, const Aws::String &value)
const UserContextDataType & GetUserContextData() const
ForgotPasswordRequest & WithClientId(const Aws::String &value)
ForgotPasswordRequest & WithClientId(Aws::String &&value)
ForgotPasswordRequest & WithSecretHash(const char *value)
void SetUsername(const Aws::String &value)
ForgotPasswordRequest & AddClientMetadata(const char *key, const char *value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClientMetadataHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetClientMetadata() const
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