7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/invoicing/InvoicingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/invoicing/model/InvoiceUnitRule.h>
45 template<
typename InvoiceUnitArnT = Aws::String>
46 void SetInvoiceUnitArn(InvoiceUnitArnT&& value) { m_invoiceUnitArnHasBeenSet =
true; m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value); }
47 template<
typename InvoiceUnitArnT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
81 template<
typename RuleT = InvoiceUnitRule>
82 void SetRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule = std::forward<RuleT>(value); }
83 template<
typename RuleT = InvoiceUnitRule>
89 bool m_invoiceUnitArnHasBeenSet =
false;
92 bool m_descriptionHasBeenSet =
false;
94 bool m_taxInheritanceDisabled{
false};
95 bool m_taxInheritanceDisabledHasBeenSet =
false;
97 InvoiceUnitRule m_rule;
98 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