AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListOutpostsRequest.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Outposts
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OUTPOSTS_API ListOutpostsRequest();
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_OUTPOSTS_API Aws::String SerializePayload() const override;
38
39 AWS_OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
44 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
49 inline ListOutpostsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListOutpostsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListOutpostsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
56 inline int GetMaxResults() const{ return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListOutpostsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetLifeCycleStatusFilter() const{ return m_lifeCycleStatusFilter; }
67 inline bool LifeCycleStatusFilterHasBeenSet() const { return m_lifeCycleStatusFilterHasBeenSet; }
68 inline void SetLifeCycleStatusFilter(const Aws::Vector<Aws::String>& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter = value; }
69 inline void SetLifeCycleStatusFilter(Aws::Vector<Aws::String>&& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter = std::move(value); }
72 inline ListOutpostsRequest& AddLifeCycleStatusFilter(const Aws::String& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter.push_back(value); return *this; }
73 inline ListOutpostsRequest& AddLifeCycleStatusFilter(Aws::String&& value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter.push_back(std::move(value)); return *this; }
74 inline ListOutpostsRequest& AddLifeCycleStatusFilter(const char* value) { m_lifeCycleStatusFilterHasBeenSet = true; m_lifeCycleStatusFilter.push_back(value); return *this; }
76
78
82 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneFilter() const{ return m_availabilityZoneFilter; }
83 inline bool AvailabilityZoneFilterHasBeenSet() const { return m_availabilityZoneFilterHasBeenSet; }
84 inline void SetAvailabilityZoneFilter(const Aws::Vector<Aws::String>& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter = value; }
85 inline void SetAvailabilityZoneFilter(Aws::Vector<Aws::String>&& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter = std::move(value); }
88 inline ListOutpostsRequest& AddAvailabilityZoneFilter(const Aws::String& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter.push_back(value); return *this; }
89 inline ListOutpostsRequest& AddAvailabilityZoneFilter(Aws::String&& value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter.push_back(std::move(value)); return *this; }
90 inline ListOutpostsRequest& AddAvailabilityZoneFilter(const char* value) { m_availabilityZoneFilterHasBeenSet = true; m_availabilityZoneFilter.push_back(value); return *this; }
92
94
97 inline const Aws::Vector<Aws::String>& GetAvailabilityZoneIdFilter() const{ return m_availabilityZoneIdFilter; }
98 inline bool AvailabilityZoneIdFilterHasBeenSet() const { return m_availabilityZoneIdFilterHasBeenSet; }
99 inline void SetAvailabilityZoneIdFilter(const Aws::Vector<Aws::String>& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter = value; }
100 inline void SetAvailabilityZoneIdFilter(Aws::Vector<Aws::String>&& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter = std::move(value); }
103 inline ListOutpostsRequest& AddAvailabilityZoneIdFilter(const Aws::String& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter.push_back(value); return *this; }
104 inline ListOutpostsRequest& AddAvailabilityZoneIdFilter(Aws::String&& value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter.push_back(std::move(value)); return *this; }
105 inline ListOutpostsRequest& AddAvailabilityZoneIdFilter(const char* value) { m_availabilityZoneIdFilterHasBeenSet = true; m_availabilityZoneIdFilter.push_back(value); return *this; }
107 private:
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults;
113 bool m_maxResultsHasBeenSet = false;
114
115 Aws::Vector<Aws::String> m_lifeCycleStatusFilter;
116 bool m_lifeCycleStatusFilterHasBeenSet = false;
117
118 Aws::Vector<Aws::String> m_availabilityZoneFilter;
119 bool m_availabilityZoneFilterHasBeenSet = false;
120
121 Aws::Vector<Aws::String> m_availabilityZoneIdFilter;
122 bool m_availabilityZoneIdFilterHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Outposts
127} // namespace Aws
ListOutpostsRequest & AddAvailabilityZoneIdFilter(Aws::String &&value)
ListOutpostsRequest & WithAvailabilityZoneIdFilter(const Aws::Vector< Aws::String > &value)
ListOutpostsRequest & WithLifeCycleStatusFilter(const Aws::Vector< Aws::String > &value)
ListOutpostsRequest & AddLifeCycleStatusFilter(const char *value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneFilter() const
ListOutpostsRequest & AddAvailabilityZoneIdFilter(const char *value)
void SetLifeCycleStatusFilter(Aws::Vector< Aws::String > &&value)
void SetLifeCycleStatusFilter(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLifeCycleStatusFilter() const
ListOutpostsRequest & WithNextToken(const Aws::String &value)
void SetAvailabilityZoneIdFilter(const Aws::Vector< Aws::String > &value)
void SetNextToken(const Aws::String &value)
ListOutpostsRequest & WithMaxResults(int value)
ListOutpostsRequest & AddAvailabilityZoneFilter(const char *value)
ListOutpostsRequest & WithAvailabilityZoneIdFilter(Aws::Vector< Aws::String > &&value)
ListOutpostsRequest & AddAvailabilityZoneFilter(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListOutpostsRequest & AddLifeCycleStatusFilter(const Aws::String &value)
ListOutpostsRequest & AddAvailabilityZoneFilter(Aws::String &&value)
ListOutpostsRequest & WithNextToken(const char *value)
void SetAvailabilityZoneFilter(const Aws::Vector< Aws::String > &value)
AWS_OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListOutpostsRequest & WithAvailabilityZoneFilter(Aws::Vector< Aws::String > &&value)
void SetAvailabilityZoneFilter(Aws::Vector< Aws::String > &&value)
ListOutpostsRequest & AddAvailabilityZoneIdFilter(const Aws::String &value)
ListOutpostsRequest & WithNextToken(Aws::String &&value)
ListOutpostsRequest & WithLifeCycleStatusFilter(Aws::Vector< Aws::String > &&value)
ListOutpostsRequest & WithAvailabilityZoneFilter(const Aws::Vector< Aws::String > &value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
void SetAvailabilityZoneIdFilter(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZoneIdFilter() const
ListOutpostsRequest & AddLifeCycleStatusFilter(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector