/** * 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 ElasticsearchService { namespace Endpoint { using EndpointParameters = Aws::Endpoint::EndpointParameters; using Aws::Endpoint::EndpointProviderBase; using Aws::Endpoint::DefaultEndpointProvider; using ElasticsearchServiceClientContextParameters = Aws::Endpoint::ClientContextParameters; using ElasticsearchServiceClientConfiguration = Aws::Client::GenericClientConfiguration; using ElasticsearchServiceBuiltInParameters = Aws::Endpoint::BuiltInParameters; /** * The type for the ElasticsearchService 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 ElasticsearchServiceEndpointProviderBase = EndpointProviderBase; using ElasticsearchServiceDefaultEpProviderBase = DefaultEndpointProvider; /** * Default endpoint provider used for this service */ class AWS_ELASTICSEARCHSERVICE_API ElasticsearchServiceEndpointProvider : public ElasticsearchServiceDefaultEpProviderBase { public: using ElasticsearchServiceResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; ElasticsearchServiceEndpointProvider() : ElasticsearchServiceDefaultEpProviderBase(Aws::ElasticsearchService::ElasticsearchServiceEndpointRules::GetRulesBlob(), Aws::ElasticsearchService::ElasticsearchServiceEndpointRules::RulesBlobSize) {} ~ElasticsearchServiceEndpointProvider() { } }; } // namespace Endpoint } // namespace ElasticsearchService } // namespace Aws