7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-benefits/PartnerCentralBenefitsRequest.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>
17namespace PartnerCentralBenefits {
42 template <
typename CatalogT = Aws::String>
44 m_catalogHasBeenSet =
true;
45 m_catalog = std::forward<CatalogT>(value);
47 template <
typename CatalogT = Aws::String>
60 template <
typename ProgramsT = Aws::Vector<Aws::String>>
62 m_programsHasBeenSet =
true;
63 m_programs = std::forward<ProgramsT>(value);
65 template <
typename ProgramsT = Aws::Vector<Aws::String>>
70 template <
typename ProgramsT = Aws::String>
72 m_programsHasBeenSet =
true;
73 m_programs.emplace_back(std::forward<ProgramsT>(value));
84 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
86 m_fulfillmentTypesHasBeenSet =
true;
87 m_fulfillmentTypes = std::forward<FulfillmentTypesT>(value);
89 template <
typename FulfillmentTypesT = Aws::Vector<FulfillmentType>>
95 m_fulfillmentTypesHasBeenSet =
true;
96 m_fulfillmentTypes.push_back(value);
107 template <
typename StatusT = Aws::Vector<BenefitStatus>>
109 m_statusHasBeenSet =
true;
110 m_status = std::forward<StatusT>(value);
112 template <
typename StatusT = Aws::Vector<BenefitStatus>>
118 m_statusHasBeenSet =
true;
119 m_status.push_back(value);
131 m_maxResultsHasBeenSet =
true;
132 m_maxResults = value;
147 template <
typename NextTokenT = Aws::String>
149 m_nextTokenHasBeenSet =
true;
150 m_nextToken = std::forward<NextTokenT>(value);
152 template <
typename NextTokenT = Aws::String>
170 bool m_catalogHasBeenSet =
false;
171 bool m_programsHasBeenSet =
false;
172 bool m_fulfillmentTypesHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
174 bool m_maxResultsHasBeenSet =
false;
175 bool m_nextTokenHasBeenSet =
false;
ListBenefitsRequest & AddStatus(BenefitStatus value)
void SetFulfillmentTypes(FulfillmentTypesT &&value)
void SetPrograms(ProgramsT &&value)
bool MaxResultsHasBeenSet() const
ListBenefitsRequest & WithPrograms(ProgramsT &&value)
ListBenefitsRequest & AddPrograms(ProgramsT &&value)
int GetMaxResults() const
virtual const char * GetServiceRequestName() const override
ListBenefitsRequest & AddFulfillmentTypes(FulfillmentType value)
const Aws::Vector< BenefitStatus > & GetStatus() const
bool CatalogHasBeenSet() const
AWS_PARTNERCENTRALBENEFITS_API ListBenefitsRequest()=default
bool NextTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetPrograms() const
AWS_PARTNERCENTRALBENEFITS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PARTNERCENTRALBENEFITS_API Aws::String SerializePayload() const override
void SetCatalog(CatalogT &&value)
ListBenefitsRequest & WithNextToken(NextTokenT &&value)
const Aws::Vector< FulfillmentType > & GetFulfillmentTypes() const
void SetStatus(StatusT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetCatalog() const
ListBenefitsRequest & WithStatus(StatusT &&value)
ListBenefitsRequest & WithFulfillmentTypes(FulfillmentTypesT &&value)
void SetMaxResults(int value)
bool ProgramsHasBeenSet() const
bool FulfillmentTypesHasBeenSet() const
const Aws::String & GetNextToken() const
ListBenefitsRequest & WithMaxResults(int value)
void SetNextToken(NextTokenT &&value)
ListBenefitsRequest & WithCatalog(CatalogT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector