7#include <aws/core/http/HttpResponse.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/BenefitStatus.h>
13#include <aws/partnercentral-benefits/model/FulfillmentType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace PartnerCentralBenefits {
39 template <
typename IdT = Aws::String>
41 m_idHasBeenSet =
true;
42 m_id = std::forward<IdT>(value);
44 template <
typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
56 template <
typename CatalogT = Aws::String>
58 m_catalogHasBeenSet =
true;
59 m_catalog = std::forward<CatalogT>(value);
61 template <
typename CatalogT = Aws::String>
73 template <
typename ArnT = Aws::String>
75 m_arnHasBeenSet =
true;
76 m_arn = std::forward<ArnT>(value);
78 template <
typename ArnT = Aws::String>
80 SetArn(std::forward<ArnT>(value));
90 template <
typename NameT = Aws::String>
92 m_nameHasBeenSet =
true;
93 m_name = std::forward<NameT>(value);
95 template <
typename NameT = Aws::String>
97 SetName(std::forward<NameT>(value));
107 template <
typename DescriptionT = Aws::String>
109 m_descriptionHasBeenSet =
true;
110 m_description = std::forward<DescriptionT>(value);
112 template <
typename DescriptionT = Aws::String>
124 template <
typename ProgramsT = Aws::Vector<Aws::String>>
126 m_programsHasBeenSet =
true;
127 m_programs = std::forward<ProgramsT>(value);
129 template <
typename ProgramsT = Aws::Vector<Aws::String>>
134 template <
typename ProgramsT = Aws::String>
136 m_programsHasBeenSet =
true;
137 m_programs.emplace_back(std::forward<ProgramsT>(value));
148 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
150 m_fulfillmentTypesHasBeenSet =
true;
151 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
153 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
159 m_fulfillmentTypesHasBeenSet =
true;
160 m_fulfillmentTypes.push_back(value);
171 template <
typename BenefitRequestSchemaT = Aws::Utils::Document>
173 m_benefitRequestSchemaHasBeenSet =
true;
174 m_benefitRequestSchema = std::forward<BenefitRequestSchemaT>(value);
176 template <
typename BenefitRequestSchemaT = Aws::Utils::Document>
189 m_statusHasBeenSet =
true;
201 template <
typename RequestIdT = Aws::String>
203 m_requestIdHasBeenSet =
true;
204 m_requestId = std::forward<RequestIdT>(value);
206 template <
typename RequestIdT = Aws::String>
235 bool m_idHasBeenSet =
false;
236 bool m_catalogHasBeenSet =
false;
237 bool m_arnHasBeenSet =
false;
238 bool m_nameHasBeenSet =
false;
239 bool m_descriptionHasBeenSet =
false;
240 bool m_programsHasBeenSet =
false;
241 bool m_fulfillmentTypesHasBeenSet =
false;
242 bool m_benefitRequestSchemaHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
244 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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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