7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-benefits/PartnerCentralBenefitsRequest.h>
11#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
12#include <aws/partnercentral-benefits/model/Contact.h>
13#include <aws/partnercentral-benefits/model/FileInput.h>
14#include <aws/partnercentral-benefits/model/FulfillmentType.h>
15#include <aws/partnercentral-benefits/model/Tag.h>
20namespace PartnerCentralBenefits {
46 template <
typename CatalogT = Aws::String>
48 m_catalogHasBeenSet =
true;
49 m_catalog = std::forward<CatalogT>(value);
51 template <
typename CatalogT = Aws::String>
65 template <
typename ClientTokenT = Aws::String>
67 m_clientTokenHasBeenSet =
true;
68 m_clientToken = std::forward<ClientTokenT>(value);
70 template <
typename ClientTokenT = Aws::String>
83 template <
typename NameT = Aws::String>
85 m_nameHasBeenSet =
true;
86 m_name = std::forward<NameT>(value);
88 template <
typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
119 template <
typename BenefitIdentifierT = Aws::String>
121 m_benefitIdentifierHasBeenSet =
true;
122 m_benefitIdentifier = std::forward<BenefitIdentifierT>(value);
124 template <
typename BenefitIdentifierT = Aws::String>
138 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
140 m_fulfillmentTypesHasBeenSet =
true;
141 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
143 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
149 m_fulfillmentTypesHasBeenSet =
true;
150 m_fulfillmentTypes.push_back(value);
162 template <
typename BenefitApplicationDetailsT = Aws::Utils::Document>
164 m_benefitApplicationDetailsHasBeenSet =
true;
165 m_benefitApplicationDetails = std::forward<BenefitApplicationDetailsT>(value);
167 template <
typename BenefitApplicationDetailsT = Aws::Utils::Document>
180 template <
typename TagsT = Aws::Vector<Tag>>
182 m_tagsHasBeenSet =
true;
183 m_tags = std::forward<TagsT>(value);
185 template <
typename TagsT = Aws::Vector<Tag>>
187 SetTags(std::forward<TagsT>(value));
190 template <
typename TagsT = Tag>
192 m_tagsHasBeenSet =
true;
193 m_tags.emplace_back(std::forward<TagsT>(value));
204 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
206 m_associatedResourcesHasBeenSet =
true;
207 m_associatedResources = std::forward<AssociatedResourcesT>(value);
209 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
214 template <
typename AssociatedResourcesT = Aws::String>
216 m_associatedResourcesHasBeenSet =
true;
217 m_associatedResources.emplace_back(std::forward<AssociatedResourcesT>(value));
229 template <
typename PartnerContactsT = Aws::Vector<Contact>>
231 m_partnerContactsHasBeenSet =
true;
232 m_partnerContacts = std::forward<PartnerContactsT>(value);
234 template <
typename PartnerContactsT = Aws::Vector<Contact>>
239 template <
typename PartnerContactsT = Contact>
241 m_partnerContactsHasBeenSet =
true;
242 m_partnerContacts.emplace_back(std::forward<PartnerContactsT>(value));
253 template <
typename FileDetailsT = Aws::Vector<FileInput>>
255 m_fileDetailsHasBeenSet =
true;
256 m_fileDetails = std::forward<FileDetailsT>(value);
258 template <
typename FileDetailsT = Aws::Vector<FileInput>>
263 template <
typename FileDetailsT = FileInput>
265 m_fileDetailsHasBeenSet =
true;
266 m_fileDetails.emplace_back(std::forward<FileDetailsT>(value));
292 bool m_catalogHasBeenSet =
false;
293 bool m_clientTokenHasBeenSet =
false;
294 bool m_nameHasBeenSet =
false;
295 bool m_descriptionHasBeenSet =
false;
296 bool m_benefitIdentifierHasBeenSet =
false;
297 bool m_fulfillmentTypesHasBeenSet =
false;
298 bool m_benefitApplicationDetailsHasBeenSet =
false;
299 bool m_tagsHasBeenSet =
false;
300 bool m_associatedResourcesHasBeenSet =
false;
301 bool m_partnerContactsHasBeenSet =
false;
302 bool m_fileDetailsHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
void SetPartnerContacts(PartnerContactsT &&value)
AWS_PARTNERCENTRALBENEFITS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
bool BenefitApplicationDetailsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAssociatedResources() const
CreateBenefitApplicationRequest & WithBenefitIdentifier(BenefitIdentifierT &&value)
const Aws::Vector< FulfillmentType > & GetFulfillmentTypes() const
CreateBenefitApplicationRequest & WithClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
bool TagsHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Contact > & GetPartnerContacts() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetClientToken() const
CreateBenefitApplicationRequest & AddFulfillmentTypes(FulfillmentType value)
bool FulfillmentTypesHasBeenSet() const
void SetAssociatedResources(AssociatedResourcesT &&value)
CreateBenefitApplicationRequest & AddFileDetails(FileDetailsT &&value)
CreateBenefitApplicationRequest & WithCatalog(CatalogT &&value)
const Aws::String & GetBenefitIdentifier() const
bool PartnerContactsHasBeenSet() const
const Aws::Vector< FileInput > & GetFileDetails() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetName() const
void SetTags(TagsT &&value)
bool AssociatedResourcesHasBeenSet() const
CreateBenefitApplicationRequest & WithBenefitApplicationDetails(BenefitApplicationDetailsT &&value)
CreateBenefitApplicationRequest & WithFileDetails(FileDetailsT &&value)
bool CatalogHasBeenSet() const
CreateBenefitApplicationRequest & WithFulfillmentTypes(FulfillmentTypesT &&value)
bool DescriptionHasBeenSet() const
void SetBenefitApplicationDetails(BenefitApplicationDetailsT &&value)
bool FileDetailsHasBeenSet() const
CreateBenefitApplicationRequest & WithTags(TagsT &&value)
AWS_PARTNERCENTRALBENEFITS_API CreateBenefitApplicationRequest()=default
CreateBenefitApplicationRequest & WithName(NameT &&value)
void SetFulfillmentTypes(FulfillmentTypesT &&value)
bool NameHasBeenSet() const
CreateBenefitApplicationRequest & AddAssociatedResources(AssociatedResourcesT &&value)
const Aws::String & GetCatalog() const
AWS_PARTNERCENTRALBENEFITS_API Aws::String SerializePayload() const override
void SetCatalog(CatalogT &&value)
CreateBenefitApplicationRequest & WithDescription(DescriptionT &&value)
Aws::Utils::DocumentView GetBenefitApplicationDetails() const
bool BenefitIdentifierHasBeenSet() const
CreateBenefitApplicationRequest & WithPartnerContacts(PartnerContactsT &&value)
void SetFileDetails(FileDetailsT &&value)
CreateBenefitApplicationRequest & WithAssociatedResources(AssociatedResourcesT &&value)
void SetBenefitIdentifier(BenefitIdentifierT &&value)
CreateBenefitApplicationRequest & AddPartnerContacts(PartnerContactsT &&value)
CreateBenefitApplicationRequest & AddTags(TagsT &&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