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/PartnerCentralBenefits_EXPORTS.h>
11#include <aws/partnercentral-benefits/model/BenefitStatus.h>
12#include <aws/partnercentral-benefits/model/FulfillmentType.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace PartnerCentralBenefits {
38 template <
typename IdT = Aws::String>
40 m_idHasBeenSet =
true;
41 m_id = std::forward<IdT>(value);
43 template <
typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
55 template <
typename CatalogT = Aws::String>
57 m_catalogHasBeenSet =
true;
58 m_catalog = std::forward<CatalogT>(value);
60 template <
typename CatalogT = Aws::String>
72 template <
typename ArnT = Aws::String>
74 m_arnHasBeenSet =
true;
75 m_arn = std::forward<ArnT>(value);
77 template <
typename ArnT = Aws::String>
79 SetArn(std::forward<ArnT>(value));
89 template <
typename NameT = Aws::String>
91 m_nameHasBeenSet =
true;
92 m_name = std::forward<NameT>(value);
94 template <
typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
106 template <
typename DescriptionT = Aws::String>
108 m_descriptionHasBeenSet =
true;
109 m_description = std::forward<DescriptionT>(value);
111 template <
typename DescriptionT = Aws::String>
123 template <
typename ProgramsT = Aws::Vector<Aws::String>>
125 m_programsHasBeenSet =
true;
126 m_programs = std::forward<ProgramsT>(value);
128 template <
typename ProgramsT = Aws::Vector<Aws::String>>
133 template <
typename ProgramsT = Aws::String>
135 m_programsHasBeenSet =
true;
136 m_programs.emplace_back(std::forward<ProgramsT>(value));
147 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
149 m_fulfillmentTypesHasBeenSet =
true;
150 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
152 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
158 m_fulfillmentTypesHasBeenSet =
true;
159 m_fulfillmentTypes.push_back(value);
170 template <
typename BenefitRequestSchemaT = Aws::Utils::Document>
172 m_benefitRequestSchemaHasBeenSet =
true;
173 m_benefitRequestSchema = std::forward<BenefitRequestSchemaT>(value);
175 template <
typename BenefitRequestSchemaT = Aws::Utils::Document>
188 m_statusHasBeenSet =
true;
200 template <
typename RequestIdT = Aws::String>
202 m_requestIdHasBeenSet =
true;
203 m_requestId = std::forward<RequestIdT>(value);
205 template <
typename RequestIdT = Aws::String>
231 bool m_idHasBeenSet =
false;
232 bool m_catalogHasBeenSet =
false;
233 bool m_arnHasBeenSet =
false;
234 bool m_nameHasBeenSet =
false;
235 bool m_descriptionHasBeenSet =
false;
236 bool m_programsHasBeenSet =
false;
237 bool m_fulfillmentTypesHasBeenSet =
false;
238 bool m_benefitRequestSchemaHasBeenSet =
false;
239 bool m_statusHasBeenSet =
false;
240 bool m_requestIdHasBeenSet =
false;
void SetFulfillmentTypes(FulfillmentTypesT &&value)
BenefitStatus GetStatus() const
GetBenefitResult & WithId(IdT &&value)
const Aws::String & GetRequestId() const
GetBenefitResult & WithCatalog(CatalogT &&value)
void SetArn(ArnT &&value)
void SetPrograms(ProgramsT &&value)
void SetRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
GetBenefitResult & WithArn(ArnT &&value)
const Aws::Vector< Aws::String > & GetPrograms() const
void SetName(NameT &&value)
void SetStatus(BenefitStatus value)
const Aws::String & GetName() const
GetBenefitResult & WithStatus(BenefitStatus value)
void SetCatalog(CatalogT &&value)
const Aws::String & GetCatalog() const
GetBenefitResult & WithBenefitRequestSchema(BenefitRequestSchemaT &&value)
GetBenefitResult & WithName(NameT &&value)
const Aws::Vector< FulfillmentType > & GetFulfillmentTypes() const
Aws::Utils::DocumentView GetBenefitRequestSchema() const
AWS_PARTNERCENTRALBENEFITS_API GetBenefitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBenefitResult & AddPrograms(ProgramsT &&value)
GetBenefitResult & WithRequestId(RequestIdT &&value)
GetBenefitResult & WithFulfillmentTypes(FulfillmentTypesT &&value)
GetBenefitResult & AddFulfillmentTypes(FulfillmentType value)
GetBenefitResult & WithPrograms(ProgramsT &&value)
const Aws::String & GetArn() const
AWS_PARTNERCENTRALBENEFITS_API GetBenefitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALBENEFITS_API GetBenefitResult()=default
void SetBenefitRequestSchema(BenefitRequestSchemaT &&value)
const Aws::String & GetId() const
GetBenefitResult & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue