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); }
69 inline void SetSerialNumber(
const char* value) { m_serialNumberHasBeenSet =
true; m_serialNumber.assign(value); }
84 inline void SetAuthenticationCode1(
const char* value) { m_authenticationCode1HasBeenSet =
true; m_authenticationCode1.assign(value); }
99 inline void SetAuthenticationCode2(
const char* value) { m_authenticationCode2HasBeenSet =
true; m_authenticationCode2.assign(value); }
107 bool m_userNameHasBeenSet =
false;
110 bool m_serialNumberHasBeenSet =
false;
113 bool m_authenticationCode1HasBeenSet =
false;
116 bool m_authenticationCode2HasBeenSet =
false;
void SetUserName(Aws::String &&value)
bool AuthenticationCode2HasBeenSet() const
ResyncMFADeviceRequest & WithSerialNumber(Aws::String &&value)
ResyncMFADeviceRequest & WithAuthenticationCode2(Aws::String &&value)
ResyncMFADeviceRequest & WithAuthenticationCode1(const char *value)
const Aws::String & GetAuthenticationCode2() const
ResyncMFADeviceRequest & WithUserName(const char *value)
AWS_IAM_API Aws::String SerializePayload() const override
const Aws::String & GetSerialNumber() const
bool AuthenticationCode1HasBeenSet() const
ResyncMFADeviceRequest & WithUserName(Aws::String &&value)
AWS_IAM_API ResyncMFADeviceRequest()
bool UserNameHasBeenSet() const
void SetAuthenticationCode2(Aws::String &&value)
ResyncMFADeviceRequest & WithUserName(const Aws::String &value)
void SetUserName(const char *value)
bool SerialNumberHasBeenSet() const
void SetAuthenticationCode2(const char *value)
ResyncMFADeviceRequest & WithAuthenticationCode1(Aws::String &&value)
void SetAuthenticationCode1(const char *value)
const Aws::String & GetUserName() const
ResyncMFADeviceRequest & WithSerialNumber(const Aws::String &value)
void SetAuthenticationCode1(const Aws::String &value)
ResyncMFADeviceRequest & WithAuthenticationCode2(const Aws::String &value)
ResyncMFADeviceRequest & WithAuthenticationCode2(const char *value)
const Aws::String & GetAuthenticationCode1() const
void SetAuthenticationCode1(Aws::String &&value)
void SetSerialNumber(const char *value)
ResyncMFADeviceRequest & WithAuthenticationCode1(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ResyncMFADeviceRequest & WithSerialNumber(const char *value)
void SetSerialNumber(const Aws::String &value)
void SetSerialNumber(Aws::String &&value)
void SetUserName(const Aws::String &value)
void SetAuthenticationCode2(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String