AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeVpcEndpointAssociationsRequest.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:
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 "DescribeVpcEndpointAssociations"; }
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
44 inline bool GetDryRun() const { return m_dryRun; }
45 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
46 inline void SetDryRun(bool value) {
47 m_dryRunHasBeenSet = true;
48 m_dryRun = value;
49 }
51 SetDryRun(value);
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Aws::String>& GetVpcEndpointIds() const { return m_vpcEndpointIds; }
61 inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; }
62 template <typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
63 void SetVpcEndpointIds(VpcEndpointIdsT&& value) {
64 m_vpcEndpointIdsHasBeenSet = true;
65 m_vpcEndpointIds = std::forward<VpcEndpointIdsT>(value);
66 }
67 template <typename VpcEndpointIdsT = Aws::Vector<Aws::String>>
69 SetVpcEndpointIds(std::forward<VpcEndpointIdsT>(value));
70 return *this;
71 }
72 template <typename VpcEndpointIdsT = Aws::String>
74 m_vpcEndpointIdsHasBeenSet = true;
75 m_vpcEndpointIds.emplace_back(std::forward<VpcEndpointIdsT>(value));
76 return *this;
77 }
79
81
95 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
96 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
97 template <typename FiltersT = Aws::Vector<Filter>>
98 void SetFilters(FiltersT&& value) {
99 m_filtersHasBeenSet = true;
100 m_filters = std::forward<FiltersT>(value);
101 }
102 template <typename FiltersT = Aws::Vector<Filter>>
104 SetFilters(std::forward<FiltersT>(value));
105 return *this;
106 }
107 template <typename FiltersT = Filter>
109 m_filtersHasBeenSet = true;
110 m_filters.emplace_back(std::forward<FiltersT>(value));
111 return *this;
112 }
114
116
119 inline int GetMaxResults() const { return m_maxResults; }
120 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
121 inline void SetMaxResults(int value) {
122 m_maxResultsHasBeenSet = true;
123 m_maxResults = value;
124 }
126 SetMaxResults(value);
127 return *this;
128 }
130
132
135 inline const Aws::String& GetNextToken() const { return m_nextToken; }
136 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
137 template <typename NextTokenT = Aws::String>
138 void SetNextToken(NextTokenT&& value) {
139 m_nextTokenHasBeenSet = true;
140 m_nextToken = std::forward<NextTokenT>(value);
141 }
142 template <typename NextTokenT = Aws::String>
144 SetNextToken(std::forward<NextTokenT>(value));
145 return *this;
146 }
148 private:
149 bool m_dryRun{false};
150
151 Aws::Vector<Aws::String> m_vpcEndpointIds;
152
153 Aws::Vector<Filter> m_filters;
154
155 int m_maxResults{0};
156
157 Aws::String m_nextToken;
158 bool m_dryRunHasBeenSet = false;
159 bool m_vpcEndpointIdsHasBeenSet = false;
160 bool m_filtersHasBeenSet = false;
161 bool m_maxResultsHasBeenSet = false;
162 bool m_nextTokenHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace EC2
167} // namespace Aws
DescribeVpcEndpointAssociationsRequest & WithMaxResults(int value)
DescribeVpcEndpointAssociationsRequest & WithFilters(FiltersT &&value)
DescribeVpcEndpointAssociationsRequest & WithNextToken(NextTokenT &&value)
DescribeVpcEndpointAssociationsRequest & AddVpcEndpointIds(VpcEndpointIdsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeVpcEndpointAssociationsRequest & AddFilters(FiltersT &&value)
DescribeVpcEndpointAssociationsRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeVpcEndpointAssociationsRequest & WithVpcEndpointIds(VpcEndpointIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector