7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/DnsEntry.h>
12#include <aws/ec2/model/Tag.h>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename VpcEndpo
intIdT = Aws::String>
66 m_vpcEndpointIdHasBeenSet =
true;
67 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
69 template <
typename VpcEndpo
intIdT = Aws::String>
82 template <
typename ServiceNetworkArnT = Aws::String>
84 m_serviceNetworkArnHasBeenSet =
true;
85 m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value);
87 template <
typename ServiceNetworkArnT = Aws::String>
100 template <
typename ServiceNetworkNameT = Aws::String>
102 m_serviceNetworkNameHasBeenSet =
true;
103 m_serviceNetworkName = std::forward<ServiceNetworkNameT>(value);
105 template <
typename ServiceNetworkNameT = Aws::String>
120 template <
typename AssociatedResourceAccessibilityT = Aws::String>
122 m_associatedResourceAccessibilityHasBeenSet =
true;
123 m_associatedResourceAccessibility = std::forward<AssociatedResourceAccessibilityT>(value);
125 template <
typename AssociatedResourceAccessibilityT = Aws::String>
138 template <
typename FailureReasonT = Aws::String>
140 m_failureReasonHasBeenSet =
true;
141 m_failureReason = std::forward<FailureReasonT>(value);
143 template <
typename FailureReasonT = Aws::String>
156 template <
typename FailureCodeT = Aws::String>
158 m_failureCodeHasBeenSet =
true;
159 m_failureCode = std::forward<FailureCodeT>(value);
161 template <
typename FailureCodeT = Aws::String>
174 template <
typename DnsEntryT = DnsEntry>
176 m_dnsEntryHasBeenSet =
true;
177 m_dnsEntry = std::forward<DnsEntryT>(value);
179 template <
typename DnsEntryT = DnsEntry>
192 template <
typename PrivateDnsEntryT = DnsEntry>
194 m_privateDnsEntryHasBeenSet =
true;
195 m_privateDnsEntry = std::forward<PrivateDnsEntryT>(value);
197 template <
typename PrivateDnsEntryT = DnsEntry>
210 template <
typename AssociatedResourceArnT = Aws::String>
212 m_associatedResourceArnHasBeenSet =
true;
213 m_associatedResourceArn = std::forward<AssociatedResourceArnT>(value);
215 template <
typename AssociatedResourceArnT = Aws::String>
228 template <
typename ResourceConfigurationGroupArnT = Aws::String>
230 m_resourceConfigurationGroupArnHasBeenSet =
true;
231 m_resourceConfigurationGroupArn = std::forward<ResourceConfigurationGroupArnT>(value);
233 template <
typename ResourceConfigurationGroupArnT = Aws::String>
246 template <
typename TagsT = Aws::Vector<Tag>>
248 m_tagsHasBeenSet =
true;
249 m_tags = std::forward<TagsT>(value);
251 template <
typename TagsT = Aws::Vector<Tag>>
253 SetTags(std::forward<TagsT>(value));
256 template <
typename TagsT = Tag>
258 m_tagsHasBeenSet =
true;
259 m_tags.emplace_back(std::forward<TagsT>(value));
287 bool m_idHasBeenSet =
false;
288 bool m_vpcEndpointIdHasBeenSet =
false;
289 bool m_serviceNetworkArnHasBeenSet =
false;
290 bool m_serviceNetworkNameHasBeenSet =
false;
291 bool m_associatedResourceAccessibilityHasBeenSet =
false;
292 bool m_failureReasonHasBeenSet =
false;
293 bool m_failureCodeHasBeenSet =
false;
294 bool m_dnsEntryHasBeenSet =
false;
295 bool m_privateDnsEntryHasBeenSet =
false;
296 bool m_associatedResourceArnHasBeenSet =
false;
297 bool m_resourceConfigurationGroupArnHasBeenSet =
false;
298 bool m_tagsHasBeenSet =
false;
VpcEndpointAssociation & WithResourceConfigurationGroupArn(ResourceConfigurationGroupArnT &&value)
AWS_EC2_API VpcEndpointAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAssociatedResourceArn(AssociatedResourceArnT &&value)
bool DnsEntryHasBeenSet() const
const Aws::String & GetServiceNetworkName() const
bool IdHasBeenSet() const
bool PrivateDnsEntryHasBeenSet() const
bool AssociatedResourceAccessibilityHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetAssociatedResourceArn() const
const Aws::String & GetServiceNetworkArn() const
VpcEndpointAssociation & AddTags(TagsT &&value)
bool AssociatedResourceArnHasBeenSet() const
const Aws::String & GetFailureCode() const
bool ResourceConfigurationGroupArnHasBeenSet() const
VpcEndpointAssociation & WithPrivateDnsEntry(PrivateDnsEntryT &&value)
VpcEndpointAssociation & WithAssociatedResourceArn(AssociatedResourceArnT &&value)
VpcEndpointAssociation & WithFailureCode(FailureCodeT &&value)
VpcEndpointAssociation & WithAssociatedResourceAccessibility(AssociatedResourceAccessibilityT &&value)
const Aws::String & GetId() const
bool TagsHasBeenSet() const
const DnsEntry & GetDnsEntry() const
void SetResourceConfigurationGroupArn(ResourceConfigurationGroupArnT &&value)
VpcEndpointAssociation & WithFailureReason(FailureReasonT &&value)
void SetDnsEntry(DnsEntryT &&value)
VpcEndpointAssociation & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
bool ServiceNetworkArnHasBeenSet() const
bool VpcEndpointIdHasBeenSet() const
const DnsEntry & GetPrivateDnsEntry() const
VpcEndpointAssociation & WithDnsEntry(DnsEntryT &&value)
void SetServiceNetworkArn(ServiceNetworkArnT &&value)
void SetServiceNetworkName(ServiceNetworkNameT &&value)
void SetPrivateDnsEntry(PrivateDnsEntryT &&value)
const Aws::String & GetResourceConfigurationGroupArn() const
const Aws::String & GetVpcEndpointId() const
VpcEndpointAssociation & WithId(IdT &&value)
VpcEndpointAssociation & WithVpcEndpointId(VpcEndpointIdT &&value)
void SetAssociatedResourceAccessibility(AssociatedResourceAccessibilityT &&value)
bool FailureReasonHasBeenSet() const
VpcEndpointAssociation & WithServiceNetworkArn(ServiceNetworkArnT &&value)
AWS_EC2_API VpcEndpointAssociation()=default
AWS_EC2_API VpcEndpointAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool FailureCodeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ServiceNetworkNameHasBeenSet() const
void SetFailureCode(FailureCodeT &&value)
const Aws::String & GetAssociatedResourceAccessibility() const
void SetVpcEndpointId(VpcEndpointIdT &&value)
void SetFailureReason(FailureReasonT &&value)
VpcEndpointAssociation & WithServiceNetworkName(ServiceNetworkNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetFailureReason() 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