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/DnsEntry.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename VpcEndpo
intIdT = Aws::String>
65 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
66 template<
typename VpcEndpo
intIdT = Aws::String>
76 template<
typename ServiceNetworkArnT = Aws::String>
77 void SetServiceNetworkArn(ServiceNetworkArnT&& value) { m_serviceNetworkArnHasBeenSet =
true; m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value); }
78 template<
typename ServiceNetworkArnT = Aws::String>
88 template<
typename ServiceNetworkNameT = Aws::String>
89 void SetServiceNetworkName(ServiceNetworkNameT&& value) { m_serviceNetworkNameHasBeenSet =
true; m_serviceNetworkName = std::forward<ServiceNetworkNameT>(value); }
90 template<
typename ServiceNetworkNameT = Aws::String>
102 template<
typename AssociatedResourceAccessibilityT = Aws::String>
103 void SetAssociatedResourceAccessibility(AssociatedResourceAccessibilityT&& value) { m_associatedResourceAccessibilityHasBeenSet =
true; m_associatedResourceAccessibility = std::forward<AssociatedResourceAccessibilityT>(value); }
104 template<
typename AssociatedResourceAccessibilityT = Aws::String>
114 template<
typename FailureReasonT = Aws::String>
115 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
116 template<
typename FailureReasonT = Aws::String>
126 template<
typename FailureCodeT = Aws::String>
127 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet =
true; m_failureCode = std::forward<FailureCodeT>(value); }
128 template<
typename FailureCodeT = Aws::String>
138 template<
typename DnsEntryT = DnsEntry>
139 void SetDnsEntry(DnsEntryT&& value) { m_dnsEntryHasBeenSet =
true; m_dnsEntry = std::forward<DnsEntryT>(value); }
140 template<
typename DnsEntryT = DnsEntry>
150 template<
typename PrivateDnsEntryT = DnsEntry>
151 void SetPrivateDnsEntry(PrivateDnsEntryT&& value) { m_privateDnsEntryHasBeenSet =
true; m_privateDnsEntry = std::forward<PrivateDnsEntryT>(value); }
152 template<
typename PrivateDnsEntryT = DnsEntry>
162 template<
typename AssociatedResourceArnT = Aws::String>
163 void SetAssociatedResourceArn(AssociatedResourceArnT&& value) { m_associatedResourceArnHasBeenSet =
true; m_associatedResourceArn = std::forward<AssociatedResourceArnT>(value); }
164 template<
typename AssociatedResourceArnT = Aws::String>
174 template<
typename ResourceConfigurationGroupArnT = Aws::String>
175 void SetResourceConfigurationGroupArn(ResourceConfigurationGroupArnT&& value) { m_resourceConfigurationGroupArnHasBeenSet =
true; m_resourceConfigurationGroupArn = std::forward<ResourceConfigurationGroupArnT>(value); }
176 template<
typename ResourceConfigurationGroupArnT = Aws::String>
186 template<
typename TagsT = Aws::Vector<Tag>>
187 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
188 template<
typename TagsT = Aws::Vector<Tag>>
190 template<
typename TagsT = Tag>
196 bool m_idHasBeenSet =
false;
199 bool m_vpcEndpointIdHasBeenSet =
false;
202 bool m_serviceNetworkArnHasBeenSet =
false;
205 bool m_serviceNetworkNameHasBeenSet =
false;
208 bool m_associatedResourceAccessibilityHasBeenSet =
false;
211 bool m_failureReasonHasBeenSet =
false;
214 bool m_failureCodeHasBeenSet =
false;
217 bool m_dnsEntryHasBeenSet =
false;
220 bool m_privateDnsEntryHasBeenSet =
false;
223 bool m_associatedResourceArnHasBeenSet =
false;
226 bool m_resourceConfigurationGroupArnHasBeenSet =
false;
229 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