AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeCoipPoolsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EC2 {
17namespace Model {
18
22 public:
23 AWS_EC2_API DescribeCoipPoolsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeCoipPools"; }
30
31 AWS_EC2_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
41 inline const Aws::Vector<Aws::String>& GetPoolIds() const { return m_poolIds; }
42 inline bool PoolIdsHasBeenSet() const { return m_poolIdsHasBeenSet; }
43 template <typename PoolIdsT = Aws::Vector<Aws::String>>
44 void SetPoolIds(PoolIdsT&& value) {
45 m_poolIdsHasBeenSet = true;
46 m_poolIds = std::forward<PoolIdsT>(value);
47 }
48 template <typename PoolIdsT = Aws::Vector<Aws::String>>
50 SetPoolIds(std::forward<PoolIdsT>(value));
51 return *this;
52 }
53 template <typename PoolIdsT = Aws::String>
55 m_poolIdsHasBeenSet = true;
56 m_poolIds.emplace_back(std::forward<PoolIdsT>(value));
57 return *this;
58 }
60
62
68 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
69 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
70 template <typename FiltersT = Aws::Vector<Filter>>
71 void SetFilters(FiltersT&& value) {
72 m_filtersHasBeenSet = true;
73 m_filters = std::forward<FiltersT>(value);
74 }
75 template <typename FiltersT = Aws::Vector<Filter>>
77 SetFilters(std::forward<FiltersT>(value));
78 return *this;
79 }
80 template <typename FiltersT = Filter>
82 m_filtersHasBeenSet = true;
83 m_filters.emplace_back(std::forward<FiltersT>(value));
84 return *this;
85 }
87
89
94 inline int GetMaxResults() const { return m_maxResults; }
95 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
96 inline void SetMaxResults(int value) {
97 m_maxResultsHasBeenSet = true;
98 m_maxResults = value;
99 }
101 SetMaxResults(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetNextToken() const { return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 template <typename NextTokenT = Aws::String>
113 void SetNextToken(NextTokenT&& value) {
114 m_nextTokenHasBeenSet = true;
115 m_nextToken = std::forward<NextTokenT>(value);
116 }
117 template <typename NextTokenT = Aws::String>
119 SetNextToken(std::forward<NextTokenT>(value));
120 return *this;
121 }
123
125
131 inline bool GetDryRun() const { return m_dryRun; }
132 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
133 inline void SetDryRun(bool value) {
134 m_dryRunHasBeenSet = true;
135 m_dryRun = value;
136 }
138 SetDryRun(value);
139 return *this;
140 }
142 private:
143 Aws::Vector<Aws::String> m_poolIds;
144
145 Aws::Vector<Filter> m_filters;
146
147 int m_maxResults{0};
148
149 Aws::String m_nextToken;
150
151 bool m_dryRun{false};
152 bool m_poolIdsHasBeenSet = false;
153 bool m_filtersHasBeenSet = false;
154 bool m_maxResultsHasBeenSet = false;
155 bool m_nextTokenHasBeenSet = false;
156 bool m_dryRunHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace EC2
161} // namespace Aws
const Aws::Vector< Filter > & GetFilters() const
DescribeCoipPoolsRequest & AddPoolIds(PoolIdsT &&value)
AWS_EC2_API DescribeCoipPoolsRequest()=default
const Aws::Vector< Aws::String > & GetPoolIds() const
DescribeCoipPoolsRequest & WithPoolIds(PoolIdsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeCoipPoolsRequest & AddFilters(FiltersT &&value)
DescribeCoipPoolsRequest & WithMaxResults(int value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DescribeCoipPoolsRequest & WithDryRun(bool value)
DescribeCoipPoolsRequest & WithNextToken(NextTokenT &&value)
DescribeCoipPoolsRequest & WithFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector