/** * 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 MQ { namespace Endpoint { using EndpointParameters = Aws::Endpoint::EndpointParameters; using Aws::Endpoint::EndpointProviderBase; using Aws::Endpoint::DefaultEndpointProvider; using MQClientContextParameters = Aws::Endpoint::ClientContextParameters; using MQClientConfiguration = Aws::Client::GenericClientConfiguration; using MQBuiltInParameters = Aws::Endpoint::BuiltInParameters; /** * The type for the MQ 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 MQEndpointProviderBase = EndpointProviderBase; using MQDefaultEpProviderBase = DefaultEndpointProvider; /** * Default endpoint provider used for this service */ class AWS_MQ_API MQEndpointProvider : public MQDefaultEpProviderBase { public: using MQResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; MQEndpointProvider() : MQDefaultEpProviderBase(Aws::MQ::MQEndpointRules::GetRulesBlob(), Aws::MQ::MQEndpointRules::RulesBlobSize) {} ~MQEndpointProvider() { } }; } // namespace Endpoint } // namespace MQ } // namespace Aws