AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcEndpointConnection.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/State.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/IpAddressType.h>
14#include <aws/ec2/model/DnsEntry.h>
15#include <aws/ec2/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Xml
23{
24 class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace EC2
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_EC2_API VpcEndpointConnection();
44
45 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
53 inline const Aws::String& GetServiceId() const{ return m_serviceId; }
54 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
55 inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; }
56 inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); }
57 inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); }
58 inline VpcEndpointConnection& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;}
59 inline VpcEndpointConnection& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;}
60 inline VpcEndpointConnection& WithServiceId(const char* value) { SetServiceId(value); return *this;}
62
64
67 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
68 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
69 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
70 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
71 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
72 inline VpcEndpointConnection& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
73 inline VpcEndpointConnection& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
74 inline VpcEndpointConnection& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
76
78
81 inline const Aws::String& GetVpcEndpointOwner() const{ return m_vpcEndpointOwner; }
82 inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; }
83 inline void SetVpcEndpointOwner(const Aws::String& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = value; }
84 inline void SetVpcEndpointOwner(Aws::String&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::move(value); }
85 inline void SetVpcEndpointOwner(const char* value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner.assign(value); }
86 inline VpcEndpointConnection& WithVpcEndpointOwner(const Aws::String& value) { SetVpcEndpointOwner(value); return *this;}
87 inline VpcEndpointConnection& WithVpcEndpointOwner(Aws::String&& value) { SetVpcEndpointOwner(std::move(value)); return *this;}
88 inline VpcEndpointConnection& WithVpcEndpointOwner(const char* value) { SetVpcEndpointOwner(value); return *this;}
90
92
95 inline const State& GetVpcEndpointState() const{ return m_vpcEndpointState; }
96 inline bool VpcEndpointStateHasBeenSet() const { return m_vpcEndpointStateHasBeenSet; }
97 inline void SetVpcEndpointState(const State& value) { m_vpcEndpointStateHasBeenSet = true; m_vpcEndpointState = value; }
98 inline void SetVpcEndpointState(State&& value) { m_vpcEndpointStateHasBeenSet = true; m_vpcEndpointState = std::move(value); }
99 inline VpcEndpointConnection& WithVpcEndpointState(const State& value) { SetVpcEndpointState(value); return *this;}
100 inline VpcEndpointConnection& WithVpcEndpointState(State&& value) { SetVpcEndpointState(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
108 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
109 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
110 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
114
116
119 inline const Aws::Vector<DnsEntry>& GetDnsEntries() const{ return m_dnsEntries; }
120 inline bool DnsEntriesHasBeenSet() const { return m_dnsEntriesHasBeenSet; }
121 inline void SetDnsEntries(const Aws::Vector<DnsEntry>& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries = value; }
122 inline void SetDnsEntries(Aws::Vector<DnsEntry>&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries = std::move(value); }
123 inline VpcEndpointConnection& WithDnsEntries(const Aws::Vector<DnsEntry>& value) { SetDnsEntries(value); return *this;}
124 inline VpcEndpointConnection& WithDnsEntries(Aws::Vector<DnsEntry>&& value) { SetDnsEntries(std::move(value)); return *this;}
125 inline VpcEndpointConnection& AddDnsEntries(const DnsEntry& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(value); return *this; }
126 inline VpcEndpointConnection& AddDnsEntries(DnsEntry&& value) { m_dnsEntriesHasBeenSet = true; m_dnsEntries.push_back(std::move(value)); return *this; }
128
130
134 inline const Aws::Vector<Aws::String>& GetNetworkLoadBalancerArns() const{ return m_networkLoadBalancerArns; }
135 inline bool NetworkLoadBalancerArnsHasBeenSet() const { return m_networkLoadBalancerArnsHasBeenSet; }
136 inline void SetNetworkLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns = value; }
137 inline void SetNetworkLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns = std::move(value); }
140 inline VpcEndpointConnection& AddNetworkLoadBalancerArns(const Aws::String& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; }
141 inline VpcEndpointConnection& AddNetworkLoadBalancerArns(Aws::String&& value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(std::move(value)); return *this; }
142 inline VpcEndpointConnection& AddNetworkLoadBalancerArns(const char* value) { m_networkLoadBalancerArnsHasBeenSet = true; m_networkLoadBalancerArns.push_back(value); return *this; }
144
146
150 inline const Aws::Vector<Aws::String>& GetGatewayLoadBalancerArns() const{ return m_gatewayLoadBalancerArns; }
151 inline bool GatewayLoadBalancerArnsHasBeenSet() const { return m_gatewayLoadBalancerArnsHasBeenSet; }
152 inline void SetGatewayLoadBalancerArns(const Aws::Vector<Aws::String>& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns = value; }
153 inline void SetGatewayLoadBalancerArns(Aws::Vector<Aws::String>&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns = std::move(value); }
156 inline VpcEndpointConnection& AddGatewayLoadBalancerArns(const Aws::String& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; }
157 inline VpcEndpointConnection& AddGatewayLoadBalancerArns(Aws::String&& value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(std::move(value)); return *this; }
158 inline VpcEndpointConnection& AddGatewayLoadBalancerArns(const char* value) { m_gatewayLoadBalancerArnsHasBeenSet = true; m_gatewayLoadBalancerArns.push_back(value); return *this; }
160
162
165 inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
166 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
167 inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
168 inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
169 inline VpcEndpointConnection& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
170 inline VpcEndpointConnection& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
172
174
177 inline const Aws::String& GetVpcEndpointConnectionId() const{ return m_vpcEndpointConnectionId; }
178 inline bool VpcEndpointConnectionIdHasBeenSet() const { return m_vpcEndpointConnectionIdHasBeenSet; }
179 inline void SetVpcEndpointConnectionId(const Aws::String& value) { m_vpcEndpointConnectionIdHasBeenSet = true; m_vpcEndpointConnectionId = value; }
180 inline void SetVpcEndpointConnectionId(Aws::String&& value) { m_vpcEndpointConnectionIdHasBeenSet = true; m_vpcEndpointConnectionId = std::move(value); }
181 inline void SetVpcEndpointConnectionId(const char* value) { m_vpcEndpointConnectionIdHasBeenSet = true; m_vpcEndpointConnectionId.assign(value); }
184 inline VpcEndpointConnection& WithVpcEndpointConnectionId(const char* value) { SetVpcEndpointConnectionId(value); return *this;}
186
188
191 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
192 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
193 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
194 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
195 inline VpcEndpointConnection& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
196 inline VpcEndpointConnection& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
197 inline VpcEndpointConnection& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
198 inline VpcEndpointConnection& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
200 private:
201
202 Aws::String m_serviceId;
203 bool m_serviceIdHasBeenSet = false;
204
205 Aws::String m_vpcEndpointId;
206 bool m_vpcEndpointIdHasBeenSet = false;
207
208 Aws::String m_vpcEndpointOwner;
209 bool m_vpcEndpointOwnerHasBeenSet = false;
210
211 State m_vpcEndpointState;
212 bool m_vpcEndpointStateHasBeenSet = false;
213
214 Aws::Utils::DateTime m_creationTimestamp;
215 bool m_creationTimestampHasBeenSet = false;
216
217 Aws::Vector<DnsEntry> m_dnsEntries;
218 bool m_dnsEntriesHasBeenSet = false;
219
220 Aws::Vector<Aws::String> m_networkLoadBalancerArns;
221 bool m_networkLoadBalancerArnsHasBeenSet = false;
222
223 Aws::Vector<Aws::String> m_gatewayLoadBalancerArns;
224 bool m_gatewayLoadBalancerArnsHasBeenSet = false;
225
226 IpAddressType m_ipAddressType;
227 bool m_ipAddressTypeHasBeenSet = false;
228
229 Aws::String m_vpcEndpointConnectionId;
230 bool m_vpcEndpointConnectionIdHasBeenSet = false;
231
232 Aws::Vector<Tag> m_tags;
233 bool m_tagsHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace EC2
238} // namespace Aws
Definition DnsEntry.h:32
VpcEndpointConnection & WithVpcEndpointOwner(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
VpcEndpointConnection & WithVpcEndpointId(const char *value)
VpcEndpointConnection & AddNetworkLoadBalancerArns(const char *value)
void SetGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
VpcEndpointConnection & AddGatewayLoadBalancerArns(const Aws::String &value)
void SetVpcEndpointOwner(const Aws::String &value)
VpcEndpointConnection & WithIpAddressType(const IpAddressType &value)
void SetIpAddressType(const IpAddressType &value)
AWS_EC2_API VpcEndpointConnection & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetVpcEndpointOwner() const
VpcEndpointConnection & AddDnsEntries(DnsEntry &&value)
VpcEndpointConnection & WithVpcEndpointConnectionId(const char *value)
void SetDnsEntries(Aws::Vector< DnsEntry > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetVpcEndpointId(const Aws::String &value)
VpcEndpointConnection & WithDnsEntries(const Aws::Vector< DnsEntry > &value)
VpcEndpointConnection & WithGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
VpcEndpointConnection & WithServiceId(const Aws::String &value)
VpcEndpointConnection & AddTags(Tag &&value)
void SetVpcEndpointConnectionId(Aws::String &&value)
VpcEndpointConnection & AddNetworkLoadBalancerArns(Aws::String &&value)
VpcEndpointConnection & WithVpcEndpointId(const Aws::String &value)
VpcEndpointConnection & WithVpcEndpointId(Aws::String &&value)
VpcEndpointConnection & WithServiceId(Aws::String &&value)
void SetVpcEndpointConnectionId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetNetworkLoadBalancerArns() const
VpcEndpointConnection & WithGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
VpcEndpointConnection & WithDnsEntries(Aws::Vector< DnsEntry > &&value)
const Aws::Vector< Aws::String > & GetGatewayLoadBalancerArns() const
void SetGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
const Aws::String & GetVpcEndpointConnectionId() const
VpcEndpointConnection & AddNetworkLoadBalancerArns(const Aws::String &value)
VpcEndpointConnection & WithNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
void SetTags(Aws::Vector< Tag > &&value)
VpcEndpointConnection & WithCreationTimestamp(const Aws::Utils::DateTime &value)
VpcEndpointConnection & WithVpcEndpointConnectionId(Aws::String &&value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
VpcEndpointConnection & WithVpcEndpointOwner(const char *value)
AWS_EC2_API VpcEndpointConnection(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
VpcEndpointConnection & WithTags(Aws::Vector< Tag > &&value)
const IpAddressType & GetIpAddressType() const
VpcEndpointConnection & WithNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
VpcEndpointConnection & WithVpcEndpointState(const State &value)
VpcEndpointConnection & WithCreationTimestamp(Aws::Utils::DateTime &&value)
void SetDnsEntries(const Aws::Vector< DnsEntry > &value)
void SetServiceId(const Aws::String &value)
const Aws::String & GetVpcEndpointId() const
VpcEndpointConnection & WithIpAddressType(IpAddressType &&value)
VpcEndpointConnection & WithServiceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcEndpointConnection & WithVpcEndpointState(State &&value)
VpcEndpointConnection & AddGatewayLoadBalancerArns(const char *value)
VpcEndpointConnection & WithVpcEndpointOwner(const Aws::String &value)
VpcEndpointConnection & AddGatewayLoadBalancerArns(Aws::String &&value)
VpcEndpointConnection & WithTags(const Aws::Vector< Tag > &value)
void SetNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
VpcEndpointConnection & WithVpcEndpointConnectionId(const Aws::String &value)
void SetNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< DnsEntry > & GetDnsEntries() const
VpcEndpointConnection & AddDnsEntries(const DnsEntry &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
VpcEndpointConnection & AddTags(const Tag &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) 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