7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/ServiceState.h>
12#include <aws/ec2/model/PrivateDnsNameConfiguration.h>
13#include <aws/ec2/model/PayerResponsibility.h>
14#include <aws/ec2/model/ServiceTypeDetail.h>
15#include <aws/ec2/model/ServiceConnectivityType.h>
16#include <aws/ec2/model/Tag.h>
72 inline void SetServiceId(
const char* value) { m_serviceIdHasBeenSet =
true; m_serviceId.assign(value); }
86 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
126 inline void SetAcceptanceRequired(
bool value) { m_acceptanceRequiredHasBeenSet =
true; m_acceptanceRequired = value; }
137 inline void SetManagesVpcEndpoints(
bool value) { m_managesVpcEndpointsHasBeenSet =
true; m_managesVpcEndpoints = value; }
210 inline void SetPrivateDnsName(
const char* value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName.assign(value); }
256 bool m_serviceTypeHasBeenSet =
false;
259 bool m_serviceIdHasBeenSet =
false;
262 bool m_serviceNameHasBeenSet =
false;
265 bool m_serviceStateHasBeenSet =
false;
268 bool m_availabilityZonesHasBeenSet =
false;
270 bool m_acceptanceRequired;
271 bool m_acceptanceRequiredHasBeenSet =
false;
273 bool m_managesVpcEndpoints;
274 bool m_managesVpcEndpointsHasBeenSet =
false;
277 bool m_networkLoadBalancerArnsHasBeenSet =
false;
280 bool m_gatewayLoadBalancerArnsHasBeenSet =
false;
283 bool m_supportedIpAddressTypesHasBeenSet =
false;
286 bool m_baseEndpointDnsNamesHasBeenSet =
false;
289 bool m_privateDnsNameHasBeenSet =
false;
292 bool m_privateDnsNameConfigurationHasBeenSet =
false;
295 bool m_payerResponsibilityHasBeenSet =
false;
298 bool m_tagsHasBeenSet =
false;
const Aws::String & GetServiceName() const
ServiceConfiguration & WithServiceName(const Aws::String &value)
ServiceConfiguration & WithServiceName(Aws::String &&value)
void SetNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
const Aws::String & GetPrivateDnsName() const
ServiceConfiguration & AddAvailabilityZones(const Aws::String &value)
void SetServiceType(Aws::Vector< ServiceTypeDetail > &&value)
const Aws::Vector< ServiceConnectivityType > & GetSupportedIpAddressTypes() const
bool ServiceIdHasBeenSet() const
ServiceConfiguration & WithTags(Aws::Vector< Tag > &&value)
ServiceConfiguration & AddAvailabilityZones(Aws::String &&value)
ServiceConfiguration & AddGatewayLoadBalancerArns(const char *value)
void SetPayerResponsibility(const PayerResponsibility &value)
bool AcceptanceRequiredHasBeenSet() const
bool PrivateDnsNameConfigurationHasBeenSet() const
ServiceConfiguration & AddBaseEndpointDnsNames(const Aws::String &value)
ServiceConfiguration & WithNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetBaseEndpointDnsNames() const
const Aws::Vector< ServiceTypeDetail > & GetServiceType() const
void SetPrivateDnsName(Aws::String &&value)
bool AvailabilityZonesHasBeenSet() const
ServiceConfiguration & WithPayerResponsibility(PayerResponsibility &&value)
ServiceConfiguration & WithPrivateDnsNameConfiguration(const PrivateDnsNameConfiguration &value)
ServiceConfiguration & WithPrivateDnsName(const Aws::String &value)
ServiceConfiguration & AddNetworkLoadBalancerArns(const char *value)
ServiceConfiguration & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
ServiceConfiguration & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
bool ServiceTypeHasBeenSet() const
bool GetManagesVpcEndpoints() const
ServiceConfiguration & WithManagesVpcEndpoints(bool value)
ServiceConfiguration & AddSupportedIpAddressTypes(ServiceConnectivityType &&value)
AWS_EC2_API ServiceConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceConfiguration & AddServiceType(ServiceTypeDetail &&value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
ServiceConfiguration & WithAcceptanceRequired(bool value)
void SetPrivateDnsName(const Aws::String &value)
ServiceConfiguration & WithServiceState(const ServiceState &value)
const Aws::Vector< Aws::String > & GetGatewayLoadBalancerArns() const
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
const ServiceState & GetServiceState() const
void SetServiceName(const char *value)
ServiceConfiguration & AddNetworkLoadBalancerArns(const Aws::String &value)
bool ManagesVpcEndpointsHasBeenSet() const
const PayerResponsibility & GetPayerResponsibility() const
ServiceConfiguration & AddSupportedIpAddressTypes(const ServiceConnectivityType &value)
ServiceConfiguration & WithServiceType(Aws::Vector< ServiceTypeDetail > &&value)
void SetPrivateDnsNameConfiguration(PrivateDnsNameConfiguration &&value)
bool ServiceNameHasBeenSet() const
ServiceConfiguration & WithGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Tag > & GetTags() const
void SetServiceId(Aws::String &&value)
bool BaseEndpointDnsNamesHasBeenSet() const
ServiceConfiguration & WithBaseEndpointDnsNames(Aws::Vector< Aws::String > &&value)
bool PayerResponsibilityHasBeenSet() const
ServiceConfiguration & WithPrivateDnsName(const char *value)
void SetServiceState(const ServiceState &value)
ServiceConfiguration & WithTags(const Aws::Vector< Tag > &value)
void SetBaseEndpointDnsNames(Aws::Vector< Aws::String > &&value)
void SetSupportedIpAddressTypes(const Aws::Vector< ServiceConnectivityType > &value)
bool GatewayLoadBalancerArnsHasBeenSet() const
void SetPrivateDnsName(const char *value)
ServiceConfiguration & WithPrivateDnsNameConfiguration(PrivateDnsNameConfiguration &&value)
void SetNetworkLoadBalancerArns(Aws::Vector< Aws::String > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServiceConfiguration & AddTags(Tag &&value)
bool TagsHasBeenSet() const
ServiceConfiguration & WithPayerResponsibility(const PayerResponsibility &value)
ServiceConfiguration & AddTags(const Tag &value)
ServiceConfiguration & AddGatewayLoadBalancerArns(Aws::String &&value)
const Aws::Vector< Aws::String > & GetNetworkLoadBalancerArns() const
ServiceConfiguration & AddBaseEndpointDnsNames(const char *value)
ServiceConfiguration & WithPrivateDnsName(Aws::String &&value)
ServiceConfiguration & AddBaseEndpointDnsNames(Aws::String &&value)
ServiceConfiguration & WithBaseEndpointDnsNames(const Aws::Vector< Aws::String > &value)
bool PrivateDnsNameHasBeenSet() const
ServiceConfiguration & WithServiceName(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ServiceConfiguration & WithNetworkLoadBalancerArns(const Aws::Vector< Aws::String > &value)
void SetServiceState(ServiceState &&value)
void SetServiceId(const char *value)
bool GetAcceptanceRequired() const
ServiceConfiguration & WithSupportedIpAddressTypes(Aws::Vector< ServiceConnectivityType > &&value)
void SetSupportedIpAddressTypes(Aws::Vector< ServiceConnectivityType > &&value)
void SetGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
ServiceConfiguration & WithGatewayLoadBalancerArns(Aws::Vector< Aws::String > &&value)
void SetServiceName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
bool NetworkLoadBalancerArnsHasBeenSet() const
bool ServiceStateHasBeenSet() const
void SetManagesVpcEndpoints(bool value)
const PrivateDnsNameConfiguration & GetPrivateDnsNameConfiguration() const
ServiceConfiguration & AddGatewayLoadBalancerArns(const Aws::String &value)
void SetAcceptanceRequired(bool value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetServiceId() const
ServiceConfiguration & WithServiceId(Aws::String &&value)
void SetBaseEndpointDnsNames(const Aws::Vector< Aws::String > &value)
ServiceConfiguration & AddNetworkLoadBalancerArns(Aws::String &&value)
void SetServiceId(const Aws::String &value)
bool SupportedIpAddressTypesHasBeenSet() const
AWS_EC2_API ServiceConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceConfiguration & WithSupportedIpAddressTypes(const Aws::Vector< ServiceConnectivityType > &value)
ServiceConfiguration & WithServiceId(const char *value)
ServiceConfiguration & AddAvailabilityZones(const char *value)
ServiceConfiguration & WithServiceState(ServiceState &&value)
void SetServiceType(const Aws::Vector< ServiceTypeDetail > &value)
ServiceConfiguration & WithServiceId(const Aws::String &value)
void SetGatewayLoadBalancerArns(const Aws::Vector< Aws::String > &value)
ServiceConfiguration & AddServiceType(const ServiceTypeDetail &value)
void SetServiceName(Aws::String &&value)
ServiceConfiguration & WithServiceType(const Aws::Vector< ServiceTypeDetail > &value)
AWS_EC2_API ServiceConfiguration()
void SetPrivateDnsNameConfiguration(const PrivateDnsNameConfiguration &value)
void SetPayerResponsibility(PayerResponsibility &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() 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