7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.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/FulfillmentType.h>
24namespace PartnerCentralBenefits {
46 template <
typename CatalogT = Aws::String>
48 m_catalogHasBeenSet =
true;
49 m_catalog = std::forward<CatalogT>(value);
51 template <
typename CatalogT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename IdT = Aws::String>
84 m_idHasBeenSet =
true;
85 m_id = std::forward<IdT>(value);
87 template <
typename IdT = Aws::String>
89 SetId(std::forward<IdT>(value));
100 template <
typename ArnT = Aws::String>
102 m_arnHasBeenSet =
true;
103 m_arn = std::forward<ArnT>(value);
105 template <
typename ArnT = Aws::String>
107 SetArn(std::forward<ArnT>(value));
118 template <
typename BenefitIdT = Aws::String>
120 m_benefitIdHasBeenSet =
true;
121 m_benefitId = std::forward<BenefitIdT>(value);
123 template <
typename BenefitIdT = Aws::String>
136 template <
typename ProgramsT = Aws::Vector<Aws::String>>
138 m_programsHasBeenSet =
true;
139 m_programs = std::forward<ProgramsT>(value);
141 template <
typename ProgramsT = Aws::Vector<Aws::String>>
146 template <
typename ProgramsT = Aws::String>
148 m_programsHasBeenSet =
true;
149 m_programs.emplace_back(std::forward<ProgramsT>(value));
160 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
162 m_fulfillmentTypesHasBeenSet =
true;
163 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
165 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
171 m_fulfillmentTypesHasBeenSet =
true;
172 m_fulfillmentTypes.push_back(value);
184 m_statusHasBeenSet =
true;
199 template <
typename StageT = Aws::String>
201 m_stageHasBeenSet =
true;
202 m_stage = std::forward<StageT>(value);
204 template <
typename StageT = Aws::String>
206 SetStage(std::forward<StageT>(value));
217 template <
typename CreatedAtT = Aws::Utils::DateTime>
219 m_createdAtHasBeenSet =
true;
220 m_createdAt = std::forward<CreatedAtT>(value);
222 template <
typename CreatedAtT = Aws::Utils::DateTime>
235 template <
typename UpdatedAtT = Aws::Utils::DateTime>
237 m_updatedAtHasBeenSet =
true;
238 m_updatedAt = std::forward<UpdatedAtT>(value);
240 template <
typename UpdatedAtT = Aws::Utils::DateTime>
254 template <
typename BenefitApplicationDetailsT = Aws::Map<Aws::String, Aws::String>>
256 m_benefitApplicationDetailsHasBeenSet =
true;
257 m_benefitApplicationDetails = std::forward<BenefitApplicationDetailsT>(value);
259 template <
typename BenefitApplicationDetailsT = Aws::Map<Aws::String, Aws::String>>
264 template <
typename BenefitApplicationDetailsKeyT = Aws::String,
typename BenefitApplicationDetailsValueT = Aws::String>
266 m_benefitApplicationDetailsHasBeenSet =
true;
267 m_benefitApplicationDetails.emplace(std::forward<BenefitApplicationDetailsKeyT>(key),
268 std::forward<BenefitApplicationDetailsValueT>(value));
279 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
281 m_associatedResourcesHasBeenSet =
true;
282 m_associatedResources = std::forward<AssociatedResourcesT>(value);
284 template <
typename AssociatedResourcesT = Aws::Vector<Aws::String>>
289 template <
typename AssociatedResourcesT = Aws::String>
291 m_associatedResourcesHasBeenSet =
true;
292 m_associatedResources.emplace_back(std::forward<AssociatedResourcesT>(value));
322 bool m_catalogHasBeenSet =
false;
323 bool m_nameHasBeenSet =
false;
324 bool m_idHasBeenSet =
false;
325 bool m_arnHasBeenSet =
false;
326 bool m_benefitIdHasBeenSet =
false;
327 bool m_programsHasBeenSet =
false;
328 bool m_fulfillmentTypesHasBeenSet =
false;
329 bool m_statusHasBeenSet =
false;
330 bool m_stageHasBeenSet =
false;
331 bool m_createdAtHasBeenSet =
false;
332 bool m_updatedAtHasBeenSet =
false;
333 bool m_benefitApplicationDetailsHasBeenSet =
false;
334 bool m_associatedResourcesHasBeenSet =
false;
BenefitApplicationStatus GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetBenefitApplicationDetails() const
void SetAssociatedResources(AssociatedResourcesT &&value)
bool NameHasBeenSet() const
const Aws::String & GetStage() const
BenefitApplicationSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetBenefitId() const
void SetCreatedAt(CreatedAtT &&value)
BenefitApplicationSummary & AddBenefitApplicationDetails(BenefitApplicationDetailsKeyT &&key, BenefitApplicationDetailsValueT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
BenefitApplicationSummary & WithStage(StageT &&value)
bool StatusHasBeenSet() const
void SetFulfillmentTypes(FulfillmentTypesT &&value)
BenefitApplicationSummary & WithPrograms(ProgramsT &&value)
void SetStage(StageT &&value)
BenefitApplicationSummary & WithName(NameT &&value)
BenefitApplicationSummary & WithFulfillmentTypes(FulfillmentTypesT &&value)
BenefitApplicationSummary & AddAssociatedResources(AssociatedResourcesT &&value)
BenefitApplicationSummary & WithAssociatedResources(AssociatedResourcesT &&value)
const Aws::Vector< FulfillmentType > & GetFulfillmentTypes() const
BenefitApplicationSummary & AddPrograms(ProgramsT &&value)
void SetCatalog(CatalogT &&value)
bool CatalogHasBeenSet() const
bool UpdatedAtHasBeenSet() const
BenefitApplicationSummary & WithStatus(BenefitApplicationStatus value)
const Aws::String & GetName() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_PARTNERCENTRALBENEFITS_API BenefitApplicationSummary()=default
AWS_PARTNERCENTRALBENEFITS_API BenefitApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAssociatedResources() const
void SetBenefitId(BenefitIdT &&value)
bool ProgramsHasBeenSet() const
const Aws::String & GetArn() const
void SetName(NameT &&value)
BenefitApplicationSummary & WithId(IdT &&value)
void SetStatus(BenefitApplicationStatus value)
const Aws::String & GetCatalog() const
void SetPrograms(ProgramsT &&value)
bool BenefitApplicationDetailsHasBeenSet() const
BenefitApplicationSummary & WithUpdatedAt(UpdatedAtT &&value)
bool StageHasBeenSet() const
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociatedResourcesHasBeenSet() const
BenefitApplicationSummary & WithBenefitApplicationDetails(BenefitApplicationDetailsT &&value)
bool ArnHasBeenSet() const
bool CreatedAtHasBeenSet() const
BenefitApplicationSummary & WithCatalog(CatalogT &&value)
BenefitApplicationSummary & WithBenefitId(BenefitIdT &&value)
const Aws::String & GetId() const
bool IdHasBeenSet() const
AWS_PARTNERCENTRALBENEFITS_API BenefitApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BenefitIdHasBeenSet() const
BenefitApplicationSummary & WithArn(ArnT &&value)
const Aws::Vector< Aws::String > & GetPrograms() const
void SetBenefitApplicationDetails(BenefitApplicationDetailsT &&value)
void SetArn(ArnT &&value)
BenefitApplicationSummary & AddFulfillmentTypes(FulfillmentType value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool FulfillmentTypesHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue