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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/PayerResponsibility.h>
12#include <aws/ec2/model/DnsNameState.h>
13#include <aws/ec2/model/ServiceTypeDetail.h>
14#include <aws/ec2/model/PrivateDnsDetails.h>
15#include <aws/ec2/model/Tag.h>
16#include <aws/ec2/model/ServiceConnectivityType.h>
57 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
71 inline void SetServiceId(
const char* value) { m_serviceIdHasBeenSet =
true; m_serviceId.assign(value); }
114 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
143 inline void SetPrivateDnsName(
const char* value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName.assign(value); }
180 inline void SetAcceptanceRequired(
bool value) { m_acceptanceRequiredHasBeenSet =
true; m_acceptanceRequired = value; }
191 inline void SetManagesVpcEndpoints(
bool value) { m_managesVpcEndpointsHasBeenSet =
true; m_managesVpcEndpoints = value; }
251 bool m_serviceNameHasBeenSet =
false;
254 bool m_serviceIdHasBeenSet =
false;
257 bool m_serviceTypeHasBeenSet =
false;
260 bool m_availabilityZonesHasBeenSet =
false;
263 bool m_ownerHasBeenSet =
false;
266 bool m_baseEndpointDnsNamesHasBeenSet =
false;
269 bool m_privateDnsNameHasBeenSet =
false;
272 bool m_privateDnsNamesHasBeenSet =
false;
274 bool m_vpcEndpointPolicySupported;
275 bool m_vpcEndpointPolicySupportedHasBeenSet =
false;
277 bool m_acceptanceRequired;
278 bool m_acceptanceRequiredHasBeenSet =
false;
280 bool m_managesVpcEndpoints;
281 bool m_managesVpcEndpointsHasBeenSet =
false;
284 bool m_payerResponsibilityHasBeenSet =
false;
287 bool m_tagsHasBeenSet =
false;
290 bool m_privateDnsNameVerificationStateHasBeenSet =
false;
293 bool m_supportedIpAddressTypesHasBeenSet =
false;
ServiceDetail & WithServiceName(Aws::String &&value)
ServiceDetail & WithSupportedIpAddressTypes(Aws::Vector< ServiceConnectivityType > &&value)
ServiceDetail & AddBaseEndpointDnsNames(const Aws::String &value)
ServiceDetail & AddBaseEndpointDnsNames(Aws::String &&value)
ServiceDetail & WithOwner(Aws::String &&value)
ServiceDetail & WithPrivateDnsName(const char *value)
void SetSupportedIpAddressTypes(Aws::Vector< ServiceConnectivityType > &&value)
bool PayerResponsibilityHasBeenSet() const
ServiceDetail & AddPrivateDnsNames(PrivateDnsDetails &&value)
ServiceDetail & AddPrivateDnsNames(const PrivateDnsDetails &value)
ServiceDetail & AddServiceType(const ServiceTypeDetail &value)
void SetPayerResponsibility(const PayerResponsibility &value)
bool PrivateDnsNameVerificationStateHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetOwner() const
ServiceDetail & WithServiceName(const char *value)
void SetManagesVpcEndpoints(bool value)
ServiceDetail & WithSupportedIpAddressTypes(const Aws::Vector< ServiceConnectivityType > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetServiceId(Aws::String &&value)
ServiceDetail & WithBaseEndpointDnsNames(Aws::Vector< Aws::String > &&value)
void SetServiceId(const char *value)
ServiceDetail & WithTags(const Aws::Vector< Tag > &value)
const PayerResponsibility & GetPayerResponsibility() const
void SetBaseEndpointDnsNames(const Aws::Vector< Aws::String > &value)
const Aws::String & GetServiceId() const
bool GetVpcEndpointPolicySupported() const
bool ServiceNameHasBeenSet() const
ServiceDetail & WithServiceId(const char *value)
void SetServiceName(const Aws::String &value)
void SetPrivateDnsNameVerificationState(DnsNameState &&value)
ServiceDetail & WithServiceName(const Aws::String &value)
bool AvailabilityZonesHasBeenSet() const
bool PrivateDnsNamesHasBeenSet() const
ServiceDetail & AddAvailabilityZones(const char *value)
void SetSupportedIpAddressTypes(const Aws::Vector< ServiceConnectivityType > &value)
void SetTags(const Aws::Vector< Tag > &value)
ServiceDetail & WithManagesVpcEndpoints(bool value)
void SetPrivateDnsNames(Aws::Vector< PrivateDnsDetails > &&value)
ServiceDetail & AddSupportedIpAddressTypes(const ServiceConnectivityType &value)
bool GetAcceptanceRequired() const
ServiceDetail & AddTags(const Tag &value)
ServiceDetail & WithPrivateDnsNames(Aws::Vector< PrivateDnsDetails > &&value)
void SetPrivateDnsName(Aws::String &&value)
ServiceDetail & WithVpcEndpointPolicySupported(bool value)
bool PrivateDnsNameHasBeenSet() const
ServiceDetail & WithPayerResponsibility(PayerResponsibility &&value)
ServiceDetail & WithPrivateDnsName(const Aws::String &value)
void SetVpcEndpointPolicySupported(bool value)
bool TagsHasBeenSet() const
AWS_EC2_API ServiceDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceDetail & WithServiceId(const Aws::String &value)
ServiceDetail & WithServiceType(const Aws::Vector< ServiceTypeDetail > &value)
bool ServiceIdHasBeenSet() const
ServiceDetail & AddTags(Tag &&value)
const Aws::Vector< Tag > & GetTags() const
void SetServiceName(const char *value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
ServiceDetail & AddServiceType(ServiceTypeDetail &&value)
void SetAcceptanceRequired(bool value)
bool SupportedIpAddressTypesHasBeenSet() const
const Aws::String & GetPrivateDnsName() const
void SetPrivateDnsName(const Aws::String &value)
bool BaseEndpointDnsNamesHasBeenSet() const
ServiceDetail & WithAcceptanceRequired(bool value)
const Aws::Vector< PrivateDnsDetails > & GetPrivateDnsNames() const
void SetOwner(Aws::String &&value)
void SetOwner(const Aws::String &value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
ServiceDetail & WithBaseEndpointDnsNames(const Aws::Vector< Aws::String > &value)
ServiceDetail & WithTags(Aws::Vector< Tag > &&value)
ServiceDetail & AddAvailabilityZones(const Aws::String &value)
ServiceDetail & AddBaseEndpointDnsNames(const char *value)
const DnsNameState & GetPrivateDnsNameVerificationState() const
ServiceDetail & WithOwner(const char *value)
bool VpcEndpointPolicySupportedHasBeenSet() const
ServiceDetail & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
void SetPrivateDnsNameVerificationState(const DnsNameState &value)
const Aws::Vector< ServiceConnectivityType > & GetSupportedIpAddressTypes() const
void SetPrivateDnsNames(const Aws::Vector< PrivateDnsDetails > &value)
bool GetManagesVpcEndpoints() const
void SetServiceType(const Aws::Vector< ServiceTypeDetail > &value)
ServiceDetail & WithPrivateDnsNames(const Aws::Vector< PrivateDnsDetails > &value)
void SetPrivateDnsName(const char *value)
ServiceDetail & WithPrivateDnsNameVerificationState(const DnsNameState &value)
ServiceDetail & WithServiceType(Aws::Vector< ServiceTypeDetail > &&value)
bool ManagesVpcEndpointsHasBeenSet() const
bool OwnerHasBeenSet() const
ServiceDetail & WithPrivateDnsNameVerificationState(DnsNameState &&value)
void SetTags(Aws::Vector< Tag > &&value)
ServiceDetail & WithServiceId(Aws::String &&value)
bool AcceptanceRequiredHasBeenSet() const
ServiceDetail & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
ServiceDetail & AddSupportedIpAddressTypes(ServiceConnectivityType &&value)
const Aws::Vector< ServiceTypeDetail > & GetServiceType() const
void SetServiceId(const Aws::String &value)
void SetServiceType(Aws::Vector< ServiceTypeDetail > &&value)
bool ServiceTypeHasBeenSet() const
void SetOwner(const char *value)
ServiceDetail & AddAvailabilityZones(Aws::String &&value)
const Aws::String & GetServiceName() const
ServiceDetail & WithPayerResponsibility(const PayerResponsibility &value)
ServiceDetail & WithPrivateDnsName(Aws::String &&value)
void SetServiceName(Aws::String &&value)
void SetPayerResponsibility(PayerResponsibility &&value)
const Aws::Vector< Aws::String > & GetBaseEndpointDnsNames() const
void SetBaseEndpointDnsNames(Aws::Vector< Aws::String > &&value)
AWS_EC2_API ServiceDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ServiceDetail()
ServiceDetail & WithOwner(const Aws::String &value)
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