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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename InvoiceUnitArnT = Aws::String>
44 void SetInvoiceUnitArn(InvoiceUnitArnT&& value) { m_invoiceUnitArnHasBeenSet =
true; m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value); }
45 template<
typename InvoiceUnitArnT = Aws::String>
56 template<
typename InvoiceReceiverT = Aws::String>
57 void SetInvoiceReceiver(InvoiceReceiverT&& value) { m_invoiceReceiverHasBeenSet =
true; m_invoiceReceiver = std::forward<InvoiceReceiverT>(value); }
58 template<
typename InvoiceReceiverT = Aws::String>
68 template<
typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
70 template<
typename NameT = Aws::String>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
98 template<
typename RuleT = InvoiceUnitRule>
99 void SetRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule = std::forward<RuleT>(value); }
100 template<
typename RuleT = InvoiceUnitRule>
109 template<
typename LastModifiedT = Aws::Utils::DateTime>
110 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
111 template<
typename LastModifiedT = Aws::Utils::DateTime>
118 template<
typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
120 template<
typename RequestIdT = Aws::String>
126 bool m_invoiceUnitArnHasBeenSet =
false;
129 bool m_invoiceReceiverHasBeenSet =
false;
132 bool m_nameHasBeenSet =
false;
135 bool m_descriptionHasBeenSet =
false;
137 bool m_taxInheritanceDisabled{
false};
138 bool m_taxInheritanceDisabledHasBeenSet =
false;
140 InvoiceUnitRule m_rule;
141 bool m_ruleHasBeenSet =
false;
144 bool m_lastModifiedHasBeenSet =
false;
147 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