AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcEndpoint.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/VpcEndpointType.h>
11#include <aws/ec2/model/State.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/IpAddressType.h>
14#include <aws/ec2/model/DnsOptions.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/ec2/model/LastError.h>
17#include <aws/ec2/model/SecurityGroupIdentifier.h>
18#include <aws/ec2/model/DnsEntry.h>
19#include <aws/ec2/model/Tag.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Xml
27{
28 class XmlNode;
29} // namespace Xml
30} // namespace Utils
31namespace EC2
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_EC2_API VpcEndpoint();
45 AWS_EC2_API VpcEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
46 AWS_EC2_API VpcEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
51
53
56 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
57 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
58 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
59 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
60 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
61 inline VpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
62 inline VpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
63 inline VpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
65
67
70 inline const VpcEndpointType& GetVpcEndpointType() const{ return m_vpcEndpointType; }
71 inline bool VpcEndpointTypeHasBeenSet() const { return m_vpcEndpointTypeHasBeenSet; }
72 inline void SetVpcEndpointType(const VpcEndpointType& value) { m_vpcEndpointTypeHasBeenSet = true; m_vpcEndpointType = value; }
73 inline void SetVpcEndpointType(VpcEndpointType&& value) { m_vpcEndpointTypeHasBeenSet = true; m_vpcEndpointType = std::move(value); }
74 inline VpcEndpoint& WithVpcEndpointType(const VpcEndpointType& value) { SetVpcEndpointType(value); return *this;}
75 inline VpcEndpoint& WithVpcEndpointType(VpcEndpointType&& value) { SetVpcEndpointType(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
83 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
84 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
85 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
86 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
87 inline VpcEndpoint& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
88 inline VpcEndpoint& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
89 inline VpcEndpoint& WithVpcId(const char* value) { SetVpcId(value); return *this;}
91
93
96 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
97 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
98 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
99 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
100 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
101 inline VpcEndpoint& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
102 inline VpcEndpoint& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
103 inline VpcEndpoint& WithServiceName(const char* value) { SetServiceName(value); return *this;}
105
107
110 inline const State& GetState() const{ return m_state; }
111 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
112 inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
113 inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
114 inline VpcEndpoint& WithState(const State& value) { SetState(value); return *this;}
115 inline VpcEndpoint& WithState(State&& value) { SetState(std::move(value)); return *this;}
117
119
122 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
123 inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; }
124 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = value; }
125 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = std::move(value); }
126 inline void SetPolicyDocument(const char* value) { m_policyDocumentHasBeenSet = true; m_policyDocument.assign(value); }
127 inline VpcEndpoint& WithPolicyDocument(const Aws::String& value) { SetPolicyDocument(value); return *this;}
128 inline VpcEndpoint& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;}
129 inline VpcEndpoint& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
131
133
137 inline const Aws::Vector<Aws::String>& GetRouteTableIds() const{ return m_routeTableIds; }
138 inline bool RouteTableIdsHasBeenSet() const { return m_routeTableIdsHasBeenSet; }
139 inline void SetRouteTableIds(const Aws::Vector<Aws::String>& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = value; }
140 inline void SetRouteTableIds(Aws::Vector<Aws::String>&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds = std::move(value); }
141 inline VpcEndpoint& WithRouteTableIds(const Aws::Vector<Aws::String>& value) { SetRouteTableIds(value); return *this;}
142 inline VpcEndpoint& WithRouteTableIds(Aws::Vector<Aws::String>&& value) { SetRouteTableIds(std::move(value)); return *this;}
143 inline VpcEndpoint& AddRouteTableIds(const Aws::String& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(value); return *this; }
144 inline VpcEndpoint& AddRouteTableIds(Aws::String&& value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(std::move(value)); return *this; }
145 inline VpcEndpoint& AddRouteTableIds(const char* value) { m_routeTableIdsHasBeenSet = true; m_routeTableIds.push_back(value); return *this; }
147
149
152 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
153 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
154 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
155 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
156 inline VpcEndpoint& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
157 inline VpcEndpoint& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
158 inline VpcEndpoint& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
159 inline VpcEndpoint& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
160 inline VpcEndpoint& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
162
164
168 inline const Aws::Vector<SecurityGroupIdentifier>& GetGroups() const{ return m_groups; }
169 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
170 inline void SetGroups(const Aws::Vector<SecurityGroupIdentifier>& value) { m_groupsHasBeenSet = true; m_groups = value; }
171 inline void SetGroups(Aws::Vector<SecurityGroupIdentifier>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
172 inline VpcEndpoint& WithGroups(const Aws::Vector<SecurityGroupIdentifier>& value) { SetGroups(value); return *this;}
173 inline VpcEndpoint& WithGroups(Aws::Vector<SecurityGroupIdentifier>&& value) { SetGroups(std::move(value)); return *this;}
174 inline VpcEndpoint& AddGroups(const SecurityGroupIdentifier& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
175 inline VpcEndpoint& AddGroups(SecurityGroupIdentifier&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
177
179
182 inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
183 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
184 inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
185 inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
186 inline VpcEndpoint& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
187 inline VpcEndpoint& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
189
191
194 inline const DnsOptions& GetDnsOptions() const{ return m_dnsOptions; }
195 inline bool DnsOptionsHasBeenSet() const { return m_dnsOptionsHasBeenSet; }
196 inline void SetDnsOptions(const DnsOptions& value) { m_dnsOptionsHasBeenSet = true; m_dnsOptions = value; }
197 inline void SetDnsOptions(DnsOptions&& value) { m_dnsOptionsHasBeenSet = true; m_dnsOptions = std::move(value); }
198 inline VpcEndpoint& WithDnsOptions(const DnsOptions& value) { SetDnsOptions(value); return *this;}
199 inline VpcEndpoint& WithDnsOptions(DnsOptions&& value) { SetDnsOptions(std::move(value)); return *this;}
201
203
207 inline bool GetPrivateDnsEnabled() const{ return m_privateDnsEnabled; }
208 inline bool PrivateDnsEnabledHasBeenSet() const { return m_privateDnsEnabledHasBeenSet; }
209 inline void SetPrivateDnsEnabled(bool value) { m_privateDnsEnabledHasBeenSet = true; m_privateDnsEnabled = value; }
210 inline VpcEndpoint& WithPrivateDnsEnabled(bool value) { SetPrivateDnsEnabled(value); return *this;}
212
214
217 inline bool GetRequesterManaged() const{ return m_requesterManaged; }
218 inline bool RequesterManagedHasBeenSet() const { return m_requesterManagedHasBeenSet; }
219 inline void SetRequesterManaged(bool value) { m_requesterManagedHasBeenSet = true; m_requesterManaged = value; }
220 inline VpcEndpoint& WithRequesterManaged(bool value) { SetRequesterManaged(value); return *this;}
222
224
227 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const{ return m_networkInterfaceIds; }
228 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
229 inline void SetNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = value; }
230 inline void SetNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::move(value); }
232 inline VpcEndpoint& WithNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { SetNetworkInterfaceIds(std::move(value)); return *this;}
233 inline VpcEndpoint& AddNetworkInterfaceIds(const Aws::String& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
234 inline VpcEndpoint& AddNetworkInterfaceIds(Aws::String&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(std::move(value)); return *this; }
235 inline VpcEndpoint& AddNetworkInterfaceIds(const char* value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
237
239
242 inline const Aws::Vector<DnsEntry>& GetDnsEntries() const{ return m_dnsEntries; }
243 inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; }
244 inline void SetDnsEntries(const Aws::Vector<DnsEntry>& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries = value; }
245 inline void SetDnsEntries(Aws::Vector<DnsEntry>&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries = std::move(value); }
246 inline VpcEndpoint& WithDnsEntries(const Aws::Vector<DnsEntry>& value) { SetDnsEntries(value); return *this;}
247 inline VpcEndpoint& WithDnsEntries(Aws::Vector<DnsEntry>&& value) { SetDnsEntries(std::move(value)); return *this;}
248 inline VpcEndpoint& AddDnsEntries(const DnsEntry& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(value); return *this; }
249 inline VpcEndpoint& AddDnsEntries(DnsEntry&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(std::move(value)); return *this; }
251
253
256 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
257 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
258 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
259 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
260 inline VpcEndpoint& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
261 inline VpcEndpoint& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
263
265
268 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
269 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
270 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
271 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
272 inline VpcEndpoint& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
273 inline VpcEndpoint& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
274 inline VpcEndpoint& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
275 inline VpcEndpoint& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
277
279
282 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
283 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
284 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
285 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
286 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
287 inline VpcEndpoint& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
288 inline VpcEndpoint& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
289 inline VpcEndpoint& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
291
293
296 inline const LastError& GetLastError() const{ return m_lastError; }
297 inline bool LastErrorHasBeenSet() const { return m_lastErrorHasBeenSet; }
298 inline void SetLastError(const LastError& value) { m_lastErrorHasBeenSet = true; m_lastError = value; }
299 inline void SetLastError(LastError&& value) { m_lastErrorHasBeenSet = true; m_lastError = std::move(value); }
300 inline VpcEndpoint& WithLastError(const LastError& value) { SetLastError(value); return *this;}
301 inline VpcEndpoint& WithLastError(LastError&& value) { SetLastError(std::move(value)); return *this;}
303 private:
304
305 Aws::String m_vpcEndpointId;
306 bool m_vpcEndpointIdHasBeenSet = false;
307
308 VpcEndpointType m_vpcEndpointType;
309 bool m_vpcEndpointTypeHasBeenSet = false;
310
311 Aws::String m_vpcId;
312 bool m_vpcIdHasBeenSet = false;
313
314 Aws::String m_serviceName;
315 bool m_serviceNameHasBeenSet = false;
316
317 State m_state;
318 bool m_stateHasBeenSet = false;
319
320 Aws::String m_policyDocument;
321 bool m_policyDocumentHasBeenSet = false;
322
323 Aws::Vector<Aws::String> m_routeTableIds;
324 bool m_routeTableIdsHasBeenSet = false;
325
326 Aws::Vector<Aws::String> m_subnetIds;
327 bool m_subnetIdsHasBeenSet = false;
328
330 bool m_groupsHasBeenSet = false;
331
332 IpAddressType m_ipAddressType;
333 bool m_ipAddressTypeHasBeenSet = false;
334
335 DnsOptions m_dnsOptions;
336 bool m_dnsOptionsHasBeenSet = false;
337
338 bool m_privateDnsEnabled;
339 bool m_privateDnsEnabledHasBeenSet = false;
340
341 bool m_requesterManaged;
342 bool m_requesterManagedHasBeenSet = false;
343
344 Aws::Vector<Aws::String> m_networkInterfaceIds;
345 bool m_networkInterfaceIdsHasBeenSet = false;
346
347 Aws::Vector<DnsEntry> m_dnsEntries;
348 bool m_dnsEntriesHasBeenSet = false;
349
350 Aws::Utils::DateTime m_creationTimestamp;
351 bool m_creationTimestampHasBeenSet = false;
352
353 Aws::Vector<Tag> m_tags;
354 bool m_tagsHasBeenSet = false;
355
356 Aws::String m_ownerId;
357 bool m_ownerIdHasBeenSet = false;
358
359 LastError m_lastError;
360 bool m_lastErrorHasBeenSet = false;
361 };
362
363} // namespace Model
364} // namespace EC2
365} // namespace Aws
Definition DnsEntry.h:32
VpcEndpoint & AddSubnetIds(const Aws::String &value)
void SetDnsOptions(const DnsOptions &value)
const State & GetState() const
VpcEndpoint & WithGroups(Aws::Vector< SecurityGroupIdentifier > &&value)
VpcEndpoint & WithPrivateDnsEnabled(bool value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
VpcEndpoint & WithServiceName(Aws::String &&value)
void SetIpAddressType(const IpAddressType &value)
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:56
void SetVpcEndpointType(const VpcEndpointType &value)
Definition VpcEndpoint.h:72
VpcEndpoint & AddRouteTableIds(const char *value)
VpcEndpoint & WithOwnerId(const Aws::String &value)
void SetLastError(const LastError &value)
void SetVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:58
VpcEndpoint & WithCreationTimestamp(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDnsEntries(Aws::Vector< DnsEntry > &&value)
void SetDnsOptions(DnsOptions &&value)
VpcEndpoint & WithVpcEndpointId(const char *value)
Definition VpcEndpoint.h:63
VpcEndpoint & WithPolicyDocument(const char *value)
VpcEndpoint & WithDnsOptions(DnsOptions &&value)
void SetDnsEntries(const Aws::Vector< DnsEntry > &value)
VpcEndpoint & WithServiceName(const char *value)
void SetNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
void SetPolicyDocument(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcEndpoint & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
void SetPolicyDocument(const Aws::String &value)
void SetState(State &&value)
VpcEndpoint & WithOwnerId(Aws::String &&value)
VpcEndpoint & AddDnsEntries(DnsEntry &&value)
VpcEndpoint & WithPolicyDocument(const Aws::String &value)
void SetPolicyDocument(const char *value)
VpcEndpoint & WithPolicyDocument(Aws::String &&value)
VpcEndpoint & AddGroups(SecurityGroupIdentifier &&value)
AWS_EC2_API VpcEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEndpoint & WithVpcEndpointType(VpcEndpointType &&value)
Definition VpcEndpoint.h:75
void SetIpAddressType(IpAddressType &&value)
void SetVpcId(const char *value)
Definition VpcEndpoint.h:86
void SetTags(Aws::Vector< Tag > &&value)
void SetNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetOwnerId() const
bool ServiceNameHasBeenSet() const
Definition VpcEndpoint.h:97
bool PrivateDnsEnabledHasBeenSet() const
VpcEndpoint & WithRouteTableIds(Aws::Vector< Aws::String > &&value)
void SetPrivateDnsEnabled(bool value)
const Aws::Vector< SecurityGroupIdentifier > & GetGroups() const
VpcEndpoint & WithIpAddressType(IpAddressType &&value)
VpcEndpoint & AddNetworkInterfaceIds(const char *value)
VpcEndpoint & WithState(const State &value)
bool RouteTableIdsHasBeenSet() const
VpcEndpoint & WithVpcId(const Aws::String &value)
Definition VpcEndpoint.h:87
void SetVpcId(const Aws::String &value)
Definition VpcEndpoint.h:84
VpcEndpoint & AddSubnetIds(const char *value)
void SetServiceName(Aws::String &&value)
Definition VpcEndpoint.h:99
VpcEndpoint & AddTags(Tag &&value)
void SetServiceName(const char *value)
const Aws::String & GetServiceName() const
Definition VpcEndpoint.h:96
void SetVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:59
void SetServiceName(const Aws::String &value)
Definition VpcEndpoint.h:98
VpcEndpoint & AddDnsEntries(const DnsEntry &value)
bool VpcEndpointTypeHasBeenSet() const
Definition VpcEndpoint.h:71
void SetVpcEndpointId(const char *value)
Definition VpcEndpoint.h:60
const LastError & GetLastError() const
VpcEndpoint & AddRouteTableIds(Aws::String &&value)
const Aws::Vector< DnsEntry > & GetDnsEntries() const
void SetOwnerId(Aws::String &&value)
const IpAddressType & GetIpAddressType() const
const VpcEndpointType & GetVpcEndpointType() const
Definition VpcEndpoint.h:70
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRouteTableIds(const Aws::Vector< Aws::String > &value)
void SetOwnerId(const char *value)
VpcEndpoint & WithVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:62
const Aws::Vector< Tag > & GetTags() const
VpcEndpoint & WithDnsEntries(const Aws::Vector< DnsEntry > &value)
void SetRequesterManaged(bool value)
VpcEndpoint & AddRouteTableIds(const Aws::String &value)
VpcEndpoint & WithLastError(const LastError &value)
VpcEndpoint & AddGroups(const SecurityGroupIdentifier &value)
VpcEndpoint & WithCreationTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const DnsOptions & GetDnsOptions() const
VpcEndpoint & WithNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
VpcEndpoint & WithVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:61
VpcEndpoint & WithServiceName(const Aws::String &value)
VpcEndpoint & WithVpcId(const char *value)
Definition VpcEndpoint.h:89
void SetGroups(const Aws::Vector< SecurityGroupIdentifier > &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
bool NetworkInterfaceIdsHasBeenSet() const
void SetOwnerId(const Aws::String &value)
VpcEndpoint & WithSubnetIds(const Aws::Vector< Aws::String > &value)
VpcEndpoint & WithDnsOptions(const DnsOptions &value)
VpcEndpoint & WithRouteTableIds(const Aws::Vector< Aws::String > &value)
VpcEndpoint & WithVpcId(Aws::String &&value)
Definition VpcEndpoint.h:88
VpcEndpoint & WithTags(Aws::Vector< Tag > &&value)
VpcEndpoint & AddSubnetIds(Aws::String &&value)
bool IpAddressTypeHasBeenSet() const
void SetLastError(LastError &&value)
void SetGroups(Aws::Vector< SecurityGroupIdentifier > &&value)
void SetVpcId(Aws::String &&value)
Definition VpcEndpoint.h:85
bool RequesterManagedHasBeenSet() const
AWS_EC2_API VpcEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEndpoint & WithSubnetIds(Aws::Vector< Aws::String > &&value)
VpcEndpoint & WithOwnerId(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcEndpoint & WithLastError(LastError &&value)
VpcEndpoint & AddNetworkInterfaceIds(const Aws::String &value)
VpcEndpoint & WithGroups(const Aws::Vector< SecurityGroupIdentifier > &value)
VpcEndpoint & AddTags(const Tag &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
void SetRouteTableIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVpcId() const
Definition VpcEndpoint.h:82
VpcEndpoint & WithVpcEndpointType(const VpcEndpointType &value)
Definition VpcEndpoint.h:74
const Aws::String & GetPolicyDocument() const
bool CreationTimestampHasBeenSet() const
VpcEndpoint & WithDnsEntries(Aws::Vector< DnsEntry > &&value)
VpcEndpoint & WithRequesterManaged(bool value)
VpcEndpoint & WithNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
void SetState(const State &value)
bool VpcEndpointIdHasBeenSet() const
Definition VpcEndpoint.h:57
VpcEndpoint & AddNetworkInterfaceIds(Aws::String &&value)
void SetVpcEndpointType(VpcEndpointType &&value)
Definition VpcEndpoint.h:73
VpcEndpoint & WithState(State &&value)
void SetTags(const Aws::Vector< Tag > &value)
VpcEndpoint & WithIpAddressType(const IpAddressType &value)
bool PolicyDocumentHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream