7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.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/BenefitAllocationStatus.h>
13#include <aws/partnercentral-benefits/model/FulfillmentDetails.h>
14#include <aws/partnercentral-benefits/model/FulfillmentType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace PartnerCentralBenefits {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
58 template <
typename CatalogT = Aws::String>
60 m_catalogHasBeenSet =
true;
61 m_catalog = std::forward<CatalogT>(value);
63 template <
typename CatalogT = Aws::String>
75 template <
typename ArnT = Aws::String>
77 m_arnHasBeenSet =
true;
78 m_arn = std::forward<ArnT>(value);
80 template <
typename ArnT = Aws::String>
82 SetArn(std::forward<ArnT>(value));
92 template <
typename NameT = Aws::String>
94 m_nameHasBeenSet =
true;
95 m_name = std::forward<NameT>(value);
97 template <
typename NameT = Aws::String>
99 SetName(std::forward<NameT>(value));
109 template <
typename DescriptionT = Aws::String>
111 m_descriptionHasBeenSet =
true;
112 m_description = std::forward<DescriptionT>(value);
114 template <
typename DescriptionT = Aws::String>
128 m_statusHasBeenSet =
true;
143 template <
typename StatusReasonT = Aws::String>
145 m_statusReasonHasBeenSet =
true;
146 m_statusReason = std::forward<StatusReasonT>(value);
148 template <
typename StatusReasonT = Aws::String>
161 template <
typename BenefitApplicationIdT = Aws::String>
163 m_benefitApplicationIdHasBeenSet =
true;
164 m_benefitApplicationId = std::forward<BenefitApplicationIdT>(value);
166 template <
typename BenefitApplicationIdT = Aws::String>
178 template <
typename BenefitIdT = Aws::String>
180 m_benefitIdHasBeenSet =
true;
181 m_benefitId = std::forward<BenefitIdT>(value);
183 template <
typename BenefitIdT = Aws::String>
196 m_fulfillmentTypeHasBeenSet =
true;
197 m_fulfillmentType = value;
210 template <
typename ApplicableBenefitIdsT = Aws::Vector<Aws::String>>
212 m_applicableBenefitIdsHasBeenSet =
true;
213 m_applicableBenefitIds = std::forward<ApplicableBenefitIdsT>(value);
215 template <
typename ApplicableBenefitIdsT = Aws::Vector<Aws::String>>
220 template <
typename ApplicableBenefitIdsT = Aws::String>
222 m_applicableBenefitIdsHasBeenSet =
true;
223 m_applicableBenefitIds.emplace_back(std::forward<ApplicableBenefitIdsT>(value));
233 template <
typename FulfillmentDetailT = FulfillmentDetails>
235 m_fulfillmentDetailHasBeenSet =
true;
236 m_fulfillmentDetail = std::forward<FulfillmentDetailT>(value);
238 template <
typename FulfillmentDetailT = FulfillmentDetails>
250 template <
typename CreatedAtT = Aws::Utils::DateTime>
252 m_createdAtHasBeenSet =
true;
253 m_createdAt = std::forward<CreatedAtT>(value);
255 template <
typename CreatedAtT = Aws::Utils::DateTime>
267 template <
typename UpdatedAtT = Aws::Utils::DateTime>
269 m_updatedAtHasBeenSet =
true;
270 m_updatedAt = std::forward<UpdatedAtT>(value);
272 template <
typename UpdatedAtT = Aws::Utils::DateTime>
284 template <
typename StartsAtT = Aws::Utils::DateTime>
286 m_startsAtHasBeenSet =
true;
287 m_startsAt = std::forward<StartsAtT>(value);
289 template <
typename StartsAtT = Aws::Utils::DateTime>
302 template <
typename ExpiresAtT = Aws::Utils::DateTime>
304 m_expiresAtHasBeenSet =
true;
305 m_expiresAt = std::forward<ExpiresAtT>(value);
307 template <
typename ExpiresAtT = Aws::Utils::DateTime>
317 template <
typename RequestIdT = Aws::String>
319 m_requestIdHasBeenSet =
true;
320 m_requestId = std::forward<RequestIdT>(value);
322 template <
typename RequestIdT = Aws::String>
353 FulfillmentDetails m_fulfillmentDetail;
365 bool m_idHasBeenSet =
false;
366 bool m_catalogHasBeenSet =
false;
367 bool m_arnHasBeenSet =
false;
368 bool m_nameHasBeenSet =
false;
369 bool m_descriptionHasBeenSet =
false;
370 bool m_statusHasBeenSet =
false;
371 bool m_statusReasonHasBeenSet =
false;
372 bool m_benefitApplicationIdHasBeenSet =
false;
373 bool m_benefitIdHasBeenSet =
false;
374 bool m_fulfillmentTypeHasBeenSet =
false;
375 bool m_applicableBenefitIdsHasBeenSet =
false;
376 bool m_fulfillmentDetailHasBeenSet =
false;
377 bool m_createdAtHasBeenSet =
false;
378 bool m_updatedAtHasBeenSet =
false;
379 bool m_startsAtHasBeenSet =
false;
380 bool m_expiresAtHasBeenSet =
false;
381 bool m_requestIdHasBeenSet =
false;
AWS_PARTNERCENTRALBENEFITS_API GetBenefitAllocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCatalog(CatalogT &&value)
GetBenefitAllocationResult & WithBenefitApplicationId(BenefitApplicationIdT &&value)
const Aws::Vector< Aws::String > & GetApplicableBenefitIds() const
const Aws::Utils::DateTime & GetStartsAt() const
GetBenefitAllocationResult & WithArn(ArnT &&value)
AWS_PARTNERCENTRALBENEFITS_API GetBenefitAllocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetBenefitAllocationResult & WithDescription(DescriptionT &&value)
void SetBenefitApplicationId(BenefitApplicationIdT &&value)
const Aws::String & GetArn() const
GetBenefitAllocationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetCatalog() const
GetBenefitAllocationResult & WithStatus(BenefitAllocationStatus value)
const FulfillmentDetails & GetFulfillmentDetail() const
void SetFulfillmentType(FulfillmentType value)
void SetStatusReason(StatusReasonT &&value)
GetBenefitAllocationResult & WithFulfillmentType(FulfillmentType value)
const Aws::String & GetBenefitApplicationId() const
void SetStatus(BenefitAllocationStatus value)
const Aws::String & GetDescription() const
void SetBenefitId(BenefitIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetArn(ArnT &&value)
void SetStartsAt(StartsAtT &&value)
void SetRequestId(RequestIdT &&value)
GetBenefitAllocationResult & AddApplicableBenefitIds(ApplicableBenefitIdsT &&value)
GetBenefitAllocationResult & WithId(IdT &&value)
GetBenefitAllocationResult & WithName(NameT &&value)
const Aws::String & GetBenefitId() const
GetBenefitAllocationResult & WithApplicableBenefitIds(ApplicableBenefitIdsT &&value)
GetBenefitAllocationResult & WithStartsAt(StartsAtT &&value)
GetBenefitAllocationResult & WithRequestId(RequestIdT &&value)
GetBenefitAllocationResult & WithExpiresAt(ExpiresAtT &&value)
GetBenefitAllocationResult & WithBenefitId(BenefitIdT &&value)
GetBenefitAllocationResult & WithStatusReason(StatusReasonT &&value)
GetBenefitAllocationResult & WithCatalog(CatalogT &&value)
const Aws::String & GetRequestId() const
void SetCreatedAt(CreatedAtT &&value)
BenefitAllocationStatus GetStatus() const
GetBenefitAllocationResult & WithFulfillmentDetail(FulfillmentDetailT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetDescription(DescriptionT &&value)
AWS_PARTNERCENTRALBENEFITS_API GetBenefitAllocationResult()=default
const Aws::String & GetId() const
void SetName(NameT &&value)
void SetExpiresAt(ExpiresAtT &&value)
GetBenefitAllocationResult & WithUpdatedAt(UpdatedAtT &&value)
void SetFulfillmentDetail(FulfillmentDetailT &&value)
const Aws::String & GetName() const
void SetApplicableBenefitIds(ApplicableBenefitIdsT &&value)
const Aws::String & GetStatusReason() const
FulfillmentType GetFulfillmentType() 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