7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
10#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
11#include <aws/partnercentral-selling/model/EngagementContextType.h>
12#include <aws/partnercentral-selling/model/EngagementSort.h>
17namespace PartnerCentralSelling {
42 template <
typename CatalogT = Aws::String>
44 m_catalogHasBeenSet =
true;
45 m_catalog = std::forward<CatalogT>(value);
47 template <
typename CatalogT = Aws::String>
62 template <
typename CreatedByT = Aws::Vector<Aws::String>>
64 m_createdByHasBeenSet =
true;
65 m_createdBy = std::forward<CreatedByT>(value);
67 template <
typename CreatedByT = Aws::Vector<Aws::String>>
72 template <
typename CreatedByT = Aws::String>
74 m_createdByHasBeenSet =
true;
75 m_createdBy.emplace_back(std::forward<CreatedByT>(value));
87 template <
typename ExcludeCreatedByT = Aws::Vector<Aws::String>>
89 m_excludeCreatedByHasBeenSet =
true;
90 m_excludeCreatedBy = std::forward<ExcludeCreatedByT>(value);
92 template <
typename ExcludeCreatedByT = Aws::Vector<Aws::String>>
97 template <
typename ExcludeCreatedByT = Aws::String>
99 m_excludeCreatedByHasBeenSet =
true;
100 m_excludeCreatedBy.emplace_back(std::forward<ExcludeCreatedByT>(value));
113 template <
typename ContextTypesT = Aws::Vector<EngagementContextType>>
115 m_contextTypesHasBeenSet =
true;
116 m_contextTypes = std::forward<ContextTypesT>(value);
118 template <
typename ContextTypesT = Aws::Vector<EngagementContextType>>
124 m_contextTypesHasBeenSet =
true;
125 m_contextTypes.push_back(value);
138 template <
typename ExcludeContextTypesT = Aws::Vector<EngagementContextType>>
140 m_excludeContextTypesHasBeenSet =
true;
141 m_excludeContextTypes = std::forward<ExcludeContextTypesT>(value);
143 template <
typename ExcludeContextTypesT = Aws::Vector<EngagementContextType>>
149 m_excludeContextTypesHasBeenSet =
true;
150 m_excludeContextTypes.push_back(value);
159 template <
typename SortT = EngagementSort>
161 m_sortHasBeenSet =
true;
162 m_sort = std::forward<SortT>(value);
164 template <
typename SortT = EngagementSort>
166 SetSort(std::forward<SortT>(value));
178 m_maxResultsHasBeenSet =
true;
179 m_maxResults = value;
194 template <
typename NextTokenT = Aws::String>
196 m_nextTokenHasBeenSet =
true;
197 m_nextToken = std::forward<NextTokenT>(value);
199 template <
typename NextTokenT = Aws::String>
212 template <
typename EngagementIdentifierT = Aws::Vector<Aws::String>>
214 m_engagementIdentifierHasBeenSet =
true;
215 m_engagementIdentifier = std::forward<EngagementIdentifierT>(value);
217 template <
typename EngagementIdentifierT = Aws::Vector<Aws::String>>
222 template <
typename EngagementIdentifierT = Aws::String>
224 m_engagementIdentifierHasBeenSet =
true;
225 m_engagementIdentifier.emplace_back(std::forward<EngagementIdentifierT>(value));
247 bool m_catalogHasBeenSet =
false;
248 bool m_createdByHasBeenSet =
false;
249 bool m_excludeCreatedByHasBeenSet =
false;
250 bool m_contextTypesHasBeenSet =
false;
251 bool m_excludeContextTypesHasBeenSet =
false;
252 bool m_sortHasBeenSet =
false;
253 bool m_maxResultsHasBeenSet =
false;
254 bool m_nextTokenHasBeenSet =
false;
255 bool m_engagementIdentifierHasBeenSet =
false;
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
void SetMaxResults(int value)
ListEngagementsRequest & AddExcludeCreatedBy(ExcludeCreatedByT &&value)
void SetSort(SortT &&value)
ListEngagementsRequest & WithExcludeCreatedBy(ExcludeCreatedByT &&value)
void SetContextTypes(ContextTypesT &&value)
const Aws::Vector< EngagementContextType > & GetExcludeContextTypes() const
bool SortHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
bool CatalogHasBeenSet() const
void SetExcludeCreatedBy(ExcludeCreatedByT &&value)
ListEngagementsRequest & WithExcludeContextTypes(ExcludeContextTypesT &&value)
ListEngagementsRequest & AddContextTypes(EngagementContextType value)
ListEngagementsRequest & WithMaxResults(int value)
ListEngagementsRequest & WithEngagementIdentifier(EngagementIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
bool MaxResultsHasBeenSet() const
bool NextTokenHasBeenSet() const
ListEngagementsRequest & AddEngagementIdentifier(EngagementIdentifierT &&value)
const Aws::Vector< Aws::String > & GetExcludeCreatedBy() const
bool ExcludeCreatedByHasBeenSet() const
bool ExcludeContextTypesHasBeenSet() const
const Aws::Vector< Aws::String > & GetCreatedBy() const
void SetEngagementIdentifier(EngagementIdentifierT &&value)
ListEngagementsRequest & AddExcludeContextTypes(EngagementContextType value)
ListEngagementsRequest & WithNextToken(NextTokenT &&value)
const Aws::Vector< Aws::String > & GetEngagementIdentifier() const
ListEngagementsRequest & WithSort(SortT &&value)
const EngagementSort & GetSort() const
AWS_PARTNERCENTRALSELLING_API ListEngagementsRequest()=default
const Aws::String & GetCatalog() const
bool CreatedByHasBeenSet() const
const Aws::Vector< EngagementContextType > & GetContextTypes() const
ListEngagementsRequest & WithCatalog(CatalogT &&value)
void SetCatalog(CatalogT &&value)
ListEngagementsRequest & WithContextTypes(ContextTypesT &&value)
const Aws::String & GetNextToken() const
ListEngagementsRequest & AddCreatedBy(CreatedByT &&value)
int GetMaxResults() const
bool ContextTypesHasBeenSet() const
bool EngagementIdentifierHasBeenSet() const
void SetNextToken(NextTokenT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListEngagementsRequest & WithCreatedBy(CreatedByT &&value)
void SetExcludeContextTypes(ExcludeContextTypesT &&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