7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-selling/model/LastModifiedDate.h>
12#include <aws/partnercentral-selling/model/OpportunitySort.h>
13#include <aws/partnercentral-selling/model/ReviewStatus.h>
14#include <aws/partnercentral-selling/model/Stage.h>
19namespace PartnerCentralSelling
53 template<
typename CatalogT = Aws::String>
54 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet =
true; m_catalog = std::forward<CatalogT>(value); }
55 template<
typename CatalogT = Aws::String>
67 template<
typename CustomerCompanyNameT = Aws::Vector<Aws::String>>
68 void SetCustomerCompanyName(CustomerCompanyNameT&& value) { m_customerCompanyNameHasBeenSet =
true; m_customerCompanyName = std::forward<CustomerCompanyNameT>(value); }
69 template<
typename CustomerCompanyNameT = Aws::Vector<Aws::String>>
71 template<
typename CustomerCompanyNameT = Aws::String>
83 template<
typename IdentifierT = Aws::Vector<Aws::String>>
84 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
85 template<
typename IdentifierT = Aws::Vector<Aws::String>>
87 template<
typename IdentifierT = Aws::String>
99 template<
typename LastModifiedDateT = LastModifiedDate>
100 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
101 template<
typename LastModifiedDateT = LastModifiedDate>
114 template<
typename LifeCycleReviewStatusT = Aws::Vector<ReviewStatus>>
115 void SetLifeCycleReviewStatus(LifeCycleReviewStatusT&& value) { m_lifeCycleReviewStatusHasBeenSet =
true; m_lifeCycleReviewStatus = std::forward<LifeCycleReviewStatusT>(value); }
116 template<
typename LifeCycleReviewStatusT = Aws::Vector<ReviewStatus>>
130 template<
typename LifeCycleStageT = Aws::Vector<Stage>>
131 void SetLifeCycleStage(LifeCycleStageT&& value) { m_lifeCycleStageHasBeenSet =
true; m_lifeCycleStage = std::forward<LifeCycleStageT>(value); }
132 template<
typename LifeCycleStageT = Aws::Vector<Stage>>
145 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
157 template<
typename NextTokenT = Aws::String>
158 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
159 template<
typename NextTokenT = Aws::String>
170 template<
typename SortT = OpportunitySort>
171 void SetSort(SortT&& value) { m_sortHasBeenSet =
true; m_sort = std::forward<SortT>(value); }
172 template<
typename SortT = OpportunitySort>
178 bool m_catalogHasBeenSet =
false;
181 bool m_customerCompanyNameHasBeenSet =
false;
184 bool m_identifierHasBeenSet =
false;
187 bool m_lastModifiedDateHasBeenSet =
false;
190 bool m_lifeCycleReviewStatusHasBeenSet =
false;
193 bool m_lifeCycleStageHasBeenSet =
false;
196 bool m_maxResultsHasBeenSet =
false;
199 bool m_nextTokenHasBeenSet =
false;
201 OpportunitySort m_sort;
202 bool m_sortHasBeenSet =
false;
bool LifeCycleStageHasBeenSet() const
ListOpportunitiesRequest & WithIdentifier(IdentifierT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
bool LastModifiedDateHasBeenSet() const
bool NextTokenHasBeenSet() const
bool IdentifierHasBeenSet() const
void SetLifeCycleReviewStatus(LifeCycleReviewStatusT &&value)
bool LifeCycleReviewStatusHasBeenSet() const
bool SortHasBeenSet() const
void SetSort(SortT &&value)
AWS_PARTNERCENTRALSELLING_API ListOpportunitiesRequest()=default
ListOpportunitiesRequest & WithLifeCycleReviewStatus(LifeCycleReviewStatusT &&value)
ListOpportunitiesRequest & WithNextToken(NextTokenT &&value)
bool MaxResultsHasBeenSet() const
ListOpportunitiesRequest & WithSort(SortT &&value)
ListOpportunitiesRequest & AddIdentifier(IdentifierT &&value)
const Aws::Vector< Aws::String > & GetCustomerCompanyName() const
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListOpportunitiesRequest & WithLifeCycleStage(LifeCycleStageT &&value)
ListOpportunitiesRequest & AddLifeCycleReviewStatus(ReviewStatus value)
int GetMaxResults() const
ListOpportunitiesRequest & WithLastModifiedDate(LastModifiedDateT &&value)
void SetCatalog(CatalogT &&value)
const Aws::Vector< ReviewStatus > & GetLifeCycleReviewStatus() const
void SetMaxResults(int value)
void SetLastModifiedDate(LastModifiedDateT &&value)
ListOpportunitiesRequest & AddLifeCycleStage(Stage value)
bool CatalogHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetNextToken(NextTokenT &&value)
const OpportunitySort & GetSort() const
ListOpportunitiesRequest & AddCustomerCompanyName(CustomerCompanyNameT &&value)
const Aws::Vector< Stage > & GetLifeCycleStage() const
ListOpportunitiesRequest & WithCatalog(CatalogT &&value)
const LastModifiedDate & GetLastModifiedDate() const
ListOpportunitiesRequest & WithCustomerCompanyName(CustomerCompanyNameT &&value)
bool CustomerCompanyNameHasBeenSet() const
const Aws::String & GetNextToken() const
void SetCustomerCompanyName(CustomerCompanyNameT &&value)
void SetLifeCycleStage(LifeCycleStageT &&value)
void SetIdentifier(IdentifierT &&value)
ListOpportunitiesRequest & WithMaxResults(int value)
const Aws::String & GetCatalog() const
const Aws::Vector< Aws::String > & GetIdentifier() const
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