AWS SDK for C++  1.9.153
AWS SDK for C++
ListOutpostsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Outposts
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListOutposts"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
42 
43  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 
45 
46  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
47 
48 
49  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
50 
51 
52  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
53 
54 
55  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
56 
57 
58  inline ListOutpostsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
59 
60 
61  inline ListOutpostsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 
63 
64  inline ListOutpostsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65 
66 
67 
68  inline int GetMaxResults() const{ return m_maxResults; }
69 
70 
71  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 
73 
74  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 
76 
77  inline ListOutpostsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78 
79 
86  inline const Aws::Vector<Aws::String>& GetLifeCycleStatusFilter() const{ return m_lifeCycleStatusFilter; }
87 
94  inline bool LifeCycleStatusFilterHasBeenSet() const { return m_lifeCycleStatusFilterHasBeenSet; }
95 
102  inline void SetLifeCycleStatusFilter(const Aws::Vector<Aws::String>& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter = value; }
103 
110  inline void SetLifeCycleStatusFilter(Aws::Vector<Aws::String>&& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter = std::move(value); }
111 
118  inline ListOutpostsRequest& WithLifeCycleStatusFilter(const Aws::Vector<Aws::String>& value) { SetLifeCycleStatusFilter(value); return *this;}
119 
126  inline ListOutpostsRequest& WithLifeCycleStatusFilter(Aws::Vector<Aws::String>&& value) { SetLifeCycleStatusFilter(std::move(value)); return *this;}
127 
134  inline ListOutpostsRequest& AddLifeCycleStatusFilter(const Aws::String& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter.push_back(value); return *this; }
135 
142  inline ListOutpostsRequest& AddLifeCycleStatusFilter(Aws::String&& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter.push_back(std::move(value)); return *this; }
143 
150  inline ListOutpostsRequest& AddLifeCycleStatusFilter(const char* value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter.push_back(value); return *this; }
151 
152 
159  inline const Aws::Vector<Aws::String>& GetAvailabilityZoneFilter() const{ return m_availabilityZoneFilter; }
160 
167  inline bool AvailabilityZoneFilterHasBeenSet() const { return m_availabilityZoneFilterHasBeenSet; }
168 
175  inline void SetAvailabilityZoneFilter(const Aws::Vector<Aws::String>& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter = value; }
176 
183  inline void SetAvailabilityZoneFilter(Aws::Vector<Aws::String>&& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter = std::move(value); }
184 
191  inline ListOutpostsRequest& WithAvailabilityZoneFilter(const Aws::Vector<Aws::String>& value) { SetAvailabilityZoneFilter(value); return *this;}
192 
199  inline ListOutpostsRequest& WithAvailabilityZoneFilter(Aws::Vector<Aws::String>&& value) { SetAvailabilityZoneFilter(std::move(value)); return *this;}
200 
207  inline ListOutpostsRequest& AddAvailabilityZoneFilter(const Aws::String& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter.push_back(value); return *this; }
208 
215  inline ListOutpostsRequest& AddAvailabilityZoneFilter(Aws::String&& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter.push_back(std::move(value)); return *this; }
216 
223  inline ListOutpostsRequest& AddAvailabilityZoneFilter(const char* value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter.push_back(value); return *this; }
224 
225 
232  inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIdFilter() const{ return m_availabilityZoneIdFilter; }
233 
240  inline bool AvailabilityZoneIdFilterHasBeenSet() const { return m_availabilityZoneIdFilterHasBeenSet; }
241 
248  inline void SetAvailabilityZoneIdFilter(const Aws::Vector<Aws::String>& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter = value; }
249 
256  inline void SetAvailabilityZoneIdFilter(Aws::Vector<Aws::String>&& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter = std::move(value); }
257 
264  inline ListOutpostsRequest& WithAvailabilityZoneIdFilter(const Aws::Vector<Aws::String>& value) { SetAvailabilityZoneIdFilter(value); return *this;}
265 
272  inline ListOutpostsRequest& WithAvailabilityZoneIdFilter(Aws::Vector<Aws::String>&& value) { SetAvailabilityZoneIdFilter(std::move(value)); return *this;}
273 
280  inline ListOutpostsRequest& AddAvailabilityZoneIdFilter(const Aws::String& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter.push_back(value); return *this; }
281 
288  inline ListOutpostsRequest& AddAvailabilityZoneIdFilter(Aws::String&& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter.push_back(std::move(value)); return *this; }
289 
296  inline ListOutpostsRequest& AddAvailabilityZoneIdFilter(const char* value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter.push_back(value); return *this; }
297 
298  private:
299 
300  Aws::String m_nextToken;
301  bool m_nextTokenHasBeenSet;
302 
303  int m_maxResults;
304  bool m_maxResultsHasBeenSet;
305 
306  Aws::Vector<Aws::String> m_lifeCycleStatusFilter;
307  bool m_lifeCycleStatusFilterHasBeenSet;
308 
309  Aws::Vector<Aws::String> m_availabilityZoneFilter;
310  bool m_availabilityZoneFilterHasBeenSet;
311 
312  Aws::Vector<Aws::String> m_availabilityZoneIdFilter;
313  bool m_availabilityZoneIdFilterHasBeenSet;
314  };
315 
316 } // namespace Model
317 } // namespace Outposts
318 } // namespace Aws
Aws::Outposts::Model::ListOutpostsRequest::AddAvailabilityZoneIdFilter
ListOutpostsRequest & AddAvailabilityZoneIdFilter(Aws::String &&value)
Definition: ListOutpostsRequest.h:288
Aws::Http::URI
Definition: URI.h:32
OutpostsRequest.h
Aws::Outposts::Model::ListOutpostsRequest::WithAvailabilityZoneIdFilter
ListOutpostsRequest & WithAvailabilityZoneIdFilter(Aws::Vector< Aws::String > &&value)
Definition: ListOutpostsRequest.h:272
Aws::Outposts::Model::ListOutpostsRequest::AddAvailabilityZoneIdFilter
ListOutpostsRequest & AddAvailabilityZoneIdFilter(const char *value)
Definition: ListOutpostsRequest.h:296
Aws::Outposts::Model::ListOutpostsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Outposts::Model::ListOutpostsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListOutpostsRequest.h:71
Aws::Outposts::Model::ListOutpostsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListOutpostsRequest.h:35
Aws::Outposts::Model::ListOutpostsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListOutpostsRequest.h:46
Aws::Outposts::Model::ListOutpostsRequest::ListOutpostsRequest
ListOutpostsRequest()
Aws::Outposts::Model::ListOutpostsRequest::AvailabilityZoneIdFilterHasBeenSet
bool AvailabilityZoneIdFilterHasBeenSet() const
Definition: ListOutpostsRequest.h:240
Aws::Outposts::Model::ListOutpostsRequest::WithNextToken
ListOutpostsRequest & WithNextToken(const char *value)
Definition: ListOutpostsRequest.h:64
Aws::Outposts::Model::ListOutpostsRequest::GetLifeCycleStatusFilter
const Aws::Vector< Aws::String > & GetLifeCycleStatusFilter() const
Definition: ListOutpostsRequest.h:86
Aws::Outposts::Model::ListOutpostsRequest::WithLifeCycleStatusFilter
ListOutpostsRequest & WithLifeCycleStatusFilter(Aws::Vector< Aws::String > &&value)
Definition: ListOutpostsRequest.h:126
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Outposts::Model::ListOutpostsRequest::WithAvailabilityZoneFilter
ListOutpostsRequest & WithAvailabilityZoneFilter(const Aws::Vector< Aws::String > &value)
Definition: ListOutpostsRequest.h:191
AWSVector.h
Aws::Outposts::Model::ListOutpostsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListOutpostsRequest.h:43
Aws::Outposts::Model::ListOutpostsRequest::AddAvailabilityZoneFilter
ListOutpostsRequest & AddAvailabilityZoneFilter(const char *value)
Definition: ListOutpostsRequest.h:223
Aws::Outposts::Model::ListOutpostsRequest::WithMaxResults
ListOutpostsRequest & WithMaxResults(int value)
Definition: ListOutpostsRequest.h:77
Aws::Outposts::Model::ListOutpostsRequest::AddLifeCycleStatusFilter
ListOutpostsRequest & AddLifeCycleStatusFilter(const Aws::String &value)
Definition: ListOutpostsRequest.h:134
Aws::Outposts::Model::ListOutpostsRequest::AddAvailabilityZoneIdFilter
ListOutpostsRequest & AddAvailabilityZoneIdFilter(const Aws::String &value)
Definition: ListOutpostsRequest.h:280
Aws::Outposts::Model::ListOutpostsRequest::WithAvailabilityZoneIdFilter
ListOutpostsRequest & WithAvailabilityZoneIdFilter(const Aws::Vector< Aws::String > &value)
Definition: ListOutpostsRequest.h:264
Aws::Outposts::Model::ListOutpostsRequest::AvailabilityZoneFilterHasBeenSet
bool AvailabilityZoneFilterHasBeenSet() const
Definition: ListOutpostsRequest.h:167
Aws::Outposts::Model::ListOutpostsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListOutpostsRequest.h:49
Aws::Outposts::Model::ListOutpostsRequest::LifeCycleStatusFilterHasBeenSet
bool LifeCycleStatusFilterHasBeenSet() const
Definition: ListOutpostsRequest.h:94
AWSString.h
Aws::Outposts::Model::ListOutpostsRequest::WithNextToken
ListOutpostsRequest & WithNextToken(Aws::String &&value)
Definition: ListOutpostsRequest.h:61
Aws::Outposts::Model::ListOutpostsRequest::WithAvailabilityZoneFilter
ListOutpostsRequest & WithAvailabilityZoneFilter(Aws::Vector< Aws::String > &&value)
Definition: ListOutpostsRequest.h:199
Aws::Outposts::Model::ListOutpostsRequest::AddLifeCycleStatusFilter
ListOutpostsRequest & AddLifeCycleStatusFilter(Aws::String &&value)
Definition: ListOutpostsRequest.h:142
Aws::Outposts::Model::ListOutpostsRequest::WithNextToken
ListOutpostsRequest & WithNextToken(const Aws::String &value)
Definition: ListOutpostsRequest.h:58
AWS_OUTPOSTS_API
#define AWS_OUTPOSTS_API
Definition: Outposts_EXPORTS.h:28
Aws::Outposts::Model::ListOutpostsRequest::SetLifeCycleStatusFilter
void SetLifeCycleStatusFilter(const Aws::Vector< Aws::String > &value)
Definition: ListOutpostsRequest.h:102
Aws::Outposts::Model::ListOutpostsRequest::AddAvailabilityZoneFilter
ListOutpostsRequest & AddAvailabilityZoneFilter(Aws::String &&value)
Definition: ListOutpostsRequest.h:215
Aws::Outposts::Model::ListOutpostsRequest::SetLifeCycleStatusFilter
void SetLifeCycleStatusFilter(Aws::Vector< Aws::String > &&value)
Definition: ListOutpostsRequest.h:110
Aws::Outposts::Model::ListOutpostsRequest::SetAvailabilityZoneFilter
void SetAvailabilityZoneFilter(const Aws::Vector< Aws::String > &value)
Definition: ListOutpostsRequest.h:175
Aws::Outposts::Model::ListOutpostsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListOutpostsRequest.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::Outposts::Model::ListOutpostsRequest::WithLifeCycleStatusFilter
ListOutpostsRequest & WithLifeCycleStatusFilter(const Aws::Vector< Aws::String > &value)
Definition: ListOutpostsRequest.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Outposts::Model::ListOutpostsRequest::SetAvailabilityZoneIdFilter
void SetAvailabilityZoneIdFilter(Aws::Vector< Aws::String > &&value)
Definition: ListOutpostsRequest.h:256
Aws::Outposts::Model::ListOutpostsRequest
Definition: ListOutpostsRequest.h:27
Outposts_EXPORTS.h
Aws::Outposts::Model::ListOutpostsRequest::SetAvailabilityZoneIdFilter
void SetAvailabilityZoneIdFilter(const Aws::Vector< Aws::String > &value)
Definition: ListOutpostsRequest.h:248
Aws::Outposts::Model::ListOutpostsRequest::AddLifeCycleStatusFilter
ListOutpostsRequest & AddLifeCycleStatusFilter(const char *value)
Definition: ListOutpostsRequest.h:150
Aws::Outposts::OutpostsRequest
Definition: OutpostsRequest.h:17
Aws::Outposts::Model::ListOutpostsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListOutpostsRequest.h:74
Aws::Outposts::Model::ListOutpostsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListOutpostsRequest.h:55
Aws::Outposts::Model::ListOutpostsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Outposts::Model::ListOutpostsRequest::AddAvailabilityZoneFilter
ListOutpostsRequest & AddAvailabilityZoneFilter(const Aws::String &value)
Definition: ListOutpostsRequest.h:207
Aws::Outposts::Model::ListOutpostsRequest::GetAvailabilityZoneIdFilter
const Aws::Vector< Aws::String > & GetAvailabilityZoneIdFilter() const
Definition: ListOutpostsRequest.h:232
Aws::Outposts::Model::ListOutpostsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListOutpostsRequest.h:52
Aws::Outposts::Model::ListOutpostsRequest::SetAvailabilityZoneFilter
void SetAvailabilityZoneFilter(Aws::Vector< Aws::String > &&value)
Definition: ListOutpostsRequest.h:183
Aws::Outposts::Model::ListOutpostsRequest::GetAvailabilityZoneFilter
const Aws::Vector< Aws::String > & GetAvailabilityZoneFilter() const
Definition: ListOutpostsRequest.h:159