7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
70 inline void SetSerialNumber(
const char* value) { m_serialNumberHasBeenSet =
true; m_serialNumber.assign(value); }
92 inline void SetAuthenticationCode1(
const char* value) { m_authenticationCode1HasBeenSet =
true; m_authenticationCode1.assign(value); }
114 inline void SetAuthenticationCode2(
const char* value) { m_authenticationCode2HasBeenSet =
true; m_authenticationCode2.assign(value); }
122 bool m_userNameHasBeenSet =
false;
125 bool m_serialNumberHasBeenSet =
false;
128 bool m_authenticationCode1HasBeenSet =
false;
131 bool m_authenticationCode2HasBeenSet =
false;
void SetSerialNumber(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUserName() const
bool UserNameHasBeenSet() const
void SetAuthenticationCode1(Aws::String &&value)
void SetUserName(const Aws::String &value)
EnableMFADeviceRequest & WithSerialNumber(const Aws::String &value)
AWS_IAM_API Aws::String SerializePayload() const override
const Aws::String & GetAuthenticationCode1() const
void SetAuthenticationCode2(const Aws::String &value)
void SetAuthenticationCode1(const Aws::String &value)
void SetUserName(const char *value)
bool AuthenticationCode1HasBeenSet() const
EnableMFADeviceRequest & WithUserName(const char *value)
EnableMFADeviceRequest & WithAuthenticationCode2(const char *value)
AWS_IAM_API EnableMFADeviceRequest()
bool SerialNumberHasBeenSet() const
EnableMFADeviceRequest & WithAuthenticationCode1(Aws::String &&value)
EnableMFADeviceRequest & WithSerialNumber(Aws::String &&value)
void SetAuthenticationCode2(Aws::String &&value)
EnableMFADeviceRequest & WithAuthenticationCode1(const char *value)
const Aws::String & GetSerialNumber() const
EnableMFADeviceRequest & WithAuthenticationCode2(const Aws::String &value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
EnableMFADeviceRequest & WithUserName(Aws::String &&value)
void SetAuthenticationCode1(const char *value)
void SetAuthenticationCode2(const char *value)
void SetUserName(Aws::String &&value)
void SetSerialNumber(const char *value)
bool AuthenticationCode2HasBeenSet() const
EnableMFADeviceRequest & WithAuthenticationCode2(Aws::String &&value)
const Aws::String & GetAuthenticationCode2() const
void SetSerialNumber(const Aws::String &value)
EnableMFADeviceRequest & WithUserName(const Aws::String &value)
EnableMFADeviceRequest & WithAuthenticationCode1(const Aws::String &value)
EnableMFADeviceRequest & WithSerialNumber(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String