AWS SDK for C++  1.8.96
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::IAM::Model::EnableMFADeviceRequest Class Reference

#include <EnableMFADeviceRequest.h>

+ Inheritance diagram for Aws::IAM::Model::EnableMFADeviceRequest:

Public Member Functions

 EnableMFADeviceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetUserName () const
 
bool UserNameHasBeenSet () const
 
void SetUserName (const Aws::String &value)
 
void SetUserName (Aws::String &&value)
 
void SetUserName (const char *value)
 
EnableMFADeviceRequestWithUserName (const Aws::String &value)
 
EnableMFADeviceRequestWithUserName (Aws::String &&value)
 
EnableMFADeviceRequestWithUserName (const char *value)
 
const Aws::StringGetSerialNumber () const
 
bool SerialNumberHasBeenSet () const
 
void SetSerialNumber (const Aws::String &value)
 
void SetSerialNumber (Aws::String &&value)
 
void SetSerialNumber (const char *value)
 
EnableMFADeviceRequestWithSerialNumber (const Aws::String &value)
 
EnableMFADeviceRequestWithSerialNumber (Aws::String &&value)
 
EnableMFADeviceRequestWithSerialNumber (const char *value)
 
const Aws::StringGetAuthenticationCode1 () const
 
bool AuthenticationCode1HasBeenSet () const
 
void SetAuthenticationCode1 (const Aws::String &value)
 
void SetAuthenticationCode1 (Aws::String &&value)
 
void SetAuthenticationCode1 (const char *value)
 
EnableMFADeviceRequestWithAuthenticationCode1 (const Aws::String &value)
 
EnableMFADeviceRequestWithAuthenticationCode1 (Aws::String &&value)
 
EnableMFADeviceRequestWithAuthenticationCode1 (const char *value)
 
const Aws::StringGetAuthenticationCode2 () const
 
bool AuthenticationCode2HasBeenSet () const
 
void SetAuthenticationCode2 (const Aws::String &value)
 
void SetAuthenticationCode2 (Aws::String &&value)
 
void SetAuthenticationCode2 (const char *value)
 
EnableMFADeviceRequestWithAuthenticationCode2 (const Aws::String &value)
 
EnableMFADeviceRequestWithAuthenticationCode2 (Aws::String &&value)
 
EnableMFADeviceRequestWithAuthenticationCode2 (const char *value)
 
- Public Member Functions inherited from Aws::IAM::IAMRequest
virtual ~IAMRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::IAM::IAMRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 21 of file EnableMFADeviceRequest.h.

Constructor & Destructor Documentation

◆ EnableMFADeviceRequest()

Aws::IAM::Model::EnableMFADeviceRequest::EnableMFADeviceRequest ( )

Member Function Documentation

◆ AuthenticationCode1HasBeenSet()

bool Aws::IAM::Model::EnableMFADeviceRequest::AuthenticationCode1HasBeenSet ( ) const
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 217 of file EnableMFADeviceRequest.h.

◆ AuthenticationCode2HasBeenSet()

bool Aws::IAM::Model::EnableMFADeviceRequest::AuthenticationCode2HasBeenSet ( ) const
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 322 of file EnableMFADeviceRequest.h.

◆ DumpBodyToUrl()

void Aws::IAM::Model::EnableMFADeviceRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAuthenticationCode1()

const Aws::String& Aws::IAM::Model::EnableMFADeviceRequest::GetAuthenticationCode1 ( ) const
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 204 of file EnableMFADeviceRequest.h.

◆ GetAuthenticationCode2()

const Aws::String& Aws::IAM::Model::EnableMFADeviceRequest::GetAuthenticationCode2 ( ) const
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 309 of file EnableMFADeviceRequest.h.

◆ GetSerialNumber()

const Aws::String& Aws::IAM::Model::EnableMFADeviceRequest::GetSerialNumber ( ) const
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 120 of file EnableMFADeviceRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::IAM::Model::EnableMFADeviceRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file EnableMFADeviceRequest.h.

◆ GetUserName()

const Aws::String& Aws::IAM::Model::EnableMFADeviceRequest::GetUserName ( ) const
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 46 of file EnableMFADeviceRequest.h.

◆ SerializePayload()

Aws::String Aws::IAM::Model::EnableMFADeviceRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SerialNumberHasBeenSet()

bool Aws::IAM::Model::EnableMFADeviceRequest::SerialNumberHasBeenSet ( ) const
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 130 of file EnableMFADeviceRequest.h.

