/**
* 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 IoTTwinMaker
{
/**
* IoT TwinMaker is a service with which you can build operational digital twins
* of physical systems. IoT TwinMaker overlays measurements and analysis from
* real-world sensors, cameras, and enterprise applications so you can create data
* visualizations to monitor your physical factory, building, or industrial plant.
* You can use this real-world data to monitor operations and diagnose and repair
* errors.
*/
class AWS_IOTTWINMAKER_API IoTTwinMakerClient : 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 IoTTwinMakerClientConfiguration ClientConfigurationType;
typedef IoTTwinMakerEndpointProvider 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.
*/
IoTTwinMakerClient(const Aws::IoTTwinMaker::IoTTwinMakerClientConfiguration& clientConfiguration = Aws::IoTTwinMaker::IoTTwinMakerClientConfiguration(),
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.
*/
IoTTwinMakerClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::IoTTwinMaker::IoTTwinMakerClientConfiguration& clientConfiguration = Aws::IoTTwinMaker::IoTTwinMakerClientConfiguration());
/**
* 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
*/
IoTTwinMakerClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::IoTTwinMaker::IoTTwinMakerClientConfiguration& clientConfiguration = Aws::IoTTwinMaker::IoTTwinMakerClientConfiguration());
/* 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.
*/
IoTTwinMakerClient(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.
*/
IoTTwinMakerClient(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
*/
IoTTwinMakerClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~IoTTwinMakerClient();
/**
* Sets values for multiple time series properties.
See Also:
* AWS
* API Reference
*/
virtual Model::BatchPutPropertyValuesOutcome BatchPutPropertyValues(const Model::BatchPutPropertyValuesRequest& request) const;
/**
* A Callable wrapper for BatchPutPropertyValues that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::BatchPutPropertyValuesOutcomeCallable BatchPutPropertyValuesCallable(const BatchPutPropertyValuesRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::BatchPutPropertyValues, request);
}
/**
* An Async wrapper for BatchPutPropertyValues that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void BatchPutPropertyValuesAsync(const BatchPutPropertyValuesRequestT& request, const BatchPutPropertyValuesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::BatchPutPropertyValues, request, handler, context);
}
/**
* Creates a component type.
See Also:
AWS
* API Reference
*/
virtual Model::CreateComponentTypeOutcome CreateComponentType(const Model::CreateComponentTypeRequest& request) const;
/**
* A Callable wrapper for CreateComponentType that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateComponentTypeOutcomeCallable CreateComponentTypeCallable(const CreateComponentTypeRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::CreateComponentType, request);
}
/**
* An Async wrapper for CreateComponentType that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateComponentTypeAsync(const CreateComponentTypeRequestT& request, const CreateComponentTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::CreateComponentType, request, handler, context);
}
/**
* Creates an entity.
See Also:
AWS
* API Reference
*/
virtual Model::CreateEntityOutcome CreateEntity(const Model::CreateEntityRequest& request) const;
/**
* A Callable wrapper for CreateEntity that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateEntityOutcomeCallable CreateEntityCallable(const CreateEntityRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::CreateEntity, request);
}
/**
* An Async wrapper for CreateEntity that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateEntityAsync(const CreateEntityRequestT& request, const CreateEntityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::CreateEntity, request, handler, context);
}
/**
* Creates a scene.
See Also:
AWS
* API Reference
*/
virtual Model::CreateSceneOutcome CreateScene(const Model::CreateSceneRequest& request) const;
/**
* A Callable wrapper for CreateScene that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateSceneOutcomeCallable CreateSceneCallable(const CreateSceneRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::CreateScene, request);
}
/**
* An Async wrapper for CreateScene that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateSceneAsync(const CreateSceneRequestT& request, const CreateSceneResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::CreateScene, request, handler, context);
}
/**
* This action creates a SyncJob.
See Also:
AWS
* API Reference
*/
virtual Model::CreateSyncJobOutcome CreateSyncJob(const Model::CreateSyncJobRequest& request) const;
/**
* A Callable wrapper for CreateSyncJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateSyncJobOutcomeCallable CreateSyncJobCallable(const CreateSyncJobRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::CreateSyncJob, request);
}
/**
* An Async wrapper for CreateSyncJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateSyncJobAsync(const CreateSyncJobRequestT& request, const CreateSyncJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::CreateSyncJob, request, handler, context);
}
/**
* Creates a workplace.
See Also:
AWS
* API Reference
*/
virtual Model::CreateWorkspaceOutcome CreateWorkspace(const Model::CreateWorkspaceRequest& request) const;
/**
* A Callable wrapper for CreateWorkspace that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateWorkspaceOutcomeCallable CreateWorkspaceCallable(const CreateWorkspaceRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::CreateWorkspace, request);
}
/**
* An Async wrapper for CreateWorkspace that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateWorkspaceAsync(const CreateWorkspaceRequestT& request, const CreateWorkspaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::CreateWorkspace, request, handler, context);
}
/**
* Deletes a component type.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteComponentTypeOutcome DeleteComponentType(const Model::DeleteComponentTypeRequest& request) const;
/**
* A Callable wrapper for DeleteComponentType that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteComponentTypeOutcomeCallable DeleteComponentTypeCallable(const DeleteComponentTypeRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::DeleteComponentType, request);
}
/**
* An Async wrapper for DeleteComponentType that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteComponentTypeAsync(const DeleteComponentTypeRequestT& request, const DeleteComponentTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::DeleteComponentType, request, handler, context);
}
/**
* Deletes an entity.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteEntityOutcome DeleteEntity(const Model::DeleteEntityRequest& request) const;
/**
* A Callable wrapper for DeleteEntity that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteEntityOutcomeCallable DeleteEntityCallable(const DeleteEntityRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::DeleteEntity, request);
}
/**
* An Async wrapper for DeleteEntity that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteEntityAsync(const DeleteEntityRequestT& request, const DeleteEntityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::DeleteEntity, request, handler, context);
}
/**
* Deletes a scene.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteSceneOutcome DeleteScene(const Model::DeleteSceneRequest& request) const;
/**
* A Callable wrapper for DeleteScene that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteSceneOutcomeCallable DeleteSceneCallable(const DeleteSceneRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::DeleteScene, request);
}
/**
* An Async wrapper for DeleteScene that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteSceneAsync(const DeleteSceneRequestT& request, const DeleteSceneResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::DeleteScene, request, handler, context);
}
/**
* Delete the SyncJob.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteSyncJobOutcome DeleteSyncJob(const Model::DeleteSyncJobRequest& request) const;
/**
* A Callable wrapper for DeleteSyncJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteSyncJobOutcomeCallable DeleteSyncJobCallable(const DeleteSyncJobRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::DeleteSyncJob, request);
}
/**
* An Async wrapper for DeleteSyncJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteSyncJobAsync(const DeleteSyncJobRequestT& request, const DeleteSyncJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::DeleteSyncJob, request, handler, context);
}
/**
* Deletes a workspace.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteWorkspaceOutcome DeleteWorkspace(const Model::DeleteWorkspaceRequest& request) const;
/**
* A Callable wrapper for DeleteWorkspace that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteWorkspaceOutcomeCallable DeleteWorkspaceCallable(const DeleteWorkspaceRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::DeleteWorkspace, request);
}
/**
* An Async wrapper for DeleteWorkspace that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteWorkspaceAsync(const DeleteWorkspaceRequestT& request, const DeleteWorkspaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::DeleteWorkspace, request, handler, context);
}
/**
* Run queries to access information from your knowledge graph of entities
* within individual workspaces.
See Also:
AWS
* API Reference
*/
virtual Model::ExecuteQueryOutcome ExecuteQuery(const Model::ExecuteQueryRequest& request) const;
/**
* A Callable wrapper for ExecuteQuery that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ExecuteQueryOutcomeCallable ExecuteQueryCallable(const ExecuteQueryRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ExecuteQuery, request);
}
/**
* An Async wrapper for ExecuteQuery that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ExecuteQueryAsync(const ExecuteQueryRequestT& request, const ExecuteQueryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ExecuteQuery, request, handler, context);
}
/**
* Retrieves information about a component type.
See Also:
AWS
* API Reference
*/
virtual Model::GetComponentTypeOutcome GetComponentType(const Model::GetComponentTypeRequest& request) const;
/**
* A Callable wrapper for GetComponentType that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetComponentTypeOutcomeCallable GetComponentTypeCallable(const GetComponentTypeRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetComponentType, request);
}
/**
* An Async wrapper for GetComponentType that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetComponentTypeAsync(const GetComponentTypeRequestT& request, const GetComponentTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetComponentType, request, handler, context);
}
/**
* Retrieves information about an entity.
See Also:
AWS
* API Reference
*/
virtual Model::GetEntityOutcome GetEntity(const Model::GetEntityRequest& request) const;
/**
* A Callable wrapper for GetEntity that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetEntityOutcomeCallable GetEntityCallable(const GetEntityRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetEntity, request);
}
/**
* An Async wrapper for GetEntity that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetEntityAsync(const GetEntityRequestT& request, const GetEntityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetEntity, request, handler, context);
}
/**
* Gets the pricing plan.
See Also:
AWS
* API Reference
*/
virtual Model::GetPricingPlanOutcome GetPricingPlan(const Model::GetPricingPlanRequest& request) const;
/**
* A Callable wrapper for GetPricingPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPricingPlanOutcomeCallable GetPricingPlanCallable(const GetPricingPlanRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetPricingPlan, request);
}
/**
* An Async wrapper for GetPricingPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPricingPlanAsync(const GetPricingPlanRequestT& request, const GetPricingPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetPricingPlan, request, handler, context);
}
/**
* Gets the property values for a component, component type, entity, or
* workspace.
You must specify a value for either
* componentName
, componentTypeId
, entityId
,
* or workspaceId
.
See Also:
AWS
* API Reference
*/
virtual Model::GetPropertyValueOutcome GetPropertyValue(const Model::GetPropertyValueRequest& request) const;
/**
* A Callable wrapper for GetPropertyValue that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPropertyValueOutcomeCallable GetPropertyValueCallable(const GetPropertyValueRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetPropertyValue, request);
}
/**
* An Async wrapper for GetPropertyValue that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPropertyValueAsync(const GetPropertyValueRequestT& request, const GetPropertyValueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetPropertyValue, request, handler, context);
}
/**
* Retrieves information about the history of a time series property value for a
* component, component type, entity, or workspace.
You must specify a value
* for workspaceId
. For entity-specific queries, specify values for
* componentName
and entityId
. For cross-entity quries,
* specify a value for componentTypeId
.
See Also:
AWS
* API Reference
*/
virtual Model::GetPropertyValueHistoryOutcome GetPropertyValueHistory(const Model::GetPropertyValueHistoryRequest& request) const;
/**
* A Callable wrapper for GetPropertyValueHistory that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPropertyValueHistoryOutcomeCallable GetPropertyValueHistoryCallable(const GetPropertyValueHistoryRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetPropertyValueHistory, request);
}
/**
* An Async wrapper for GetPropertyValueHistory that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPropertyValueHistoryAsync(const GetPropertyValueHistoryRequestT& request, const GetPropertyValueHistoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetPropertyValueHistory, request, handler, context);
}
/**
* Retrieves information about a scene.
See Also:
AWS
* API Reference
*/
virtual Model::GetSceneOutcome GetScene(const Model::GetSceneRequest& request) const;
/**
* A Callable wrapper for GetScene that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetSceneOutcomeCallable GetSceneCallable(const GetSceneRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetScene, request);
}
/**
* An Async wrapper for GetScene that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetSceneAsync(const GetSceneRequestT& request, const GetSceneResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetScene, request, handler, context);
}
/**
* Gets the SyncJob.
See Also:
AWS
* API Reference
*/
virtual Model::GetSyncJobOutcome GetSyncJob(const Model::GetSyncJobRequest& request) const;
/**
* A Callable wrapper for GetSyncJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetSyncJobOutcomeCallable GetSyncJobCallable(const GetSyncJobRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetSyncJob, request);
}
/**
* An Async wrapper for GetSyncJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetSyncJobAsync(const GetSyncJobRequestT& request, const GetSyncJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetSyncJob, request, handler, context);
}
/**
* Retrieves information about a workspace.
See Also:
AWS
* API Reference
*/
virtual Model::GetWorkspaceOutcome GetWorkspace(const Model::GetWorkspaceRequest& request) const;
/**
* A Callable wrapper for GetWorkspace that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetWorkspaceOutcomeCallable GetWorkspaceCallable(const GetWorkspaceRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::GetWorkspace, request);
}
/**
* An Async wrapper for GetWorkspace that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetWorkspaceAsync(const GetWorkspaceRequestT& request, const GetWorkspaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::GetWorkspace, request, handler, context);
}
/**
* Lists all component types in a workspace.
See Also:
AWS
* API Reference
*/
virtual Model::ListComponentTypesOutcome ListComponentTypes(const Model::ListComponentTypesRequest& request) const;
/**
* A Callable wrapper for ListComponentTypes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListComponentTypesOutcomeCallable ListComponentTypesCallable(const ListComponentTypesRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ListComponentTypes, request);
}
/**
* An Async wrapper for ListComponentTypes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListComponentTypesAsync(const ListComponentTypesRequestT& request, const ListComponentTypesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ListComponentTypes, request, handler, context);
}
/**
* Lists all entities in a workspace.
See Also:
AWS
* API Reference
*/
virtual Model::ListEntitiesOutcome ListEntities(const Model::ListEntitiesRequest& request) const;
/**
* A Callable wrapper for ListEntities that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListEntitiesOutcomeCallable ListEntitiesCallable(const ListEntitiesRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ListEntities, request);
}
/**
* An Async wrapper for ListEntities that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListEntitiesAsync(const ListEntitiesRequestT& request, const ListEntitiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ListEntities, request, handler, context);
}
/**
* Lists all scenes in a workspace.
See Also:
AWS
* API Reference
*/
virtual Model::ListScenesOutcome ListScenes(const Model::ListScenesRequest& request) const;
/**
* A Callable wrapper for ListScenes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListScenesOutcomeCallable ListScenesCallable(const ListScenesRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ListScenes, request);
}
/**
* An Async wrapper for ListScenes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListScenesAsync(const ListScenesRequestT& request, const ListScenesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ListScenes, request, handler, context);
}
/**
* List all SyncJobs.
See Also:
AWS
* API Reference
*/
virtual Model::ListSyncJobsOutcome ListSyncJobs(const Model::ListSyncJobsRequest& request) const;
/**
* A Callable wrapper for ListSyncJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListSyncJobsOutcomeCallable ListSyncJobsCallable(const ListSyncJobsRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ListSyncJobs, request);
}
/**
* An Async wrapper for ListSyncJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListSyncJobsAsync(const ListSyncJobsRequestT& request, const ListSyncJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ListSyncJobs, request, handler, context);
}
/**
* Lists the sync resources.
See Also:
AWS
* API Reference
*/
virtual Model::ListSyncResourcesOutcome ListSyncResources(const Model::ListSyncResourcesRequest& request) const;
/**
* A Callable wrapper for ListSyncResources that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListSyncResourcesOutcomeCallable ListSyncResourcesCallable(const ListSyncResourcesRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ListSyncResources, request);
}
/**
* An Async wrapper for ListSyncResources that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListSyncResourcesAsync(const ListSyncResourcesRequestT& request, const ListSyncResourcesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ListSyncResources, request, handler, context);
}
/**
* Lists all tags associated with a resource.
See Also:
AWS
* API Reference
*/
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
/**
* A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ListTagsForResource, request);
}
/**
* An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ListTagsForResource, request, handler, context);
}
/**
* Retrieves information about workspaces in the current account.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListWorkspacesOutcome ListWorkspaces(const Model::ListWorkspacesRequest& request) const;
/**
* A Callable wrapper for ListWorkspaces that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListWorkspacesOutcomeCallable ListWorkspacesCallable(const ListWorkspacesRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::ListWorkspaces, request);
}
/**
* An Async wrapper for ListWorkspaces that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListWorkspacesAsync(const ListWorkspacesRequestT& request, const ListWorkspacesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::ListWorkspaces, request, handler, context);
}
/**
* Adds tags to a resource.
See Also:
AWS
* API Reference
*/
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
/**
* A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::TagResource, request);
}
/**
* An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::TagResource, request, handler, context);
}
/**
* Removes tags from a resource.
See Also:
AWS
* API Reference
*/
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
/**
* A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::UntagResource, request);
}
/**
* An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::UntagResource, request, handler, context);
}
/**
* Updates information in a component type.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateComponentTypeOutcome UpdateComponentType(const Model::UpdateComponentTypeRequest& request) const;
/**
* A Callable wrapper for UpdateComponentType that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateComponentTypeOutcomeCallable UpdateComponentTypeCallable(const UpdateComponentTypeRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::UpdateComponentType, request);
}
/**
* An Async wrapper for UpdateComponentType that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateComponentTypeAsync(const UpdateComponentTypeRequestT& request, const UpdateComponentTypeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::UpdateComponentType, request, handler, context);
}
/**
* Updates an entity.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateEntityOutcome UpdateEntity(const Model::UpdateEntityRequest& request) const;
/**
* A Callable wrapper for UpdateEntity that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateEntityOutcomeCallable UpdateEntityCallable(const UpdateEntityRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::UpdateEntity, request);
}
/**
* An Async wrapper for UpdateEntity that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateEntityAsync(const UpdateEntityRequestT& request, const UpdateEntityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::UpdateEntity, request, handler, context);
}
/**
* Update the pricing plan.
See Also:
AWS
* API Reference
*/
virtual Model::UpdatePricingPlanOutcome UpdatePricingPlan(const Model::UpdatePricingPlanRequest& request) const;
/**
* A Callable wrapper for UpdatePricingPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdatePricingPlanOutcomeCallable UpdatePricingPlanCallable(const UpdatePricingPlanRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::UpdatePricingPlan, request);
}
/**
* An Async wrapper for UpdatePricingPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdatePricingPlanAsync(const UpdatePricingPlanRequestT& request, const UpdatePricingPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::UpdatePricingPlan, request, handler, context);
}
/**
* Updates a scene.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateSceneOutcome UpdateScene(const Model::UpdateSceneRequest& request) const;
/**
* A Callable wrapper for UpdateScene that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateSceneOutcomeCallable UpdateSceneCallable(const UpdateSceneRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::UpdateScene, request);
}
/**
* An Async wrapper for UpdateScene that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateSceneAsync(const UpdateSceneRequestT& request, const UpdateSceneResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::UpdateScene, request, handler, context);
}
/**
* Updates a workspace.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateWorkspaceOutcome UpdateWorkspace(const Model::UpdateWorkspaceRequest& request) const;
/**
* A Callable wrapper for UpdateWorkspace that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateWorkspaceOutcomeCallable UpdateWorkspaceCallable(const UpdateWorkspaceRequestT& request) const
{
return SubmitCallable(&IoTTwinMakerClient::UpdateWorkspace, request);
}
/**
* An Async wrapper for UpdateWorkspace that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateWorkspaceAsync(const UpdateWorkspaceRequestT& request, const UpdateWorkspaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&IoTTwinMakerClient::UpdateWorkspace, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const IoTTwinMakerClientConfiguration& clientConfiguration);
IoTTwinMakerClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace IoTTwinMaker
} // namespace Aws