7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
12#include <aws/partnercentral-benefits/model/BenefitApplicationStatus.h>
13#include <aws/partnercentral-benefits/model/Contact.h>
14#include <aws/partnercentral-benefits/model/FileDetail.h>
15#include <aws/partnercentral-benefits/model/FulfillmentType.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace PartnerCentralBenefits {
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
59 template <
typename ArnT = Aws::String>
61 m_arnHasBeenSet =
true;
62 m_arn = std::forward<ArnT>(value);
64 template <
typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
76 template <
typename CatalogT = Aws::String>
78 m_catalogHasBeenSet =
true;
79 m_catalog = std::forward<CatalogT>(value);
81 template <
typename CatalogT = Aws::String>
93 template <
typename BenefitIdT = Aws::String>
95 m_benefitIdHasBeenSet =
true;
96 m_benefitId = std::forward<BenefitIdT>(value);
98 template <
typename BenefitIdT = Aws::String>
110 template <
typename NameT = Aws::String>
112 m_nameHasBeenSet =
true;
113 m_name = std::forward<NameT>(value);
115 template <
typename NameT = Aws::String>
117 SetName(std::forward<NameT>(value));
127 template <
typename DescriptionT = Aws::String>
129 m_descriptionHasBeenSet =
true;
130 m_description = std::forward<DescriptionT>(value);
132 template <
typename DescriptionT = Aws::String>
144 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
146 m_fulfillmentTypesHasBeenSet =
true;
147 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
149 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
155 m_fulfillmentTypesHasBeenSet =
true;
156 m_fulfillmentTypes.push_back(value);
167 template <
typename BenefitApplicationDetailsT = Aws::Utils::Document>
169 m_benefitApplicationDetailsHasBeenSet =
true;
170 m_benefitApplicationDetails = std::forward<BenefitApplicationDetailsT>(value);
172 template <
typename BenefitApplicationDetailsT = Aws::Utils::Document>
184 template <
typename ProgramsT = Aws::Vector<Aws::String>>
186 m_programsHasBeenSet =
true;
187 m_programs = std::forward<ProgramsT>(value);
189 template <
typename ProgramsT = Aws::Vector<Aws::String>>
194 template <
typename ProgramsT = Aws::String>
196 m_programsHasBeenSet =
true;
197 m_programs.emplace_back(std::forward<ProgramsT>(value));
208 m_statusHasBeenSet =
true;
222 template <
typename StageT = Aws::String>
224 m_stageHasBeenSet =
true;
225 m_stage = std::forward<StageT>(value);
227 template <
typename StageT = Aws::String>
229 SetStage(std::forward<StageT>(value));
240 template <
typename StatusReasonT = Aws::String>
242 m_statusReasonHasBeenSet =
true;
243 m_statusReason = std::forward<StatusReasonT>(value);
245 template <
typename StatusReasonT = Aws::String>
258 template <
typename StatusReasonCodesT = Aws::Vector<Aws::String>>
260 m_statusReasonCodesHasBeenSet =
true;
261 m_statusReasonCodes = std::forward<StatusReasonCodesT>(value);
263 template <
typename StatusReasonCodesT = Aws::Vector<Aws::String>>
268 template <
typename StatusReasonCodesT = Aws::String>
270 m_statusReasonCodesHasBeenSet =
true;
271 m_statusReasonCodes.emplace_back(std::forward<StatusReasonCodesT>(value));
281 template <
typename CreatedAtT = Aws::Utils::DateTime>
283 m_createdAtHasBeenSet =
true;
284 m_createdAt = std::forward<CreatedAtT>(value);
286 template <
typename CreatedAtT = Aws::Utils::DateTime>
298 template <
typename UpdatedAtT = Aws::Utils::DateTime>
300 m_updatedAtHasBeenSet =
true;
301 m_updatedAt = std::forward<UpdatedAtT>(value);
303 template <
typename UpdatedAtT = Aws::Utils::DateTime>
315 template <
typename RevisionT = Aws::String>
317 m_revisionHasBeenSet =
true;
318 m_revision = std::forward<RevisionT>(value);
320 template <
typename RevisionT = Aws::String>
332 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
334 m_associatedResourcesHasBeenSet =
true;
335 m_associatedResources = std::forward<AssociatedResourcesT>(value);
337 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
342 template <
typename AssociatedResourcesT = Aws::String>
344 m_associatedResourcesHasBeenSet =
true;
345 m_associatedResources.emplace_back(std::forward<AssociatedResourcesT>(value));
356 template <
typename PartnerContactsT = Aws::Vector<Contact>>
358 m_partnerContactsHasBeenSet =
true;
359 m_partnerContacts = std::forward<PartnerContactsT>(value);
361 template <
typename PartnerContactsT = Aws::Vector<Contact>>
366 template <
typename PartnerContactsT = Contact>
368 m_partnerContactsHasBeenSet =
true;
369 m_partnerContacts.emplace_back(std::forward<PartnerContactsT>(value));
379 template <
typename FileDetailsT = Aws::Vector<FileDetail>>
381 m_fileDetailsHasBeenSet =
true;
382 m_fileDetails = std::forward<FileDetailsT>(value);
384 template <
typename FileDetailsT = Aws::Vector<FileDetail>>
389 template <
typename FileDetailsT = FileDetail>
391 m_fileDetailsHasBeenSet =
true;
392 m_fileDetails.emplace_back(std::forward<FileDetailsT>(value));
400 template <
typename RequestIdT = Aws::String>
402 m_requestIdHasBeenSet =
true;
403 m_requestId = std::forward<RequestIdT>(value);
405 template <
typename RequestIdT = Aws::String>
451 bool m_idHasBeenSet =
false;
452 bool m_arnHasBeenSet =
false;
453 bool m_catalogHasBeenSet =
false;
454 bool m_benefitIdHasBeenSet =
false;
455 bool m_nameHasBeenSet =
false;
456 bool m_descriptionHasBeenSet =
false;
457 bool m_fulfillmentTypesHasBeenSet =
false;
458 bool m_benefitApplicationDetailsHasBeenSet =
false;
459 bool m_programsHasBeenSet =
false;
460 bool m_statusHasBeenSet =
false;
461 bool m_stageHasBeenSet =
false;
462 bool m_statusReasonHasBeenSet =
false;
463 bool m_statusReasonCodesHasBeenSet =
false;
464 bool m_createdAtHasBeenSet =
false;
465 bool m_updatedAtHasBeenSet =
false;
466 bool m_revisionHasBeenSet =
false;
467 bool m_associatedResourcesHasBeenSet =
false;
468 bool m_partnerContactsHasBeenSet =
false;
469 bool m_fileDetailsHasBeenSet =
false;
470 bool m_requestIdHasBeenSet =
false;
AWS_PARTNERCENTRALBENEFITS_API GetBenefitApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBenefitApplicationResult & WithFileDetails(FileDetailsT &&value)
void SetFileDetails(FileDetailsT &&value)
void SetArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Aws::String > & GetStatusReasonCodes() const
GetBenefitApplicationResult & WithId(IdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetStage() const
Aws::Utils::DocumentView GetBenefitApplicationDetails() const
GetBenefitApplicationResult & AddPrograms(ProgramsT &&value)
const Aws::String & GetName() const
GetBenefitApplicationResult & WithName(NameT &&value)
GetBenefitApplicationResult & WithBenefitApplicationDetails(BenefitApplicationDetailsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetStatusReason() const
void SetBenefitApplicationDetails(BenefitApplicationDetailsT &&value)
GetBenefitApplicationResult & WithStage(StageT &&value)
void SetPartnerContacts(PartnerContactsT &&value)
void SetStage(StageT &&value)
GetBenefitApplicationResult & WithCreatedAt(CreatedAtT &&value)
GetBenefitApplicationResult & WithPartnerContacts(PartnerContactsT &&value)
GetBenefitApplicationResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetBenefitApplicationResult & WithRevision(RevisionT &&value)
GetBenefitApplicationResult & WithRequestId(RequestIdT &&value)
GetBenefitApplicationResult & WithAssociatedResources(AssociatedResourcesT &&value)
const Aws::String & GetCatalog() const
const Aws::String & GetBenefitId() const
GetBenefitApplicationResult & AddFileDetails(FileDetailsT &&value)
GetBenefitApplicationResult & WithPrograms(ProgramsT &&value)
const Aws::String & GetId() const
const Aws::Vector< Aws::String > & GetAssociatedResources() const
void SetBenefitId(BenefitIdT &&value)
void SetFulfillmentTypes(FulfillmentTypesT &&value)
const Aws::String & GetArn() const
void SetStatusReasonCodes(StatusReasonCodesT &&value)
void SetRequestId(RequestIdT &&value)
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
GetBenefitApplicationResult & WithStatus(BenefitApplicationStatus value)
void SetAssociatedResources(AssociatedResourcesT &&value)
GetBenefitApplicationResult & WithArn(ArnT &&value)
BenefitApplicationStatus GetStatus() const
GetBenefitApplicationResult & AddPartnerContacts(PartnerContactsT &&value)
const Aws::Vector< FulfillmentType > & GetFulfillmentTypes() const
AWS_PARTNERCENTRALBENEFITS_API GetBenefitApplicationResult()=default
const Aws::Vector< Contact > & GetPartnerContacts() const
GetBenefitApplicationResult & WithBenefitId(BenefitIdT &&value)
GetBenefitApplicationResult & AddFulfillmentTypes(FulfillmentType value)
void SetCreatedAt(CreatedAtT &&value)
GetBenefitApplicationResult & WithCatalog(CatalogT &&value)
GetBenefitApplicationResult & WithDescription(DescriptionT &&value)
GetBenefitApplicationResult & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetRevision() const
GetBenefitApplicationResult & AddStatusReasonCodes(StatusReasonCodesT &&value)
void SetStatus(BenefitApplicationStatus value)
AWS_PARTNERCENTRALBENEFITS_API GetBenefitApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBenefitApplicationResult & WithStatusReasonCodes(StatusReasonCodesT &&value)
const Aws::Vector< Aws::String > & GetPrograms() const
GetBenefitApplicationResult & AddAssociatedResources(AssociatedResourcesT &&value)
GetBenefitApplicationResult & WithFulfillmentTypes(FulfillmentTypesT &&value)
void SetRevision(RevisionT &&value)
const Aws::String & GetDescription() const
void SetPrograms(ProgramsT &&value)
void SetStatusReason(StatusReasonT &&value)
const Aws::Vector< FileDetail > & GetFileDetails() const
void SetCatalog(CatalogT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue