/** * 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 SavingsPlans { namespace Endpoint { using EndpointParameters = Aws::Endpoint::EndpointParameters; using Aws::Endpoint::EndpointProviderBase; using Aws::Endpoint::DefaultEndpointProvider; using SavingsPlansClientContextParameters = Aws::Endpoint::ClientContextParameters; using SavingsPlansClientConfiguration = Aws::Client::GenericClientConfiguration; using SavingsPlansBuiltInParameters = Aws::Endpoint::BuiltInParameters; /** * The type for the SavingsPlans 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 SavingsPlansEndpointProviderBase = EndpointProviderBase; using SavingsPlansDefaultEpProviderBase = DefaultEndpointProvider; /** * Default endpoint provider used for this service */ class AWS_SAVINGSPLANS_API SavingsPlansEndpointProvider : public SavingsPlansDefaultEpProviderBase { public: using SavingsPlansResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; SavingsPlansEndpointProvider() : SavingsPlansDefaultEpProviderBase(Aws::SavingsPlans::SavingsPlansEndpointRules::GetRulesBlob(), Aws::SavingsPlans::SavingsPlansEndpointRules::RulesBlobSize) {} ~SavingsPlansEndpointProvider() { } }; } // namespace Endpoint } // namespace SavingsPlans } // namespace Aws