/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace AmplifyUIBuilder
{
/**
* The Amplify UI Builder API provides a programmatic interface for creating and
* configuring user interface (UI) component libraries and themes for use in your
* Amplify applications. You can then connect these UI components to an
* application's backend Amazon Web Services resources.
You can also use the
* Amplify Studio visual designer to create UI components and model data for an
* app. For more information, see Introduction in the
* Amplify Docs.
The Amplify Framework is a comprehensive set of
* SDKs, libraries, tools, and documentation for client app development. For more
* information, see the Amplify Framework.
* For more information about deploying an Amplify application to Amazon Web
* Services, see the Amplify
* User Guide.
*/
class AWS_AMPLIFYUIBUILDER_API AmplifyUIBuilderClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* SERVICE_NAME;
static const char* ALLOCATION_TAG;
typedef AmplifyUIBuilderClientConfiguration ClientConfigurationType;
typedef AmplifyUIBuilderEndpointProvider EndpointProviderType;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyUIBuilderClient(const Aws::AmplifyUIBuilder::AmplifyUIBuilderClientConfiguration& clientConfiguration = Aws::AmplifyUIBuilder::AmplifyUIBuilderClientConfiguration(),
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG));
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyUIBuilderClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::AmplifyUIBuilder::AmplifyUIBuilderClientConfiguration& clientConfiguration = Aws::AmplifyUIBuilder::AmplifyUIBuilderClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
AmplifyUIBuilderClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::AmplifyUIBuilder::AmplifyUIBuilderClientConfiguration& clientConfiguration = Aws::AmplifyUIBuilder::AmplifyUIBuilderClientConfiguration());
/* Legacy constructors due deprecation */
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyUIBuilderClient(const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyUIBuilderClient(const Aws::Auth::AWSCredentials& credentials,
const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
AmplifyUIBuilderClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~AmplifyUIBuilderClient();
/**
* Creates a new component for an Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::CreateComponentOutcome CreateComponent(const Model::CreateComponentRequest& request) const;
/**
* A Callable wrapper for CreateComponent that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateComponentOutcomeCallable CreateComponentCallable(const CreateComponentRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::CreateComponent, request);
}
/**
* An Async wrapper for CreateComponent that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateComponentAsync(const CreateComponentRequestT& request, const CreateComponentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::CreateComponent, request, handler, context);
}
/**
* Creates a new form for an Amplify.
See Also:
AWS
* API Reference
*/
virtual Model::CreateFormOutcome CreateForm(const Model::CreateFormRequest& request) const;
/**
* A Callable wrapper for CreateForm that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateFormOutcomeCallable CreateFormCallable(const CreateFormRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::CreateForm, request);
}
/**
* An Async wrapper for CreateForm that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateFormAsync(const CreateFormRequestT& request, const CreateFormResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::CreateForm, request, handler, context);
}
/**
* Creates a theme to apply to the components in an Amplify app.
See
* Also:
AWS
* API Reference
*/
virtual Model::CreateThemeOutcome CreateTheme(const Model::CreateThemeRequest& request) const;
/**
* A Callable wrapper for CreateTheme that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateThemeOutcomeCallable CreateThemeCallable(const CreateThemeRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::CreateTheme, request);
}
/**
* An Async wrapper for CreateTheme that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateThemeAsync(const CreateThemeRequestT& request, const CreateThemeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::CreateTheme, request, handler, context);
}
/**
* Deletes a component from an Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteComponentOutcome DeleteComponent(const Model::DeleteComponentRequest& request) const;
/**
* A Callable wrapper for DeleteComponent that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteComponentOutcomeCallable DeleteComponentCallable(const DeleteComponentRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::DeleteComponent, request);
}
/**
* An Async wrapper for DeleteComponent that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteComponentAsync(const DeleteComponentRequestT& request, const DeleteComponentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::DeleteComponent, request, handler, context);
}
/**
* Deletes a form from an Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteFormOutcome DeleteForm(const Model::DeleteFormRequest& request) const;
/**
* A Callable wrapper for DeleteForm that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteFormOutcomeCallable DeleteFormCallable(const DeleteFormRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::DeleteForm, request);
}
/**
* An Async wrapper for DeleteForm that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteFormAsync(const DeleteFormRequestT& request, const DeleteFormResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::DeleteForm, request, handler, context);
}
/**
* Deletes a theme from an Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteThemeOutcome DeleteTheme(const Model::DeleteThemeRequest& request) const;
/**
* A Callable wrapper for DeleteTheme that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteThemeOutcomeCallable DeleteThemeCallable(const DeleteThemeRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::DeleteTheme, request);
}
/**
* An Async wrapper for DeleteTheme that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteThemeAsync(const DeleteThemeRequestT& request, const DeleteThemeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::DeleteTheme, request, handler, context);
}
/**
* Exchanges an access code for a token.
See Also:
AWS
* API Reference
*/
virtual Model::ExchangeCodeForTokenOutcome ExchangeCodeForToken(const Model::ExchangeCodeForTokenRequest& request) const;
/**
* A Callable wrapper for ExchangeCodeForToken that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ExchangeCodeForTokenOutcomeCallable ExchangeCodeForTokenCallable(const ExchangeCodeForTokenRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ExchangeCodeForToken, request);
}
/**
* An Async wrapper for ExchangeCodeForToken that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ExchangeCodeForTokenAsync(const ExchangeCodeForTokenRequestT& request, const ExchangeCodeForTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ExchangeCodeForToken, request, handler, context);
}
/**
* Exports component configurations to code that is ready to integrate into an
* Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::ExportComponentsOutcome ExportComponents(const Model::ExportComponentsRequest& request) const;
/**
* A Callable wrapper for ExportComponents that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ExportComponentsOutcomeCallable ExportComponentsCallable(const ExportComponentsRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ExportComponents, request);
}
/**
* An Async wrapper for ExportComponents that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ExportComponentsAsync(const ExportComponentsRequestT& request, const ExportComponentsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ExportComponents, request, handler, context);
}
/**
* Exports form configurations to code that is ready to integrate into an
* Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::ExportFormsOutcome ExportForms(const Model::ExportFormsRequest& request) const;
/**
* A Callable wrapper for ExportForms that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ExportFormsOutcomeCallable ExportFormsCallable(const ExportFormsRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ExportForms, request);
}
/**
* An Async wrapper for ExportForms that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ExportFormsAsync(const ExportFormsRequestT& request, const ExportFormsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ExportForms, request, handler, context);
}
/**
* Exports theme configurations to code that is ready to integrate into an
* Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::ExportThemesOutcome ExportThemes(const Model::ExportThemesRequest& request) const;
/**
* A Callable wrapper for ExportThemes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ExportThemesOutcomeCallable ExportThemesCallable(const ExportThemesRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ExportThemes, request);
}
/**
* An Async wrapper for ExportThemes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ExportThemesAsync(const ExportThemesRequestT& request, const ExportThemesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ExportThemes, request, handler, context);
}
/**
* Returns an existing code generation job.
See Also:
AWS
* API Reference
*/
virtual Model::GetCodegenJobOutcome GetCodegenJob(const Model::GetCodegenJobRequest& request) const;
/**
* A Callable wrapper for GetCodegenJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetCodegenJobOutcomeCallable GetCodegenJobCallable(const GetCodegenJobRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::GetCodegenJob, request);
}
/**
* An Async wrapper for GetCodegenJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetCodegenJobAsync(const GetCodegenJobRequestT& request, const GetCodegenJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::GetCodegenJob, request, handler, context);
}
/**
* Returns an existing component for an Amplify app.
See Also:
* AWS
* API Reference
*/
virtual Model::GetComponentOutcome GetComponent(const Model::GetComponentRequest& request) const;
/**
* A Callable wrapper for GetComponent that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetComponentOutcomeCallable GetComponentCallable(const GetComponentRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::GetComponent, request);
}
/**
* An Async wrapper for GetComponent that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetComponentAsync(const GetComponentRequestT& request, const GetComponentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::GetComponent, request, handler, context);
}
/**
* Returns an existing form for an Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::GetFormOutcome GetForm(const Model::GetFormRequest& request) const;
/**
* A Callable wrapper for GetForm that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetFormOutcomeCallable GetFormCallable(const GetFormRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::GetForm, request);
}
/**
* An Async wrapper for GetForm that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetFormAsync(const GetFormRequestT& request, const GetFormResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::GetForm, request, handler, context);
}
/**
* Returns existing metadata for an Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::GetMetadataOutcome GetMetadata(const Model::GetMetadataRequest& request) const;
/**
* A Callable wrapper for GetMetadata that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetMetadataOutcomeCallable GetMetadataCallable(const GetMetadataRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::GetMetadata, request);
}
/**
* An Async wrapper for GetMetadata that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetMetadataAsync(const GetMetadataRequestT& request, const GetMetadataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::GetMetadata, request, handler, context);
}
/**
* Returns an existing theme for an Amplify app.
See Also:
AWS
* API Reference
*/
virtual Model::GetThemeOutcome GetTheme(const Model::GetThemeRequest& request) const;
/**
* A Callable wrapper for GetTheme that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetThemeOutcomeCallable GetThemeCallable(const GetThemeRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::GetTheme, request);
}
/**
* An Async wrapper for GetTheme that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetThemeAsync(const GetThemeRequestT& request, const GetThemeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::GetTheme, request, handler, context);
}
/**
* Retrieves a list of code generation jobs for a specified Amplify app and
* backend environment.
See Also:
AWS
* API Reference
*/
virtual Model::ListCodegenJobsOutcome ListCodegenJobs(const Model::ListCodegenJobsRequest& request) const;
/**
* A Callable wrapper for ListCodegenJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListCodegenJobsOutcomeCallable ListCodegenJobsCallable(const ListCodegenJobsRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ListCodegenJobs, request);
}
/**
* An Async wrapper for ListCodegenJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListCodegenJobsAsync(const ListCodegenJobsRequestT& request, const ListCodegenJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ListCodegenJobs, request, handler, context);
}
/**
* Retrieves a list of components for a specified Amplify app and backend
* environment.
See Also:
AWS
* API Reference
*/
virtual Model::ListComponentsOutcome ListComponents(const Model::ListComponentsRequest& request) const;
/**
* A Callable wrapper for ListComponents that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListComponentsOutcomeCallable ListComponentsCallable(const ListComponentsRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ListComponents, request);
}
/**
* An Async wrapper for ListComponents that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListComponentsAsync(const ListComponentsRequestT& request, const ListComponentsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ListComponents, request, handler, context);
}
/**
* Retrieves a list of forms for a specified Amplify app and backend
* environment.
See Also:
AWS
* API Reference
*/
virtual Model::ListFormsOutcome ListForms(const Model::ListFormsRequest& request) const;
/**
* A Callable wrapper for ListForms that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListFormsOutcomeCallable ListFormsCallable(const ListFormsRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ListForms, request);
}
/**
* An Async wrapper for ListForms that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListFormsAsync(const ListFormsRequestT& request, const ListFormsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ListForms, request, handler, context);
}
/**
* Retrieves a list of themes for a specified Amplify app and backend
* environment.
See Also:
AWS
* API Reference
*/
virtual Model::ListThemesOutcome ListThemes(const Model::ListThemesRequest& request) const;
/**
* A Callable wrapper for ListThemes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListThemesOutcomeCallable ListThemesCallable(const ListThemesRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::ListThemes, request);
}
/**
* An Async wrapper for ListThemes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListThemesAsync(const ListThemesRequestT& request, const ListThemesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::ListThemes, request, handler, context);
}
/**
* Stores the metadata information about a feature on a form.
See
* Also:
AWS
* API Reference
*/
virtual Model::PutMetadataFlagOutcome PutMetadataFlag(const Model::PutMetadataFlagRequest& request) const;
/**
* A Callable wrapper for PutMetadataFlag that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PutMetadataFlagOutcomeCallable PutMetadataFlagCallable(const PutMetadataFlagRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::PutMetadataFlag, request);
}
/**
* An Async wrapper for PutMetadataFlag that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PutMetadataFlagAsync(const PutMetadataFlagRequestT& request, const PutMetadataFlagResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::PutMetadataFlag, request, handler, context);
}
/**
* Refreshes a previously issued access token that might have
* expired.
See Also:
AWS
* API Reference
*/
virtual Model::RefreshTokenOutcome RefreshToken(const Model::RefreshTokenRequest& request) const;
/**
* A Callable wrapper for RefreshToken that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::RefreshTokenOutcomeCallable RefreshTokenCallable(const RefreshTokenRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::RefreshToken, request);
}
/**
* An Async wrapper for RefreshToken that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void RefreshTokenAsync(const RefreshTokenRequestT& request, const RefreshTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::RefreshToken, request, handler, context);
}
/**
* Starts a code generation job for for a specified Amplify app and backend
* environment.
See Also:
AWS
* API Reference
*/
virtual Model::StartCodegenJobOutcome StartCodegenJob(const Model::StartCodegenJobRequest& request) const;
/**
* A Callable wrapper for StartCodegenJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartCodegenJobOutcomeCallable StartCodegenJobCallable(const StartCodegenJobRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::StartCodegenJob, request);
}
/**
* An Async wrapper for StartCodegenJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartCodegenJobAsync(const StartCodegenJobRequestT& request, const StartCodegenJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::StartCodegenJob, request, handler, context);
}
/**
* Updates an existing component.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateComponentOutcome UpdateComponent(const Model::UpdateComponentRequest& request) const;
/**
* A Callable wrapper for UpdateComponent that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateComponentOutcomeCallable UpdateComponentCallable(const UpdateComponentRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::UpdateComponent, request);
}
/**
* An Async wrapper for UpdateComponent that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateComponentAsync(const UpdateComponentRequestT& request, const UpdateComponentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::UpdateComponent, request, handler, context);
}
/**
* Updates an existing form.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateFormOutcome UpdateForm(const Model::UpdateFormRequest& request) const;
/**
* A Callable wrapper for UpdateForm that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateFormOutcomeCallable UpdateFormCallable(const UpdateFormRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::UpdateForm, request);
}
/**
* An Async wrapper for UpdateForm that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateFormAsync(const UpdateFormRequestT& request, const UpdateFormResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::UpdateForm, request, handler, context);
}
/**
* Updates an existing theme.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateThemeOutcome UpdateTheme(const Model::UpdateThemeRequest& request) const;
/**
* A Callable wrapper for UpdateTheme that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateThemeOutcomeCallable UpdateThemeCallable(const UpdateThemeRequestT& request) const
{
return SubmitCallable(&AmplifyUIBuilderClient::UpdateTheme, request);
}
/**
* An Async wrapper for UpdateTheme that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateThemeAsync(const UpdateThemeRequestT& request, const UpdateThemeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyUIBuilderClient::UpdateTheme, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const AmplifyUIBuilderClientConfiguration& clientConfiguration);
AmplifyUIBuilderClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace AmplifyUIBuilder
} // namespace Aws