7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename UserNameT = Aws::String>
50 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
51 template<
typename UserNameT = Aws::String>
66 template<
typename SerialNumberT = Aws::String>
67 void SetSerialNumber(SerialNumberT&& value) { m_serialNumberHasBeenSet =
true; m_serialNumber = std::forward<SerialNumberT>(value); }
68 template<
typename SerialNumberT = Aws::String>
86 template<
typename AuthenticationCode1T = Aws::String>
87 void SetAuthenticationCode1(AuthenticationCode1T&& value) { m_authenticationCode1HasBeenSet =
true; m_authenticationCode1 = std::forward<AuthenticationCode1T>(value); }
88 template<
typename AuthenticationCode1T = Aws::String>
106 template<
typename AuthenticationCode2T = Aws::String>
107 void SetAuthenticationCode2(AuthenticationCode2T&& value) { m_authenticationCode2HasBeenSet =
true; m_authenticationCode2 = std::forward<AuthenticationCode2T>(value); }
108 template<
typename AuthenticationCode2T = Aws::String>
114 bool m_userNameHasBeenSet =
false;
117 bool m_serialNumberHasBeenSet =
false;
120 bool m_authenticationCode1HasBeenSet =
false;
123 bool m_authenticationCode2HasBeenSet =
false;
void SetAuthenticationCode1(AuthenticationCode1T &&value)
EnableMFADeviceRequest & WithSerialNumber(SerialNumberT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUserName() const
bool UserNameHasBeenSet() const
AWS_IAM_API Aws::String SerializePayload() const override
const Aws::String & GetAuthenticationCode1() const
AWS_IAM_API EnableMFADeviceRequest()=default
bool AuthenticationCode1HasBeenSet() const
bool SerialNumberHasBeenSet() const
void SetUserName(UserNameT &&value)
EnableMFADeviceRequest & WithUserName(UserNameT &&value)
void SetAuthenticationCode2(AuthenticationCode2T &&value)
const Aws::String & GetSerialNumber() const
EnableMFADeviceRequest & WithAuthenticationCode1(AuthenticationCode1T &&value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool AuthenticationCode2HasBeenSet() const
const Aws::String & GetAuthenticationCode2() const
EnableMFADeviceRequest & WithAuthenticationCode2(AuthenticationCode2T &&value)
void SetSerialNumber(SerialNumberT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String