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>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename InvoiceUnitArnT = Aws::String>
39 m_invoiceUnitArnHasBeenSet =
true;
40 m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value);
42 template <
typename InvoiceUnitArnT = Aws::String>
56 template <
typename InvoiceReceiverT = Aws::String>
58 m_invoiceReceiverHasBeenSet =
true;
59 m_invoiceReceiver = std::forward<InvoiceReceiverT>(value);
61 template <
typename InvoiceReceiverT = Aws::String>
74 template <
typename NameT = Aws::String>
76 m_nameHasBeenSet =
true;
77 m_name = std::forward<NameT>(value);
79 template <
typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
91 template <
typename DescriptionT = Aws::String>
93 m_descriptionHasBeenSet =
true;
94 m_description = std::forward<DescriptionT>(value);
96 template <
typename DescriptionT = Aws::String>
110 m_taxInheritanceDisabledHasBeenSet =
true;
111 m_taxInheritanceDisabled = value;
122 template <
typename RuleT = InvoiceUnitRule>
124 m_ruleHasBeenSet =
true;
125 m_rule = std::forward<RuleT>(value);
127 template <
typename RuleT = InvoiceUnitRule>
129 SetRule(std::forward<RuleT>(value));
139 template <
typename LastModifiedT = Aws::Utils::DateTime>
141 m_lastModifiedHasBeenSet =
true;
142 m_lastModified = std::forward<LastModifiedT>(value);
144 template <
typename LastModifiedT = Aws::Utils::DateTime>
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
174 bool m_taxInheritanceDisabled{
false};
176 InvoiceUnitRule m_rule;
181 bool m_invoiceUnitArnHasBeenSet =
false;
182 bool m_invoiceReceiverHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
184 bool m_descriptionHasBeenSet =
false;
185 bool m_taxInheritanceDisabledHasBeenSet =
false;
186 bool m_ruleHasBeenSet =
false;
187 bool m_lastModifiedHasBeenSet =
false;
188 bool m_requestIdHasBeenSet =
false;
void SetInvoiceUnitArn(InvoiceUnitArnT &&value)
bool GetTaxInheritanceDisabled() const
GetInvoiceUnitResult & WithInvoiceUnitArn(InvoiceUnitArnT &&value)
GetInvoiceUnitResult & WithLastModified(LastModifiedT &&value)
GetInvoiceUnitResult & WithRule(RuleT &&value)
GetInvoiceUnitResult & WithDescription(DescriptionT &&value)
const InvoiceUnitRule & GetRule() const
AWS_INVOICING_API GetInvoiceUnitResult()=default
const Aws::String & GetInvoiceReceiver() const
void SetLastModified(LastModifiedT &&value)
void SetDescription(DescriptionT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetTaxInheritanceDisabled(bool value)
GetInvoiceUnitResult & WithTaxInheritanceDisabled(bool value)
AWS_INVOICING_API GetInvoiceUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInvoiceReceiver(InvoiceReceiverT &&value)
const Aws::Utils::DateTime & GetLastModified() const
const Aws::String & GetDescription() const
GetInvoiceUnitResult & WithInvoiceReceiver(InvoiceReceiverT &&value)
GetInvoiceUnitResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetInvoiceUnitArn() const
GetInvoiceUnitResult & WithName(NameT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
void SetRule(RuleT &&value)
AWS_INVOICING_API GetInvoiceUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue