7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/Invoicing_EXPORTS.h>
10#include <aws/invoicing/model/InvoiceUnitRule.h>
46 template <
typename InvoiceUnitArnT = Aws::String>
48 m_invoiceUnitArnHasBeenSet =
true;
49 m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value);
51 template <
typename InvoiceUnitArnT = Aws::String>
64 template <
typename InvoiceReceiverT = Aws::String>
66 m_invoiceReceiverHasBeenSet =
true;
67 m_invoiceReceiver = std::forward<InvoiceReceiverT>(value);
69 template <
typename InvoiceReceiverT = Aws::String>
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
121 m_taxInheritanceDisabledHasBeenSet =
true;
122 m_taxInheritanceDisabled = value;
137 template <
typename RuleT = InvoiceUnitRule>
139 m_ruleHasBeenSet =
true;
140 m_rule = std::forward<RuleT>(value);
142 template <
typename RuleT = InvoiceUnitRule>
144 SetRule(std::forward<RuleT>(value));
158 template <
typename LastModifiedT = Aws::Utils::DateTime>
160 m_lastModifiedHasBeenSet =
true;
161 m_lastModified = std::forward<LastModifiedT>(value);
163 template <
typename LastModifiedT = Aws::Utils::DateTime>
178 bool m_taxInheritanceDisabled{
false};
180 InvoiceUnitRule m_rule;
183 bool m_invoiceUnitArnHasBeenSet =
false;
184 bool m_invoiceReceiverHasBeenSet =
false;
185 bool m_nameHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
187 bool m_taxInheritanceDisabledHasBeenSet =
false;
188 bool m_ruleHasBeenSet =
false;
189 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