7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/invoicing/InvoicingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/invoicing/model/InvoiceUnitRule.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/invoicing/model/ResourceTag.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
62 template<
typename InvoiceReceiverT = Aws::String>
63 void SetInvoiceReceiver(InvoiceReceiverT&& value) { m_invoiceReceiverHasBeenSet =
true; m_invoiceReceiver = std::forward<InvoiceReceiverT>(value); }
64 template<
typename InvoiceReceiverT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
97 template<
typename RuleT = InvoiceUnitRule>
98 void SetRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule = std::forward<RuleT>(value); }
99 template<
typename RuleT = InvoiceUnitRule>
109 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
110 void SetResourceTags(ResourceTagsT&& value) { m_resourceTagsHasBeenSet =
true; m_resourceTags = std::forward<ResourceTagsT>(value); }
111 template<
typename ResourceTagsT = Aws::Vector<ResourceTag>>
113 template<
typename ResourceTagsT = ResourceTag>
119 bool m_nameHasBeenSet =
false;
122 bool m_invoiceReceiverHasBeenSet =
false;
125 bool m_descriptionHasBeenSet =
false;
127 bool m_taxInheritanceDisabled{
false};
128 bool m_taxInheritanceDisabledHasBeenSet =
false;
130 InvoiceUnitRule m_rule;
131 bool m_ruleHasBeenSet =
false;
134 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