7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/taxsettings/TaxSettingsRequest.h>
10#include <aws/taxsettings/TaxSettings_EXPORTS.h>
11#include <aws/taxsettings/model/Authority.h>
12#include <aws/taxsettings/model/ExemptionCertificate.h>
17namespace TaxSettings {
40 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
42 m_accountIdsHasBeenSet =
true;
43 m_accountIds = std::forward<AccountIdsT>(value);
45 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
50 template <
typename AccountIdsT = Aws::String>
52 m_accountIdsHasBeenSet =
true;
53 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
62 template <
typename AuthorityT = Authority>
64 m_authorityHasBeenSet =
true;
65 m_authority = std::forward<AuthorityT>(value);
67 template <
typename AuthorityT = Authority>
78 template <
typename ExemptionCertificateT = ExemptionCertificate>
80 m_exemptionCertificateHasBeenSet =
true;
81 m_exemptionCertificate = std::forward<ExemptionCertificateT>(value);
83 template <
typename ExemptionCertificateT = ExemptionCertificate>
96 template <
typename ExemptionTypeT = Aws::String>
98 m_exemptionTypeHasBeenSet =
true;
99 m_exemptionType = std::forward<ExemptionTypeT>(value);
101 template <
typename ExemptionTypeT = Aws::String>
115 bool m_accountIdsHasBeenSet =
false;
116 bool m_authorityHasBeenSet =
false;
117 bool m_exemptionCertificateHasBeenSet =
false;
118 bool m_exemptionTypeHasBeenSet =
false;
void SetAuthority(AuthorityT &&value)
void SetAccountIds(AccountIdsT &&value)
const Aws::String & GetExemptionType() const
bool ExemptionTypeHasBeenSet() const
bool AuthorityHasBeenSet() const
void SetExemptionCertificate(ExemptionCertificateT &&value)
AWS_TAXSETTINGS_API PutTaxExemptionRequest()=default
PutTaxExemptionRequest & WithAccountIds(AccountIdsT &&value)
virtual const char * GetServiceRequestName() const override
PutTaxExemptionRequest & WithExemptionType(ExemptionTypeT &&value)
void SetExemptionType(ExemptionTypeT &&value)
PutTaxExemptionRequest & WithExemptionCertificate(ExemptionCertificateT &&value)
const Authority & GetAuthority() const
bool AccountIdsHasBeenSet() const
AWS_TAXSETTINGS_API Aws::String SerializePayload() const override
PutTaxExemptionRequest & AddAccountIds(AccountIdsT &&value)
bool ExemptionCertificateHasBeenSet() const
const Aws::Vector< Aws::String > & GetAccountIds() const
const ExemptionCertificate & GetExemptionCertificate() const
PutTaxExemptionRequest & WithAuthority(AuthorityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector