AWS SDK for C++  1.9.40
AWS SDK for C++
ListChangeSetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace MarketplaceCatalog
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListChangeSets"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetCatalog() const{ return m_catalog; }
43 
48  inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
49 
54  inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
55 
60  inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
61 
66  inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
67 
72  inline ListChangeSetsRequest& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
73 
78  inline ListChangeSetsRequest& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
79 
84  inline ListChangeSetsRequest& WithCatalog(const char* value) { SetCatalog(value); return *this;}
85 
86 
90  inline const Aws::Vector<Filter>& GetFilterList() const{ return m_filterList; }
91 
95  inline bool FilterListHasBeenSet() const { return m_filterListHasBeenSet; }
96 
100  inline void SetFilterList(const Aws::Vector<Filter>& value) { m_filterListHasBeenSet = true; m_filterList = value; }
101 
105  inline void SetFilterList(Aws::Vector<Filter>&& value) { m_filterListHasBeenSet = true; m_filterList = std::move(value); }
106 
110  inline ListChangeSetsRequest& WithFilterList(const Aws::Vector<Filter>& value) { SetFilterList(value); return *this;}
111 
115  inline ListChangeSetsRequest& WithFilterList(Aws::Vector<Filter>&& value) { SetFilterList(std::move(value)); return *this;}
116 
120  inline ListChangeSetsRequest& AddFilterList(const Filter& value) { m_filterListHasBeenSet = true; m_filterList.push_back(value); return *this; }
121 
125  inline ListChangeSetsRequest& AddFilterList(Filter&& value) { m_filterListHasBeenSet = true; m_filterList.push_back(std::move(value)); return *this; }
126 
127 
132  inline const Sort& GetSort() const{ return m_sort; }
133 
138  inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
139 
144  inline void SetSort(const Sort& value) { m_sortHasBeenSet = true; m_sort = value; }
145 
150  inline void SetSort(Sort&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
151 
156  inline ListChangeSetsRequest& WithSort(const Sort& value) { SetSort(value); return *this;}
157 
162  inline ListChangeSetsRequest& WithSort(Sort&& value) { SetSort(std::move(value)); return *this;}
163 
164 
170  inline int GetMaxResults() const{ return m_maxResults; }
171 
177  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
178 
184  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
185 
191  inline ListChangeSetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
192 
193 
198  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
199 
204  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
205 
210  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
211 
216  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
217 
222  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
223 
228  inline ListChangeSetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
229 
234  inline ListChangeSetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
235 
240  inline ListChangeSetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
241 
242  private:
243 
244  Aws::String m_catalog;
245  bool m_catalogHasBeenSet;
246 
247  Aws::Vector<Filter> m_filterList;
248  bool m_filterListHasBeenSet;
249 
250  Sort m_sort;
251  bool m_sortHasBeenSet;
252 
253  int m_maxResults;
254  bool m_maxResultsHasBeenSet;
255 
256  Aws::String m_nextToken;
257  bool m_nextTokenHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace MarketplaceCatalog
262 } // namespace Aws
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithSort
ListChangeSetsRequest & WithSort(Sort &&value)
Definition: ListChangeSetsRequest.h:162
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithCatalog
ListChangeSetsRequest & WithCatalog(Aws::String &&value)
Definition: ListChangeSetsRequest.h:78
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::CatalogHasBeenSet
bool CatalogHasBeenSet() const
Definition: ListChangeSetsRequest.h:48
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::GetSort
const Sort & GetSort() const
Definition: ListChangeSetsRequest.h:132
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListChangeSetsRequest.h:216
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetSort
void SetSort(Sort &&value)
Definition: ListChangeSetsRequest.h:150
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest
Definition: ListChangeSetsRequest.h:25
MarketplaceCatalog_EXPORTS.h
Aws::MarketplaceCatalog::Model::Filter
Definition: Filter.h:35
MarketplaceCatalogRequest.h
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListChangeSetsRequest.h:210
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetCatalog
void SetCatalog(Aws::String &&value)
Definition: ListChangeSetsRequest.h:60
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetFilterList
void SetFilterList(Aws::Vector< Filter > &&value)
Definition: ListChangeSetsRequest.h:105
Aws::MarketplaceCatalog::Model::Sort
Definition: Sort.h:34
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::AddFilterList
ListChangeSetsRequest & AddFilterList(const Filter &value)
Definition: ListChangeSetsRequest.h:120
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithFilterList
ListChangeSetsRequest & WithFilterList(const Aws::Vector< Filter > &value)
Definition: ListChangeSetsRequest.h:110
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::GetFilterList
const Aws::Vector< Filter > & GetFilterList() const
Definition: ListChangeSetsRequest.h:90
Aws::MarketplaceCatalog::MarketplaceCatalogRequest
Definition: MarketplaceCatalogRequest.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithCatalog
ListChangeSetsRequest & WithCatalog(const char *value)
Definition: ListChangeSetsRequest.h:84
AWSVector.h
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithFilterList
ListChangeSetsRequest & WithFilterList(Aws::Vector< Filter > &&value)
Definition: ListChangeSetsRequest.h:115
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::GetCatalog
const Aws::String & GetCatalog() const
Definition: ListChangeSetsRequest.h:42
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetCatalog
void SetCatalog(const char *value)
Definition: ListChangeSetsRequest.h:66
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListChangeSetsRequest.h:184
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListChangeSetsRequest.h:222
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithNextToken
ListChangeSetsRequest & WithNextToken(const Aws::String &value)
Definition: ListChangeSetsRequest.h:228
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListChangeSetsRequest.h:177
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithCatalog
ListChangeSetsRequest & WithCatalog(const Aws::String &value)
Definition: ListChangeSetsRequest.h:72
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListChangeSetsRequest.h:170
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListChangeSetsRequest.h:204
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithSort
ListChangeSetsRequest & WithSort(const Sort &value)
Definition: ListChangeSetsRequest.h:156
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListChangeSetsRequest.h:33
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetCatalog
void SetCatalog(const Aws::String &value)
Definition: ListChangeSetsRequest.h:54
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetFilterList
void SetFilterList(const Aws::Vector< Filter > &value)
Definition: ListChangeSetsRequest.h:100
AWSString.h
AWS_MARKETPLACECATALOG_API
#define AWS_MARKETPLACECATALOG_API
Definition: MarketplaceCatalog_EXPORTS.h:28
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::FilterListHasBeenSet
bool FilterListHasBeenSet() const
Definition: ListChangeSetsRequest.h:95
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListChangeSetsRequest.h:198
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::AddFilterList
ListChangeSetsRequest & AddFilterList(Filter &&value)
Definition: ListChangeSetsRequest.h:125
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithNextToken
ListChangeSetsRequest & WithNextToken(Aws::String &&value)
Definition: ListChangeSetsRequest.h:234
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithNextToken
ListChangeSetsRequest & WithNextToken(const char *value)
Definition: ListChangeSetsRequest.h:240
Filter.h
Aws
Definition: AccessManagementClient.h:15
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SortHasBeenSet
bool SortHasBeenSet() const
Definition: ListChangeSetsRequest.h:138
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::SetSort
void SetSort(const Sort &value)
Definition: ListChangeSetsRequest.h:144
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::ListChangeSetsRequest
ListChangeSetsRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Sort.h
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest::WithMaxResults
ListChangeSetsRequest & WithMaxResults(int value)
Definition: ListChangeSetsRequest.h:191