7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/model/InvoiceUnitRule.h>
10#include <aws/core/utils/DateTime.h>
52 template<
typename InvoiceUnitArnT = Aws::String>
53 void SetInvoiceUnitArn(InvoiceUnitArnT&& value) { m_invoiceUnitArnHasBeenSet =
true; m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value); }
54 template<
typename InvoiceUnitArnT = Aws::String>
64 template<
typename InvoiceReceiverT = Aws::String>
65 void SetInvoiceReceiver(InvoiceReceiverT&& value) { m_invoiceReceiverHasBeenSet =
true; m_invoiceReceiver = std::forward<InvoiceReceiverT>(value); }
66 template<
typename InvoiceReceiverT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
89 template<
typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
91 template<
typename DescriptionT = Aws::String>
113 template<
typename RuleT = InvoiceUnitRule>
114 void SetRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule = std::forward<RuleT>(value); }
115 template<
typename RuleT = InvoiceUnitRule>
128 template<
typename LastModifiedT = Aws::Utils::DateTime>
129 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
130 template<
typename LastModifiedT = Aws::Utils::DateTime>
136 bool m_invoiceUnitArnHasBeenSet =
false;
139 bool m_invoiceReceiverHasBeenSet =
false;
142 bool m_nameHasBeenSet =
false;
145 bool m_descriptionHasBeenSet =
false;
147 bool m_taxInheritanceDisabled{
false};
148 bool m_taxInheritanceDisabledHasBeenSet =
false;
150 InvoiceUnitRule m_rule;
151 bool m_ruleHasBeenSet =
false;
154 bool m_lastModifiedHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetTaxInheritanceDisabled(bool value)
AWS_INVOICING_API InvoiceUnit(Aws::Utils::Json::JsonView jsonValue)
bool GetTaxInheritanceDisabled() const
InvoiceUnit & WithInvoiceUnitArn(InvoiceUnitArnT &&value)
void SetLastModified(LastModifiedT &&value)
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
bool InvoiceReceiverHasBeenSet() const
AWS_INVOICING_API InvoiceUnit()=default
void SetInvoiceUnitArn(InvoiceUnitArnT &&value)
const InvoiceUnitRule & GetRule() const
bool InvoiceUnitArnHasBeenSet() const
const Aws::String & GetInvoiceUnitArn() const
bool RuleHasBeenSet() const
void SetName(NameT &&value)
InvoiceUnit & WithLastModified(LastModifiedT &&value)
void SetInvoiceReceiver(InvoiceReceiverT &&value)
InvoiceUnit & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
InvoiceUnit & WithTaxInheritanceDisabled(bool value)
const Aws::String & GetInvoiceReceiver() const
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastModifiedHasBeenSet() const
InvoiceUnit & WithInvoiceReceiver(InvoiceReceiverT &&value)
bool TaxInheritanceDisabledHasBeenSet() const
InvoiceUnit & WithRule(RuleT &&value)
InvoiceUnit & WithName(NameT &&value)
AWS_INVOICING_API InvoiceUnit & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetLastModified() const
void SetRule(RuleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue