AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ModifyVerifiedAccessEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ModifyVerifiedAccessEndpointCidrOptions.h>
12#include <aws/ec2/model/ModifyVerifiedAccessEndpointEniOptions.h>
13#include <aws/ec2/model/ModifyVerifiedAccessEndpointLoadBalancerOptions.h>
14#include <aws/ec2/model/ModifyVerifiedAccessEndpointRdsOptions.h>
15
16#include <utility>
17
18namespace Aws {
19namespace EC2 {
20namespace Model {
21
25 public:
26 AWS_EC2_API ModifyVerifiedAccessEndpointRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ModifyVerifiedAccessEndpoint"; }
33
34 AWS_EC2_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
44 inline const Aws::String& GetVerifiedAccessEndpointId() const { return m_verifiedAccessEndpointId; }
45 inline bool VerifiedAccessEndpointIdHasBeenSet() const { return m_verifiedAccessEndpointIdHasBeenSet; }
46 template <typename VerifiedAccessEndpointIdT = Aws::String>
47 void SetVerifiedAccessEndpointId(VerifiedAccessEndpointIdT&& value) {
48 m_verifiedAccessEndpointIdHasBeenSet = true;
49 m_verifiedAccessEndpointId = std::forward<VerifiedAccessEndpointIdT>(value);
50 }
51 template <typename VerifiedAccessEndpointIdT = Aws::String>
53 SetVerifiedAccessEndpointId(std::forward<VerifiedAccessEndpointIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetVerifiedAccessGroupId() const { return m_verifiedAccessGroupId; }
63 inline bool VerifiedAccessGroupIdHasBeenSet() const { return m_verifiedAccessGroupIdHasBeenSet; }
64 template <typename VerifiedAccessGroupIdT = Aws::String>
65 void SetVerifiedAccessGroupId(VerifiedAccessGroupIdT&& value) {
66 m_verifiedAccessGroupIdHasBeenSet = true;
67 m_verifiedAccessGroupId = std::forward<VerifiedAccessGroupIdT>(value);
68 }
69 template <typename VerifiedAccessGroupIdT = Aws::String>
71 SetVerifiedAccessGroupId(std::forward<VerifiedAccessGroupIdT>(value));
72 return *this;
73 }
75
77
81 inline const ModifyVerifiedAccessEndpointLoadBalancerOptions& GetLoadBalancerOptions() const { return m_loadBalancerOptions; }
82 inline bool LoadBalancerOptionsHasBeenSet() const { return m_loadBalancerOptionsHasBeenSet; }
83 template <typename LoadBalancerOptionsT = ModifyVerifiedAccessEndpointLoadBalancerOptions>
84 void SetLoadBalancerOptions(LoadBalancerOptionsT&& value) {
85 m_loadBalancerOptionsHasBeenSet = true;
86 m_loadBalancerOptions = std::forward<LoadBalancerOptionsT>(value);
87 }
88 template <typename LoadBalancerOptionsT = ModifyVerifiedAccessEndpointLoadBalancerOptions>
90 SetLoadBalancerOptions(std::forward<LoadBalancerOptionsT>(value));
91 return *this;
92 }
94
96
99 inline const ModifyVerifiedAccessEndpointEniOptions& GetNetworkInterfaceOptions() const { return m_networkInterfaceOptions; }
100 inline bool NetworkInterfaceOptionsHasBeenSet() const { return m_networkInterfaceOptionsHasBeenSet; }
101 template <typename NetworkInterfaceOptionsT = ModifyVerifiedAccessEndpointEniOptions>
102 void SetNetworkInterfaceOptions(NetworkInterfaceOptionsT&& value) {
103 m_networkInterfaceOptionsHasBeenSet = true;
104 m_networkInterfaceOptions = std::forward<NetworkInterfaceOptionsT>(value);
105 }
106 template <typename NetworkInterfaceOptionsT = ModifyVerifiedAccessEndpointEniOptions>
108 SetNetworkInterfaceOptions(std::forward<NetworkInterfaceOptionsT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetDescription() const { return m_description; }
118 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
119 template <typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) {
121 m_descriptionHasBeenSet = true;
122 m_description = std::forward<DescriptionT>(value);
123 }
124 template <typename DescriptionT = Aws::String>
126 SetDescription(std::forward<DescriptionT>(value));
127 return *this;
128 }
130
132
138 inline const Aws::String& GetClientToken() const { return m_clientToken; }
139 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
140 template <typename ClientTokenT = Aws::String>
141 void SetClientToken(ClientTokenT&& value) {
142 m_clientTokenHasBeenSet = true;
143 m_clientToken = std::forward<ClientTokenT>(value);
144 }
145 template <typename ClientTokenT = Aws::String>
147 SetClientToken(std::forward<ClientTokenT>(value));
148 return *this;
149 }
151
153
159 inline bool GetDryRun() const { return m_dryRun; }
160 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
161 inline void SetDryRun(bool value) {
162 m_dryRunHasBeenSet = true;
163 m_dryRun = value;
164 }
166 SetDryRun(value);
167 return *this;
168 }
170
172
175 inline const ModifyVerifiedAccessEndpointRdsOptions& GetRdsOptions() const { return m_rdsOptions; }
176 inline bool RdsOptionsHasBeenSet() const { return m_rdsOptionsHasBeenSet; }
177 template <typename RdsOptionsT = ModifyVerifiedAccessEndpointRdsOptions>
178 void SetRdsOptions(RdsOptionsT&& value) {
179 m_rdsOptionsHasBeenSet = true;
180 m_rdsOptions = std::forward<RdsOptionsT>(value);
181 }
182 template <typename RdsOptionsT = ModifyVerifiedAccessEndpointRdsOptions>
184 SetRdsOptions(std::forward<RdsOptionsT>(value));
185 return *this;
186 }
188
190
193 inline const ModifyVerifiedAccessEndpointCidrOptions& GetCidrOptions() const { return m_cidrOptions; }
194 inline bool CidrOptionsHasBeenSet() const { return m_cidrOptionsHasBeenSet; }
195 template <typename CidrOptionsT = ModifyVerifiedAccessEndpointCidrOptions>
196 void SetCidrOptions(CidrOptionsT&& value) {
197 m_cidrOptionsHasBeenSet = true;
198 m_cidrOptions = std::forward<CidrOptionsT>(value);
199 }
200 template <typename CidrOptionsT = ModifyVerifiedAccessEndpointCidrOptions>
202 SetCidrOptions(std::forward<CidrOptionsT>(value));
203 return *this;
204 }
206 private:
207 Aws::String m_verifiedAccessEndpointId;
208
209 Aws::String m_verifiedAccessGroupId;
210
212
213 ModifyVerifiedAccessEndpointEniOptions m_networkInterfaceOptions;
214
215 Aws::String m_description;
216
218
219 bool m_dryRun{false};
220
221 ModifyVerifiedAccessEndpointRdsOptions m_rdsOptions;
222
223 ModifyVerifiedAccessEndpointCidrOptions m_cidrOptions;
224 bool m_verifiedAccessEndpointIdHasBeenSet = false;
225 bool m_verifiedAccessGroupIdHasBeenSet = false;
226 bool m_loadBalancerOptionsHasBeenSet = false;
227 bool m_networkInterfaceOptionsHasBeenSet = false;
228 bool m_descriptionHasBeenSet = false;
229 bool m_clientTokenHasBeenSet = true;
230 bool m_dryRunHasBeenSet = false;
231 bool m_rdsOptionsHasBeenSet = false;
232 bool m_cidrOptionsHasBeenSet = false;
233};
234
235} // namespace Model
236} // namespace EC2
237} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVerifiedAccessEndpointRequest & WithRdsOptions(RdsOptionsT &&value)
ModifyVerifiedAccessEndpointRequest & WithClientToken(ClientTokenT &&value)
const ModifyVerifiedAccessEndpointRdsOptions & GetRdsOptions() const
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessEndpointId(VerifiedAccessEndpointIdT &&value)
ModifyVerifiedAccessEndpointRequest & WithLoadBalancerOptions(LoadBalancerOptionsT &&value)
ModifyVerifiedAccessEndpointRequest & WithNetworkInterfaceOptions(NetworkInterfaceOptionsT &&value)
ModifyVerifiedAccessEndpointRequest & WithVerifiedAccessGroupId(VerifiedAccessGroupIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVerifiedAccessEndpointRequest & WithDryRun(bool value)
const ModifyVerifiedAccessEndpointCidrOptions & GetCidrOptions() const
const ModifyVerifiedAccessEndpointLoadBalancerOptions & GetLoadBalancerOptions() const
const ModifyVerifiedAccessEndpointEniOptions & GetNetworkInterfaceOptions() const
ModifyVerifiedAccessEndpointRequest & WithCidrOptions(CidrOptionsT &&value)
ModifyVerifiedAccessEndpointRequest & WithDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String