7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/invoicing/Invoicing_EXPORTS.h>
11#include <aws/invoicing/model/InvoiceUnitRule.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename InvoiceUnitArnT = Aws::String>
40 m_invoiceUnitArnHasBeenSet =
true;
41 m_invoiceUnitArn = std::forward<InvoiceUnitArnT>(value);
43 template <
typename InvoiceUnitArnT = Aws::String>
57 template <
typename InvoiceReceiverT = Aws::String>
59 m_invoiceReceiverHasBeenSet =
true;
60 m_invoiceReceiver = std::forward<InvoiceReceiverT>(value);
62 template <
typename InvoiceReceiverT = Aws::String>
75 template <
typename NameT = Aws::String>
77 m_nameHasBeenSet =
true;
78 m_name = std::forward<NameT>(value);
80 template <
typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
92 template <
typename DescriptionT = Aws::String>
94 m_descriptionHasBeenSet =
true;
95 m_description = std::forward<DescriptionT>(value);
97 template <
typename DescriptionT = Aws::String>
111 m_taxInheritanceDisabledHasBeenSet =
true;
112 m_taxInheritanceDisabled = value;
123 template <
typename RuleT = InvoiceUnitRule>
125 m_ruleHasBeenSet =
true;
126 m_rule = std::forward<RuleT>(value);
128 template <
typename RuleT = InvoiceUnitRule>
130 SetRule(std::forward<RuleT>(value));
140 template <
typename LastModifiedT = Aws::Utils::DateTime>
142 m_lastModifiedHasBeenSet =
true;
143 m_lastModified = std::forward<LastModifiedT>(value);
145 template <
typename LastModifiedT = Aws::Utils::DateTime>
155 template <
typename RequestIdT = Aws::String>
157 m_requestIdHasBeenSet =
true;
158 m_requestId = std::forward<RequestIdT>(value);
160 template <
typename RequestIdT = Aws::String>
177 bool m_taxInheritanceDisabled{
false};
179 InvoiceUnitRule m_rule;
185 bool m_invoiceUnitArnHasBeenSet =
false;
186 bool m_invoiceReceiverHasBeenSet =
false;
187 bool m_nameHasBeenSet =
false;
188 bool m_descriptionHasBeenSet =
false;
189 bool m_taxInheritanceDisabledHasBeenSet =
false;
190 bool m_ruleHasBeenSet =
false;
191 bool m_lastModifiedHasBeenSet =
false;
192 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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