7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
10#include <aws/partnercentral-benefits/model/BenefitStatus.h>
11#include <aws/partnercentral-benefits/model/FulfillmentType.h>
22namespace PartnerCentralBenefits {
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename CatalogT = Aws::String>
64 m_catalogHasBeenSet =
true;
65 m_catalog = std::forward<CatalogT>(value);
67 template <
typename CatalogT = Aws::String>
80 template <
typename ArnT = Aws::String>
82 m_arnHasBeenSet =
true;
83 m_arn = std::forward<ArnT>(value);
85 template <
typename ArnT = Aws::String>
87 SetArn(std::forward<ArnT>(value));
98 template <
typename NameT = Aws::String>
100 m_nameHasBeenSet =
true;
101 m_name = std::forward<NameT>(value);
103 template <
typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
134 template <
typename ProgramsT = Aws::Vector<Aws::String>>
136 m_programsHasBeenSet =
true;
137 m_programs = std::forward<ProgramsT>(value);
139 template <
typename ProgramsT = Aws::Vector<Aws::String>>
144 template <
typename ProgramsT = Aws::String>
146 m_programsHasBeenSet =
true;
147 m_programs.emplace_back(std::forward<ProgramsT>(value));
158 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
160 m_fulfillmentTypesHasBeenSet =
true;
161 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
163 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
169 m_fulfillmentTypesHasBeenSet =
true;
170 m_fulfillmentTypes.push_back(value);
182 m_statusHasBeenSet =
true;
206 bool m_idHasBeenSet =
false;
207 bool m_catalogHasBeenSet =
false;
208 bool m_arnHasBeenSet =
false;
209 bool m_nameHasBeenSet =
false;
210 bool m_descriptionHasBeenSet =
false;
211 bool m_programsHasBeenSet =
false;
212 bool m_fulfillmentTypesHasBeenSet =
false;
213 bool m_statusHasBeenSet =
false;
void SetArn(ArnT &&value)
BenefitSummary & WithArn(ArnT &&value)
void SetPrograms(ProgramsT &&value)
AWS_PARTNERCENTRALBENEFITS_API BenefitSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCatalog() const
BenefitSummary & WithPrograms(ProgramsT &&value)
bool NameHasBeenSet() const
BenefitSummary & WithDescription(DescriptionT &&value)
bool ProgramsHasBeenSet() const
void SetStatus(BenefitStatus value)
bool FulfillmentTypesHasBeenSet() const
void SetCatalog(CatalogT &&value)
AWS_PARTNERCENTRALBENEFITS_API BenefitSummary()=default
const Aws::String & GetId() const
void SetDescription(DescriptionT &&value)
AWS_PARTNERCENTRALBENEFITS_API BenefitSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BenefitStatus GetStatus() const
const Aws::Vector< Aws::String > & GetPrograms() const
const Aws::Vector< FulfillmentType > & GetFulfillmentTypes() const
const Aws::String & GetDescription() const
BenefitSummary & WithFulfillmentTypes(FulfillmentTypesT &&value)
bool DescriptionHasBeenSet() const
bool CatalogHasBeenSet() const
BenefitSummary & WithCatalog(CatalogT &&value)
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
BenefitSummary & AddPrograms(ProgramsT &&value)
BenefitSummary & WithId(IdT &&value)
void SetFulfillmentTypes(FulfillmentTypesT &&value)
bool ArnHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
BenefitSummary & WithStatus(BenefitStatus value)
BenefitSummary & AddFulfillmentTypes(FulfillmentType value)
BenefitSummary & WithName(NameT &&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