7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/invoicing/InvoicingRequest.h>
10#include <aws/invoicing/Invoicing_EXPORTS.h>
11#include <aws/invoicing/model/InvoiceUnitRule.h>
12#include <aws/invoicing/model/ResourceTag.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
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 DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
102 m_taxInheritanceDisabledHasBeenSet =
true;
103 m_taxInheritanceDisabled = value;
117 template <
typename RuleT = InvoiceUnitRule>
119 m_ruleHasBeenSet =
true;
120 m_rule = std::forward<RuleT>(value);
122 template <
typename RuleT = InvoiceUnitRule>
124 SetRule(std::forward<RuleT>(value));
135 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
137 m_resourceTagsHasBeenSet =
true;
138 m_resourceTags = std::forward<ResourceTagsT>(value);
140 template <
typename ResourceTagsT = Aws::Vector<ResourceTag>>
145 template <
typename ResourceTagsT = ResourceTag>
147 m_resourceTagsHasBeenSet =
true;
148 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
159 bool m_taxInheritanceDisabled{
false};
161 InvoiceUnitRule m_rule;
164 bool m_nameHasBeenSet =
false;
165 bool m_invoiceReceiverHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
167 bool m_taxInheritanceDisabledHasBeenSet =
false;
168 bool m_ruleHasBeenSet =
false;
169 bool m_resourceTagsHasBeenSet =
false;
CreateInvoiceUnitRequest & WithInvoiceReceiver(InvoiceReceiverT &&value)
bool GetTaxInheritanceDisabled() const
AWS_INVOICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
CreateInvoiceUnitRequest & WithDescription(DescriptionT &&value)
CreateInvoiceUnitRequest & AddResourceTags(ResourceTagsT &&value)
AWS_INVOICING_API CreateInvoiceUnitRequest()=default
CreateInvoiceUnitRequest & WithTaxInheritanceDisabled(bool value)
bool RuleHasBeenSet() 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)
bool InvoiceReceiverHasBeenSet() const
void SetResourceTags(ResourceTagsT &&value)
CreateInvoiceUnitRequest & WithRule(RuleT &&value)
void SetTaxInheritanceDisabled(bool value)
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