/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace EC2 { namespace Endpoint { using EndpointParameters = Aws::Endpoint::EndpointParameters; using Aws::Endpoint::EndpointProviderBase; using Aws::Endpoint::DefaultEndpointProvider; using EC2ClientContextParameters = Aws::Endpoint::ClientContextParameters; using EC2ClientConfiguration = Aws::Client::GenericClientConfiguration; using EC2BuiltInParameters = Aws::Endpoint::BuiltInParameters; /** * The type for the EC2 Client Endpoint Provider. * Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider. * The SDK must use service-specific type for each service per specification. */ using EC2EndpointProviderBase = EndpointProviderBase; using EC2DefaultEpProviderBase = DefaultEndpointProvider; /** * Default endpoint provider used for this service */ class AWS_EC2_API EC2EndpointProvider : public EC2DefaultEpProviderBase { public: using EC2ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; EC2EndpointProvider() : EC2DefaultEpProviderBase(Aws::EC2::EC2EndpointRules::GetRulesBlob(), Aws::EC2::EC2EndpointRules::RulesBlobSize) {} ~EC2EndpointProvider() { } }; } // namespace Endpoint } // namespace EC2 } // namespace Aws