◆ SetAuthenticationCode1() [1/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetAuthenticationCode1 ( const Aws::String value)
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 230 of file EnableMFADeviceRequest.h.

◆ SetAuthenticationCode1() [2/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetAuthenticationCode1 ( Aws::String &&  value)
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 243 of file EnableMFADeviceRequest.h.

◆ SetAuthenticationCode1() [3/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetAuthenticationCode1 ( const char *  value)
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 256 of file EnableMFADeviceRequest.h.

◆ SetAuthenticationCode2() [1/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetAuthenticationCode2 ( const Aws::String value)
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 335 of file EnableMFADeviceRequest.h.

◆ SetAuthenticationCode2() [2/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetAuthenticationCode2 ( Aws::String &&  value)
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 348 of file EnableMFADeviceRequest.h.

◆ SetAuthenticationCode2() [3/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetAuthenticationCode2 ( const char *  value)
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 361 of file EnableMFADeviceRequest.h.

◆ SetSerialNumber() [1/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetSerialNumber ( const Aws::String value)
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 140 of file EnableMFADeviceRequest.h.

◆ SetSerialNumber() [2/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetSerialNumber ( Aws::String &&  value)
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 150 of file EnableMFADeviceRequest.h.

◆ SetSerialNumber() [3/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetSerialNumber ( const char *  value)
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 160 of file EnableMFADeviceRequest.h.

◆ SetUserName() [1/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetUserName ( const Aws::String value)
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 64 of file EnableMFADeviceRequest.h.

◆ SetUserName() [2/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetUserName ( Aws::String &&  value)
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 73 of file EnableMFADeviceRequest.h.

◆ SetUserName() [3/3]

void Aws::IAM::Model::EnableMFADeviceRequest::SetUserName ( const char *  value)
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 82 of file EnableMFADeviceRequest.h.

◆ UserNameHasBeenSet()

bool Aws::IAM::Model::EnableMFADeviceRequest::UserNameHasBeenSet ( ) const
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 55 of file EnableMFADeviceRequest.h.

◆ WithAuthenticationCode1() [1/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithAuthenticationCode1 ( const Aws::String value)
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 269 of file EnableMFADeviceRequest.h.

◆ WithAuthenticationCode1() [2/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithAuthenticationCode1 ( Aws::String &&  value)
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 282 of file EnableMFADeviceRequest.h.

◆ WithAuthenticationCode1() [3/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithAuthenticationCode1 ( const char *  value)
inline

An authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 295 of file EnableMFADeviceRequest.h.

◆ WithAuthenticationCode2() [1/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithAuthenticationCode2 ( const Aws::String value)
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 374 of file EnableMFADeviceRequest.h.

◆ WithAuthenticationCode2() [2/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithAuthenticationCode2 ( Aws::String &&  value)
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 387 of file EnableMFADeviceRequest.h.

◆ WithAuthenticationCode2() [3/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithAuthenticationCode2 ( const char *  value)
inline

A subsequent authentication code emitted by the device.

The format for this parameter is a string of six digits.

Submit your request immediately after generating the authentication codes. If you generate the codes and then wait too long to submit the request, the MFA device successfully associates with the user but the MFA device becomes out of sync. This happens because time-based one-time passwords (TOTP) expire after a short period of time. If this happens, you can resync the device.

Definition at line 400 of file EnableMFADeviceRequest.h.

◆ WithSerialNumber() [1/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithSerialNumber ( const Aws::String value)
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 170 of file EnableMFADeviceRequest.h.

◆ WithSerialNumber() [2/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithSerialNumber ( Aws::String &&  value)
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 180 of file EnableMFADeviceRequest.h.

◆ WithSerialNumber() [3/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithSerialNumber ( const char *  value)
inline

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Definition at line 190 of file EnableMFADeviceRequest.h.

◆ WithUserName() [1/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithUserName ( const Aws::String value)
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 91 of file EnableMFADeviceRequest.h.

◆ WithUserName() [2/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithUserName ( Aws::String &&  value)
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 100 of file EnableMFADeviceRequest.h.

◆ WithUserName() [3/3]

EnableMFADeviceRequest& Aws::IAM::Model::EnableMFADeviceRequest::WithUserName ( const char *  value)
inline

The name of the IAM user for whom you want to enable the MFA device.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 109 of file EnableMFADeviceRequest.h.


The documentation for this class was generated from the following file: