7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/invoicing/InvoicingRequest.h>
9#include <aws/invoicing/Invoicing_EXPORTS.h>
10#include <aws/invoicing/model/InvoiceUnitRule.h>
41 template <
typename InvoiceUnitArnT = Aws::String>
43 m_invoiceUnitArnHasBeenSet =
true;
44 m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value);
46 template <
typename InvoiceUnitArnT = Aws::String>
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
80 m_taxInheritanceDisabledHasBeenSet =
true;
81 m_taxInheritanceDisabled = value;
95 template <
typename RuleT = InvoiceUnitRule>
97 m_ruleHasBeenSet =
true;
98 m_rule = std::forward<RuleT>(value);
100 template <
typename RuleT = InvoiceUnitRule>
102 SetRule(std::forward<RuleT>(value));
111 bool m_taxInheritanceDisabled{
false};
113 InvoiceUnitRule m_rule;
114 bool m_invoiceUnitArnHasBeenSet =
false;
115 bool m_descriptionHasBeenSet =
false;
116 bool m_taxInheritanceDisabledHasBeenSet =
false;
117 bool m_ruleHasBeenSet =
false;
const InvoiceUnitRule & GetRule() const
AWS_INVOICING_API Aws::String SerializePayload() const override
UpdateInvoiceUnitRequest & WithInvoiceUnitArn(InvoiceUnitArnT &&value)
void SetRule(RuleT &&value)
UpdateInvoiceUnitRequest & WithRule(RuleT &&value)
bool InvoiceUnitArnHasBeenSet() 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)
const Aws::String & GetInvoiceUnitArn() const
virtual const char * GetServiceRequestName() const override
AWS_INVOICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateInvoiceUnitRequest & WithTaxInheritanceDisabled(bool value)
AWS_INVOICING_API UpdateInvoiceUnitRequest()=default
bool RuleHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String