7#include <aws/sso/SSO_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/sso/SSOServiceClientModel.h>
52 std::shared_ptr<SSOEndpointProviderBase> endpointProvider =
nullptr);
59 std::shared_ptr<SSOEndpointProviderBase> endpointProvider =
nullptr,
66 SSOClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
67 std::shared_ptr<SSOEndpointProviderBase> endpointProvider =
nullptr,
89 SSOClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
106 template<
typename GetRoleCredentialsRequestT = Model::GetRoleCredentialsRequest>
109 return SubmitCallable(&SSOClient::GetRoleCredentials, request);
115 template<
typename GetRoleCredentialsRequestT = Model::GetRoleCredentialsRequest>
118 return SubmitAsync(&SSOClient::GetRoleCredentials, request, handler, context);
132 template<
typename ListAccountRolesRequestT = Model::ListAccountRolesRequest>
135 return SubmitCallable(&SSOClient::ListAccountRoles, request);
141 template<
typename ListAccountRolesRequestT = Model::ListAccountRolesRequest>
144 return SubmitAsync(&SSOClient::ListAccountRoles, request, handler, context);
161 template<
typename ListAccountsRequestT = Model::ListAccountsRequest>
164 return SubmitCallable(&SSOClient::ListAccounts, request);
170 template<
typename ListAccountsRequestT = Model::ListAccountsRequest>
173 return SubmitAsync(&SSOClient::ListAccounts, request, handler, context);
199 template<
typename LogoutRequestT = Model::LogoutRequest>
202 return SubmitCallable(&SSOClient::Logout, request);
208 template<
typename LogoutRequestT = Model::LogoutRequest>
211 return SubmitAsync(&SSOClient::Logout, request, handler, context);
222 std::shared_ptr<SSOEndpointProviderBase> m_endpointProvider;
virtual Model::ListAccountRolesOutcome ListAccountRoles(const Model::ListAccountRolesRequest &request) const
SSOClientConfiguration ClientConfigurationType
std::shared_ptr< SSOEndpointProviderBase > & accessEndpointProvider()
void LogoutAsync(const LogoutRequestT &request, const LogoutResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListAccountsOutcome ListAccounts(const Model::ListAccountsRequest &request) const
void ListAccountsAsync(const ListAccountsRequestT &request, const ListAccountsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SSOClient(const Aws::Client::ClientConfiguration &clientConfiguration)
SSOClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SSOEndpointProviderBase > endpointProvider=nullptr, const Aws::SSO::SSOClientConfiguration &clientConfiguration=Aws::SSO::SSOClientConfiguration())
Model::ListAccountRolesOutcomeCallable ListAccountRolesCallable(const ListAccountRolesRequestT &request) const
virtual Model::GetRoleCredentialsOutcome GetRoleCredentials(const Model::GetRoleCredentialsRequest &request) const
static const char * GetServiceName()
SSOClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SSOEndpointProviderBase > endpointProvider=nullptr, const Aws::SSO::SSOClientConfiguration &clientConfiguration=Aws::SSO::SSOClientConfiguration())
Model::LogoutOutcomeCallable LogoutCallable(const LogoutRequestT &request) const
SSOClient(const Aws::SSO::SSOClientConfiguration &clientConfiguration=Aws::SSO::SSOClientConfiguration(), std::shared_ptr< SSOEndpointProviderBase > endpointProvider=nullptr)
void GetRoleCredentialsAsync(const GetRoleCredentialsRequestT &request, const GetRoleCredentialsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SSOEndpointProvider EndpointProviderType
virtual Model::LogoutOutcome Logout(const Model::LogoutRequest &request) const
Model::ListAccountsOutcomeCallable ListAccountsCallable(const ListAccountsRequestT &request) const
SSOClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetRoleCredentialsOutcomeCallable GetRoleCredentialsCallable(const GetRoleCredentialsRequestT &request) const
SSOClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void OverrideEndpoint(const Aws::String &endpoint)
Aws::Client::AWSJsonClient BASECLASS
static const char * GetAllocationTag()
void ListAccountRolesAsync(const ListAccountRolesRequestT &request, const ListAccountRolesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< ListAccountRolesOutcome > ListAccountRolesOutcomeCallable
std::future< ListAccountsOutcome > ListAccountsOutcomeCallable
std::future< LogoutOutcome > LogoutOutcomeCallable
std::future< GetRoleCredentialsOutcome > GetRoleCredentialsOutcomeCallable
std::function< void(const SSOClient *, const Model::GetRoleCredentialsRequest &, const Model::GetRoleCredentialsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRoleCredentialsResponseReceivedHandler
std::function< void(const SSOClient *, const Model::ListAccountsRequest &, const Model::ListAccountsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAccountsResponseReceivedHandler
std::function< void(const SSOClient *, const Model::LogoutRequest &, const Model::LogoutOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > LogoutResponseReceivedHandler
std::function< void(const SSOClient *, const Model::ListAccountRolesRequest &, const Model::ListAccountRolesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAccountRolesResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String