7#include <aws/account/Account_EXPORTS.h>
8#include <aws/account/AccountRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
58 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
72 inline void SetOtp(
Aws::String&& value) { m_otpHasBeenSet =
true; m_otp = std::move(value); }
73 inline void SetOtp(
const char* value) { m_otpHasBeenSet =
true; m_otp.assign(value); }
89 inline void SetPrimaryEmail(
const char* value) { m_primaryEmailHasBeenSet =
true; m_primaryEmail.assign(value); }
97 bool m_accountIdHasBeenSet =
false;
100 bool m_otpHasBeenSet =
false;
103 bool m_primaryEmailHasBeenSet =
false;
AcceptPrimaryEmailUpdateRequest & WithOtp(const char *value)
void SetOtp(const char *value)
AcceptPrimaryEmailUpdateRequest & WithAccountId(const Aws::String &value)
bool AccountIdHasBeenSet() const
void SetPrimaryEmail(const Aws::String &value)
AcceptPrimaryEmailUpdateRequest & WithPrimaryEmail(const Aws::String &value)
const Aws::String & GetPrimaryEmail() const
bool PrimaryEmailHasBeenSet() const
AcceptPrimaryEmailUpdateRequest & WithOtp(const Aws::String &value)
AcceptPrimaryEmailUpdateRequest & WithAccountId(const char *value)
AcceptPrimaryEmailUpdateRequest & WithAccountId(Aws::String &&value)
AWS_ACCOUNT_API Aws::String SerializePayload() const override
void SetAccountId(Aws::String &&value)
void SetAccountId(const char *value)
void SetOtp(const Aws::String &value)
void SetPrimaryEmail(const char *value)
AcceptPrimaryEmailUpdateRequest & WithPrimaryEmail(Aws::String &&value)
void SetOtp(Aws::String &&value)
AcceptPrimaryEmailUpdateRequest & WithPrimaryEmail(const char *value)
void SetPrimaryEmail(Aws::String &&value)
const Aws::String & GetOtp() const
AWS_ACCOUNT_API AcceptPrimaryEmailUpdateRequest()
void SetAccountId(const Aws::String &value)
const Aws::String & GetAccountId() const
virtual const char * GetServiceRequestName() const override
bool OtpHasBeenSet() const
AcceptPrimaryEmailUpdateRequest & WithOtp(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String