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>
65 template<
typename SerialNumberT = Aws::String>
66 void SetSerialNumber(SerialNumberT&& value) { m_serialNumberHasBeenSet =
true; m_serialNumber = std::forward<SerialNumberT>(value); }
67 template<
typename SerialNumberT = Aws::String>
78 template<
typename AuthenticationCode1T = Aws::String>
79 void SetAuthenticationCode1(AuthenticationCode1T&& value) { m_authenticationCode1HasBeenSet =
true; m_authenticationCode1 = std::forward<AuthenticationCode1T>(value); }
80 template<
typename AuthenticationCode1T = Aws::String>
91 template<
typename AuthenticationCode2T = Aws::String>
92 void SetAuthenticationCode2(AuthenticationCode2T&& value) { m_authenticationCode2HasBeenSet =
true; m_authenticationCode2 = std::forward<AuthenticationCode2T>(value); }
93 template<
typename AuthenticationCode2T = Aws::String>
99 bool m_userNameHasBeenSet =
false;
102 bool m_serialNumberHasBeenSet =
false;
105 bool m_authenticationCode1HasBeenSet =
false;
108 bool m_authenticationCode2HasBeenSet =
false;
bool AuthenticationCode2HasBeenSet() const
const Aws::String & GetAuthenticationCode2() const
ResyncMFADeviceRequest & WithAuthenticationCode1(AuthenticationCode1T &&value)
AWS_IAM_API Aws::String SerializePayload() const override
const Aws::String & GetSerialNumber() const
bool AuthenticationCode1HasBeenSet() const
ResyncMFADeviceRequest & WithSerialNumber(SerialNumberT &&value)
ResyncMFADeviceRequest & WithAuthenticationCode2(AuthenticationCode2T &&value)
bool UserNameHasBeenSet() const
AWS_IAM_API ResyncMFADeviceRequest()=default
bool SerialNumberHasBeenSet() const
const Aws::String & GetUserName() const
void SetUserName(UserNameT &&value)
void SetSerialNumber(SerialNumberT &&value)
const Aws::String & GetAuthenticationCode1() const
ResyncMFADeviceRequest & WithUserName(UserNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetAuthenticationCode1(AuthenticationCode1T &&value)
void SetAuthenticationCode2(AuthenticationCode2T &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String