7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/invoicing/InvoicingRequest.h>
11#include <aws/invoicing/Invoicing_EXPORTS.h>
12#include <aws/invoicing/model/InvoiceUnitRule.h>
13#include <aws/invoicing/model/ResourceTag.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
65 template <
typename InvoiceReceiverT = Aws::String>
67 m_invoiceReceiverHasBeenSet =
true;
68 m_invoiceReceiver = std::forward<InvoiceReceiverT>(value);
70 template <
typename InvoiceReceiverT = Aws::String>
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
103 m_taxInheritanceDisabledHasBeenSet =
true;
104 m_taxInheritanceDisabled = value;
118 template <
typename RuleT = InvoiceUnitRule>
120 m_ruleHasBeenSet =
true;
121 m_rule = std::forward<RuleT>(value);
123 template <
typename RuleT = InvoiceUnitRule>
125 SetRule(std::forward<RuleT>(value));
136 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
138 m_resourceTagsHasBeenSet =
true;
139 m_resourceTags = std::forward<ResourceTagsT>(value);
141 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
146 template <
typename ResourceTagsT = ResourceTag>
148 m_resourceTagsHasBeenSet =
true;
149 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
161 template <
typename ClientTokenT = Aws::String>
163 m_clientTokenHasBeenSet =
true;
164 m_clientToken = std::forward<ClientTokenT>(value);
166 template <
typename ClientTokenT = Aws::String>
179 bool m_taxInheritanceDisabled{
false};
181 InvoiceUnitRule m_rule;
186 bool m_nameHasBeenSet =
false;
187 bool m_invoiceReceiverHasBeenSet =
false;
188 bool m_descriptionHasBeenSet =
false;
189 bool m_taxInheritanceDisabledHasBeenSet =
false;
190 bool m_ruleHasBeenSet =
false;
191 bool m_resourceTagsHasBeenSet =
false;
192 bool m_clientTokenHasBeenSet =
true;
CreateInvoiceUnitRequest & WithInvoiceReceiver(InvoiceReceiverT &&value)
bool GetTaxInheritanceDisabled() const
AWS_INVOICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDescription(DescriptionT &&value)
void SetClientToken(ClientTokenT &&value)
bool NameHasBeenSet() const
CreateInvoiceUnitRequest & WithDescription(DescriptionT &&value)
CreateInvoiceUnitRequest & AddResourceTags(ResourceTagsT &&value)
AWS_INVOICING_API CreateInvoiceUnitRequest()=default
CreateInvoiceUnitRequest & WithTaxInheritanceDisabled(bool value)
bool RuleHasBeenSet() const
bool ClientTokenHasBeenSet() const
AWS_INVOICING_API Aws::String SerializePayload() const override
const Aws::String & GetInvoiceReceiver() const
const InvoiceUnitRule & GetRule() const
const Aws::String & GetDescription() const
bool TaxInheritanceDisabledHasBeenSet() const
const Aws::String & GetName() const
CreateInvoiceUnitRequest & WithResourceTags(ResourceTagsT &&value)
const Aws::Vector< ResourceTag > & GetResourceTags() const
void SetRule(RuleT &&value)
void SetInvoiceReceiver(InvoiceReceiverT &&value)
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
CreateInvoiceUnitRequest & WithName(NameT &&value)
bool ResourceTagsHasBeenSet() const
void SetName(NameT &&value)
CreateInvoiceUnitRequest & WithClientToken(ClientTokenT &&value)
bool InvoiceReceiverHasBeenSet() const
void SetResourceTags(ResourceTagsT &&value)
CreateInvoiceUnitRequest & WithRule(RuleT &&value)
const Aws::String & GetClientToken() const
void SetTaxInheritanceDisabled(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector