7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CognitoIdentityProvider
46 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
62 inline void SetSession(
const char* value) { m_sessionHasBeenSet =
true; m_session.assign(value); }
70 bool m_accessTokenHasBeenSet =
false;
73 bool m_sessionHasBeenSet =
false;
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AssociateSoftwareTokenRequest & WithSession(const Aws::String &value)
AssociateSoftwareTokenRequest & WithSession(const char *value)
void SetSession(Aws::String &&value)
void SetAccessToken(const Aws::String &value)
const Aws::String & GetSession() const
void SetSession(const Aws::String &value)
bool SessionHasBeenSet() const
AssociateSoftwareTokenRequest & WithAccessToken(const char *value)
void SetAccessToken(const char *value)
AWS_COGNITOIDENTITYPROVIDER_API AssociateSoftwareTokenRequest()
bool AccessTokenHasBeenSet() const
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSession(const char *value)
AssociateSoftwareTokenRequest & WithAccessToken(Aws::String &&value)
void SetAccessToken(Aws::String &&value)
const Aws::String & GetAccessToken() const
AssociateSoftwareTokenRequest & WithSession(Aws::String &&value)
AssociateSoftwareTokenRequest & WithAccessToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String