AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeVpnConcentratorsRequest.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 DescribeVpnConcentratorsRequest() = 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 "DescribeVpnConcentrators"; }
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>& GetVpnConcentratorIds() const { return m_vpnConcentratorIds; }
42 inline bool VpnConcentratorIdsHasBeenSet() const { return m_vpnConcentratorIdsHasBeenSet; }
43 template <typename VpnConcentratorIdsT = Aws::Vector<Aws::String>>
44 void SetVpnConcentratorIds(VpnConcentratorIdsT&& value) {
45 m_vpnConcentratorIdsHasBeenSet = true;
46 m_vpnConcentratorIds = std::forward<VpnConcentratorIdsT>(value);
47 }
48 template <typename VpnConcentratorIdsT = Aws::Vector<Aws::String>>
50 SetVpnConcentratorIds(std::forward<VpnConcentratorIdsT>(value));
51 return *this;
52 }
53 template <typename VpnConcentratorIdsT = Aws::String>
55 m_vpnConcentratorIdsHasBeenSet = true;
56 m_vpnConcentratorIds.emplace_back(std::forward<VpnConcentratorIdsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
66 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
67 template <typename FiltersT = Aws::Vector<Filter>>
68 void SetFilters(FiltersT&& value) {
69 m_filtersHasBeenSet = true;
70 m_filters = std::forward<FiltersT>(value);
71 }
72 template <typename FiltersT = Aws::Vector<Filter>>
74 SetFilters(std::forward<FiltersT>(value));
75 return *this;
76 }
77 template <typename FiltersT = Filter>
79 m_filtersHasBeenSet = true;
80 m_filters.emplace_back(std::forward<FiltersT>(value));
81 return *this;
82 }
84
86
91 inline int GetMaxResults() const { return m_maxResults; }
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 inline void SetMaxResults(int value) {
94 m_maxResultsHasBeenSet = true;
95 m_maxResults = value;
96 }
98 SetMaxResults(value);
99 return *this;
100 }
102
104
107 inline const Aws::String& GetNextToken() const { return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 template <typename NextTokenT = Aws::String>
110 void SetNextToken(NextTokenT&& value) {
111 m_nextTokenHasBeenSet = true;
112 m_nextToken = std::forward<NextTokenT>(value);
113 }
114 template <typename NextTokenT = Aws::String>
116 SetNextToken(std::forward<NextTokenT>(value));
117 return *this;
118 }
120
122
128 inline bool GetDryRun() const { return m_dryRun; }
129 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
130 inline void SetDryRun(bool value) {
131 m_dryRunHasBeenSet = true;
132 m_dryRun = value;
133 }
135 SetDryRun(value);
136 return *this;
137 }
139 private:
140 Aws::Vector<Aws::String> m_vpnConcentratorIds;
141
142 Aws::Vector<Filter> m_filters;
143
144 int m_maxResults{0};
145
146 Aws::String m_nextToken;
147
148 bool m_dryRun{false};
149 bool m_vpnConcentratorIdsHasBeenSet = false;
150 bool m_filtersHasBeenSet = false;
151 bool m_maxResultsHasBeenSet = false;
152 bool m_nextTokenHasBeenSet = false;
153 bool m_dryRunHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace EC2
158} // namespace Aws
const Aws::Vector< Aws::String > & GetVpnConcentratorIds() const
DescribeVpnConcentratorsRequest & WithVpnConcentratorIds(VpnConcentratorIdsT &&value)
DescribeVpnConcentratorsRequest & WithNextToken(NextTokenT &&value)
DescribeVpnConcentratorsRequest & WithMaxResults(int value)
DescribeVpnConcentratorsRequest & AddVpnConcentratorIds(VpnConcentratorIdsT &&value)
DescribeVpnConcentratorsRequest & WithDryRun(bool value)
DescribeVpnConcentratorsRequest & AddFilters(FiltersT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeVpnConcentratorsRequest & WithFilters(FiltersT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector