7#include <aws/core/utils/DateTime.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/BenefitAllocationStatus.h>
12#include <aws/partnercentral-benefits/model/FulfillmentDetails.h>
13#include <aws/partnercentral-benefits/model/FulfillmentType.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace PartnerCentralBenefits {
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
57 template <
typename CatalogT = Aws::String>
59 m_catalogHasBeenSet =
true;
60 m_catalog = std::forward<CatalogT>(value);
62 template <
typename CatalogT = Aws::String>
74 template <
typename ArnT = Aws::String>
76 m_arnHasBeenSet =
true;
77 m_arn = std::forward<ArnT>(value);
79 template <
typename ArnT = Aws::String>
81 SetArn(std::forward<ArnT>(value));
91 template <
typename NameT = Aws::String>
93 m_nameHasBeenSet =
true;
94 m_name = std::forward<NameT>(value);
96 template <
typename NameT = Aws::String>
98 SetName(std::forward<NameT>(value));
108 template <
typename DescriptionT = Aws::String>
110 m_descriptionHasBeenSet =
true;
111 m_description = std::forward<DescriptionT>(value);
113 template <
typename DescriptionT = Aws::String>
127 m_statusHasBeenSet =
true;
142 template <
typename StatusReasonT = Aws::String>
144 m_statusReasonHasBeenSet =
true;
145 m_statusReason = std::forward<StatusReasonT>(value);
147 template <
typename StatusReasonT = Aws::String>
160 template <
typename BenefitApplicationIdT = Aws::String>
162 m_benefitApplicationIdHasBeenSet =
true;
163 m_benefitApplicationId = std::forward<BenefitApplicationIdT>(value);
165 template <
typename BenefitApplicationIdT = Aws::String>
177 template <
typename BenefitIdT = Aws::String>
179 m_benefitIdHasBeenSet =
true;
180 m_benefitId = std::forward<BenefitIdT>(value);
182 template <
typename BenefitIdT = Aws::String>
195 m_fulfillmentTypeHasBeenSet =
true;
196 m_fulfillmentType = value;
209 template <
typename ApplicableBenefitIdsT = Aws::Vector<Aws::String>>
211 m_applicableBenefitIdsHasBeenSet =
true;
212 m_applicableBenefitIds = std::forward<ApplicableBenefitIdsT>(value);
214 template <
typename ApplicableBenefitIdsT = Aws::Vector<Aws::String>>
219 template <
typename ApplicableBenefitIdsT = Aws::String>
221 m_applicableBenefitIdsHasBeenSet =
true;
222 m_applicableBenefitIds.emplace_back(std::forward<ApplicableBenefitIdsT>(value));
232 template <
typename FulfillmentDetailT = FulfillmentDetails>
234 m_fulfillmentDetailHasBeenSet =
true;
235 m_fulfillmentDetail = std::forward<FulfillmentDetailT>(value);
237 template <
typename FulfillmentDetailT = FulfillmentDetails>
249 template <
typename CreatedAtT = Aws::Utils::DateTime>
251 m_createdAtHasBeenSet =
true;
252 m_createdAt = std::forward<CreatedAtT>(value);
254 template <
typename CreatedAtT = Aws::Utils::DateTime>
266 template <
typename UpdatedAtT = Aws::Utils::DateTime>
268 m_updatedAtHasBeenSet =
true;
269 m_updatedAt = std::forward<UpdatedAtT>(value);
271 template <
typename UpdatedAtT = Aws::Utils::DateTime>
283 template <
typename StartsAtT = Aws::Utils::DateTime>
285 m_startsAtHasBeenSet =
true;
286 m_startsAt = std::forward<StartsAtT>(value);
288 template <
typename StartsAtT = Aws::Utils::DateTime>
301 template <
typename ExpiresAtT = Aws::Utils::DateTime>
303 m_expiresAtHasBeenSet =
true;
304 m_expiresAt = std::forward<ExpiresAtT>(value);
306 template <
typename ExpiresAtT = Aws::Utils::DateTime>
316 template <
typename RequestIdT = Aws::String>
318 m_requestIdHasBeenSet =
true;
319 m_requestId = std::forward<RequestIdT>(value);
321 template <
typename RequestIdT = Aws::String>
350 FulfillmentDetails m_fulfillmentDetail;
361 bool m_idHasBeenSet =
false;
362 bool m_catalogHasBeenSet =
false;
363 bool m_arnHasBeenSet =
false;
364 bool m_nameHasBeenSet =
false;
365 bool m_descriptionHasBeenSet =
false;
366 bool m_statusHasBeenSet =
false;
367 bool m_statusReasonHasBeenSet =
false;
368 bool m_benefitApplicationIdHasBeenSet =
false;
369 bool m_benefitIdHasBeenSet =
false;
370 bool m_fulfillmentTypeHasBeenSet =
false;
371 bool m_applicableBenefitIdsHasBeenSet =
false;
372 bool m_fulfillmentDetailHasBeenSet =
false;
373 bool m_createdAtHasBeenSet =
false;
374 bool m_updatedAtHasBeenSet =
false;
375 bool m_startsAtHasBeenSet =
false;
376 bool m_expiresAtHasBeenSet =
false;
377 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)
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