7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/InvoicingRequest.h>
10#include <aws/invoicing/Invoicing_EXPORTS.h>
11#include <aws/invoicing/model/InvoiceUnitRule.h>
42 template <
typename InvoiceUnitArnT = Aws::String>
44 m_invoiceUnitArnHasBeenSet =
true;
45 m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value);
47 template <
typename InvoiceUnitArnT = Aws::String>
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
81 m_taxInheritanceDisabledHasBeenSet =
true;
82 m_taxInheritanceDisabled = value;
96 template <
typename RuleT = InvoiceUnitRule>
98 m_ruleHasBeenSet =
true;
99 m_rule = std::forward<RuleT>(value);
101 template <
typename RuleT = InvoiceUnitRule>
103 SetRule(std::forward<RuleT>(value));
115 template <
typename ClientTokenT = Aws::String>
117 m_clientTokenHasBeenSet =
true;
118 m_clientToken = std::forward<ClientTokenT>(value);
120 template <
typename ClientTokenT = Aws::String>
131 bool m_taxInheritanceDisabled{
false};
133 InvoiceUnitRule m_rule;
136 bool m_invoiceUnitArnHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
138 bool m_taxInheritanceDisabledHasBeenSet =
false;
139 bool m_ruleHasBeenSet =
false;
140 bool m_clientTokenHasBeenSet =
true;
const InvoiceUnitRule & GetRule() const
AWS_INVOICING_API Aws::String SerializePayload() const override
UpdateInvoiceUnitRequest & WithInvoiceUnitArn(InvoiceUnitArnT &&value)
void SetClientToken(ClientTokenT &&value)
void SetRule(RuleT &&value)
UpdateInvoiceUnitRequest & WithRule(RuleT &&value)
bool InvoiceUnitArnHasBeenSet() const
const Aws::String & GetClientToken() const
bool DescriptionHasBeenSet() const
bool TaxInheritanceDisabledHasBeenSet() const
const Aws::String & GetDescription() const
void SetInvoiceUnitArn(InvoiceUnitArnT &&value)
bool GetTaxInheritanceDisabled() const
void SetDescription(DescriptionT &&value)
void SetTaxInheritanceDisabled(bool value)
UpdateInvoiceUnitRequest & WithDescription(DescriptionT &&value)
UpdateInvoiceUnitRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetInvoiceUnitArn() const
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
AWS_INVOICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateInvoiceUnitRequest & WithTaxInheritanceDisabled(bool value)
AWS_INVOICING_API UpdateInvoiceUnitRequest()=default
bool RuleHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String