7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/Document.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
13#include <aws/partnercentral-benefits/model/BenefitApplicationStatus.h>
14#include <aws/partnercentral-benefits/model/Contact.h>
15#include <aws/partnercentral-benefits/model/FileDetail.h>
16#include <aws/partnercentral-benefits/model/FulfillmentType.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace PartnerCentralBenefits {
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
60 template <
typename ArnT = Aws::String>
62 m_arnHasBeenSet =
true;
63 m_arn = std::forward<ArnT>(value);
65 template <
typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
77 template <
typename CatalogT = Aws::String>
79 m_catalogHasBeenSet =
true;
80 m_catalog = std::forward<CatalogT>(value);
82 template <
typename CatalogT = Aws::String>
94 template <
typename BenefitIdT = Aws::String>
96 m_benefitIdHasBeenSet =
true;
97 m_benefitId = std::forward<BenefitIdT>(value);
99 template <
typename BenefitIdT = Aws::String>
111 template <
typename NameT = Aws::String>
113 m_nameHasBeenSet =
true;
114 m_name = std::forward<NameT>(value);
116 template <
typename NameT = Aws::String>
118 SetName(std::forward<NameT>(value));
128 template <
typename DescriptionT = Aws::String>
130 m_descriptionHasBeenSet =
true;
131 m_description = std::forward<DescriptionT>(value);
133 template <
typename DescriptionT = Aws::String>
145 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
147 m_fulfillmentTypesHasBeenSet =
true;
148 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
150 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
156 m_fulfillmentTypesHasBeenSet =
true;
157 m_fulfillmentTypes.push_back(value);
168 template <
typename BenefitApplicationDetailsT = Aws::Utils::Document>
170 m_benefitApplicationDetailsHasBeenSet =
true;
171 m_benefitApplicationDetails = std::forward<BenefitApplicationDetailsT>(value);
173 template <
typename BenefitApplicationDetailsT = Aws::Utils::Document>
185 template <
typename ProgramsT = Aws::Vector<Aws::String>>
187 m_programsHasBeenSet =
true;
188 m_programs = std::forward<ProgramsT>(value);
190 template <
typename ProgramsT = Aws::Vector<Aws::String>>
195 template <
typename ProgramsT = Aws::String>
197 m_programsHasBeenSet =
true;
198 m_programs.emplace_back(std::forward<ProgramsT>(value));
209 m_statusHasBeenSet =
true;
223 template <
typename StageT = Aws::String>
225 m_stageHasBeenSet =
true;
226 m_stage = std::forward<StageT>(value);
228 template <
typename StageT = Aws::String>
230 SetStage(std::forward<StageT>(value));
241 template <
typename StatusReasonT = Aws::String>
243 m_statusReasonHasBeenSet =
true;
244 m_statusReason = std::forward<StatusReasonT>(value);
246 template <
typename StatusReasonT = Aws::String>
259 template <
typename StatusReasonCodesT = Aws::Vector<Aws::String>>
261 m_statusReasonCodesHasBeenSet =
true;
262 m_statusReasonCodes = std::forward<StatusReasonCodesT>(value);
264 template <
typename StatusReasonCodesT = Aws::Vector<Aws::String>>
269 template <
typename StatusReasonCodesT = Aws::String>
271 m_statusReasonCodesHasBeenSet =
true;
272 m_statusReasonCodes.emplace_back(std::forward<StatusReasonCodesT>(value));
282 template <
typename CreatedAtT = Aws::Utils::DateTime>
284 m_createdAtHasBeenSet =
true;
285 m_createdAt = std::forward<CreatedAtT>(value);
287 template <
typename CreatedAtT = Aws::Utils::DateTime>
299 template <
typename UpdatedAtT = Aws::Utils::DateTime>
301 m_updatedAtHasBeenSet =
true;
302 m_updatedAt = std::forward<UpdatedAtT>(value);
304 template <
typename UpdatedAtT = Aws::Utils::DateTime>
316 template <
typename RevisionT = Aws::String>
318 m_revisionHasBeenSet =
true;
319 m_revision = std::forward<RevisionT>(value);
321 template <
typename RevisionT = Aws::String>
333 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
335 m_associatedResourcesHasBeenSet =
true;
336 m_associatedResources = std::forward<AssociatedResourcesT>(value);
338 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
343 template <
typename AssociatedResourcesT = Aws::String>
345 m_associatedResourcesHasBeenSet =
true;
346 m_associatedResources.emplace_back(std::forward<AssociatedResourcesT>(value));
357 template <
typename PartnerContactsT = Aws::Vector<Contact>>
359 m_partnerContactsHasBeenSet =
true;
360 m_partnerContacts = std::forward<PartnerContactsT>(value);
362 template <
typename PartnerContactsT = Aws::Vector<Contact>>
367 template <
typename PartnerContactsT = Contact>
369 m_partnerContactsHasBeenSet =
true;
370 m_partnerContacts.emplace_back(std::forward<PartnerContactsT>(value));
380 template <
typename FileDetailsT = Aws::Vector<FileDetail>>
382 m_fileDetailsHasBeenSet =
true;
383 m_fileDetails = std::forward<FileDetailsT>(value);
385 template <
typename FileDetailsT = Aws::Vector<FileDetail>>
390 template <
typename FileDetailsT = FileDetail>
392 m_fileDetailsHasBeenSet =
true;
393 m_fileDetails.emplace_back(std::forward<FileDetailsT>(value));
401 template <
typename RequestIdT = Aws::String>
403 m_requestIdHasBeenSet =
true;
404 m_requestId = std::forward<RequestIdT>(value);
406 template <
typename RequestIdT = Aws::String>
455 bool m_idHasBeenSet =
false;
456 bool m_arnHasBeenSet =
false;
457 bool m_catalogHasBeenSet =
false;
458 bool m_benefitIdHasBeenSet =
false;
459 bool m_nameHasBeenSet =
false;
460 bool m_descriptionHasBeenSet =
false;
461 bool m_fulfillmentTypesHasBeenSet =
false;
462 bool m_benefitApplicationDetailsHasBeenSet =
false;
463 bool m_programsHasBeenSet =
false;
464 bool m_statusHasBeenSet =
false;
465 bool m_stageHasBeenSet =
false;
466 bool m_statusReasonHasBeenSet =
false;
467 bool m_statusReasonCodesHasBeenSet =
false;
468 bool m_createdAtHasBeenSet =
false;
469 bool m_updatedAtHasBeenSet =
false;
470 bool m_revisionHasBeenSet =
false;
471 bool m_associatedResourcesHasBeenSet =
false;
472 bool m_partnerContactsHasBeenSet =
false;
473 bool m_fileDetailsHasBeenSet =
false;
474 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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