/** * 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 SSMIncidents { /** *

Systems Manager Incident Manager is an incident management console designed * to help users mitigate and recover from incidents affecting their Amazon Web * Services-hosted applications. An incident is any unplanned interruption or * reduction in quality of services.

Incident Manager increases incident * resolution by notifying responders of impact, highlighting relevant * troubleshooting data, and providing collaboration tools to get services back up * and running. To achieve the primary goal of reducing the time-to-resolution of * critical incidents, Incident Manager automates response plans and enables * responder team escalation.

*/ class AWS_SSMINCIDENTS_API SSMIncidentsClient : 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 SSMIncidentsClientConfiguration ClientConfigurationType; typedef SSMIncidentsEndpointProvider 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. */ SSMIncidentsClient(const Aws::SSMIncidents::SSMIncidentsClientConfiguration& clientConfiguration = Aws::SSMIncidents::SSMIncidentsClientConfiguration(), 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. */ SSMIncidentsClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::SSMIncidents::SSMIncidentsClientConfiguration& clientConfiguration = Aws::SSMIncidents::SSMIncidentsClientConfiguration()); /** * 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 */ SSMIncidentsClient(const std::shared_ptr& credentialsProvider, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::SSMIncidents::SSMIncidentsClientConfiguration& clientConfiguration = Aws::SSMIncidents::SSMIncidentsClientConfiguration()); /* 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. */ SSMIncidentsClient(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. */ SSMIncidentsClient(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 */ SSMIncidentsClient(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration); /* End of legacy constructors due deprecation */ virtual ~SSMIncidentsClient(); /** *

A replication set replicates and encrypts your data to the provided Regions * with the provided KMS key.

See Also:

AWS * API Reference

*/ virtual Model::CreateReplicationSetOutcome CreateReplicationSet(const Model::CreateReplicationSetRequest& request) const; /** * A Callable wrapper for CreateReplicationSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateReplicationSetOutcomeCallable CreateReplicationSetCallable(const CreateReplicationSetRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::CreateReplicationSet, request); } /** * An Async wrapper for CreateReplicationSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateReplicationSetAsync(const CreateReplicationSetRequestT& request, const CreateReplicationSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::CreateReplicationSet, request, handler, context); } /** *

Creates a response plan that automates the initial response to incidents. A * response plan engages contacts, starts chat channel collaboration, and initiates * runbooks at the beginning of an incident.

See Also:

AWS * API Reference

*/ virtual Model::CreateResponsePlanOutcome CreateResponsePlan(const Model::CreateResponsePlanRequest& request) const; /** * A Callable wrapper for CreateResponsePlan that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateResponsePlanOutcomeCallable CreateResponsePlanCallable(const CreateResponsePlanRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::CreateResponsePlan, request); } /** * An Async wrapper for CreateResponsePlan that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateResponsePlanAsync(const CreateResponsePlanRequestT& request, const CreateResponsePlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::CreateResponsePlan, request, handler, context); } /** *

Creates a custom timeline event on the incident details page of an incident * record. Incident Manager automatically creates timeline events that mark key * moments during an incident. You can create custom timeline events to mark * important events that Incident Manager can detect automatically.

See * Also:

AWS * API Reference

*/ virtual Model::CreateTimelineEventOutcome CreateTimelineEvent(const Model::CreateTimelineEventRequest& request) const; /** * A Callable wrapper for CreateTimelineEvent that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateTimelineEventOutcomeCallable CreateTimelineEventCallable(const CreateTimelineEventRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::CreateTimelineEvent, request); } /** * An Async wrapper for CreateTimelineEvent that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateTimelineEventAsync(const CreateTimelineEventRequestT& request, const CreateTimelineEventResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::CreateTimelineEvent, request, handler, context); } /** *

Delete an incident record from Incident Manager.

See Also:

* AWS * API Reference

*/ virtual Model::DeleteIncidentRecordOutcome DeleteIncidentRecord(const Model::DeleteIncidentRecordRequest& request) const; /** * A Callable wrapper for DeleteIncidentRecord that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteIncidentRecordOutcomeCallable DeleteIncidentRecordCallable(const DeleteIncidentRecordRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::DeleteIncidentRecord, request); } /** * An Async wrapper for DeleteIncidentRecord that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteIncidentRecordAsync(const DeleteIncidentRecordRequestT& request, const DeleteIncidentRecordResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::DeleteIncidentRecord, request, handler, context); } /** *

Deletes all Regions in your replication set. Deleting the replication set * deletes all Incident Manager data.

See Also:

AWS * API Reference

*/ virtual Model::DeleteReplicationSetOutcome DeleteReplicationSet(const Model::DeleteReplicationSetRequest& request) const; /** * A Callable wrapper for DeleteReplicationSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteReplicationSetOutcomeCallable DeleteReplicationSetCallable(const DeleteReplicationSetRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::DeleteReplicationSet, request); } /** * An Async wrapper for DeleteReplicationSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteReplicationSetAsync(const DeleteReplicationSetRequestT& request, const DeleteReplicationSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::DeleteReplicationSet, request, handler, context); } /** *

Deletes the resource policy that Resource Access Manager uses to share your * Incident Manager resource.

See Also:

AWS * API Reference

*/ virtual Model::DeleteResourcePolicyOutcome DeleteResourcePolicy(const Model::DeleteResourcePolicyRequest& request) const; /** * A Callable wrapper for DeleteResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteResourcePolicyOutcomeCallable DeleteResourcePolicyCallable(const DeleteResourcePolicyRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::DeleteResourcePolicy, request); } /** * An Async wrapper for DeleteResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteResourcePolicyAsync(const DeleteResourcePolicyRequestT& request, const DeleteResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::DeleteResourcePolicy, request, handler, context); } /** *

Deletes the specified response plan. Deleting a response plan stops all * linked CloudWatch alarms and EventBridge events from creating an incident with * this response plan.

See Also:

AWS * API Reference

*/ virtual Model::DeleteResponsePlanOutcome DeleteResponsePlan(const Model::DeleteResponsePlanRequest& request) const; /** * A Callable wrapper for DeleteResponsePlan that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteResponsePlanOutcomeCallable DeleteResponsePlanCallable(const DeleteResponsePlanRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::DeleteResponsePlan, request); } /** * An Async wrapper for DeleteResponsePlan that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteResponsePlanAsync(const DeleteResponsePlanRequestT& request, const DeleteResponsePlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::DeleteResponsePlan, request, handler, context); } /** *

Deletes a timeline event from an incident.

See Also:

AWS * API Reference

*/ virtual Model::DeleteTimelineEventOutcome DeleteTimelineEvent(const Model::DeleteTimelineEventRequest& request) const; /** * A Callable wrapper for DeleteTimelineEvent that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteTimelineEventOutcomeCallable DeleteTimelineEventCallable(const DeleteTimelineEventRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::DeleteTimelineEvent, request); } /** * An Async wrapper for DeleteTimelineEvent that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteTimelineEventAsync(const DeleteTimelineEventRequestT& request, const DeleteTimelineEventResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::DeleteTimelineEvent, request, handler, context); } /** *

Returns the details for the specified incident record.

See * Also:

AWS * API Reference

*/ virtual Model::GetIncidentRecordOutcome GetIncidentRecord(const Model::GetIncidentRecordRequest& request) const; /** * A Callable wrapper for GetIncidentRecord that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetIncidentRecordOutcomeCallable GetIncidentRecordCallable(const GetIncidentRecordRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::GetIncidentRecord, request); } /** * An Async wrapper for GetIncidentRecord that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetIncidentRecordAsync(const GetIncidentRecordRequestT& request, const GetIncidentRecordResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::GetIncidentRecord, request, handler, context); } /** *

Retrieve your Incident Manager replication set.

See Also:

AWS * API Reference

*/ virtual Model::GetReplicationSetOutcome GetReplicationSet(const Model::GetReplicationSetRequest& request) const; /** * A Callable wrapper for GetReplicationSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetReplicationSetOutcomeCallable GetReplicationSetCallable(const GetReplicationSetRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::GetReplicationSet, request); } /** * An Async wrapper for GetReplicationSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetReplicationSetAsync(const GetReplicationSetRequestT& request, const GetReplicationSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::GetReplicationSet, request, handler, context); } /** *

Retrieves the resource policies attached to the specified response * plan.

See Also:

AWS * API Reference

*/ virtual Model::GetResourcePoliciesOutcome GetResourcePolicies(const Model::GetResourcePoliciesRequest& request) const; /** * A Callable wrapper for GetResourcePolicies that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetResourcePoliciesOutcomeCallable GetResourcePoliciesCallable(const GetResourcePoliciesRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::GetResourcePolicies, request); } /** * An Async wrapper for GetResourcePolicies that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetResourcePoliciesAsync(const GetResourcePoliciesRequestT& request, const GetResourcePoliciesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::GetResourcePolicies, request, handler, context); } /** *

Retrieves the details of the specified response plan.

See * Also:

AWS * API Reference

*/ virtual Model::GetResponsePlanOutcome GetResponsePlan(const Model::GetResponsePlanRequest& request) const; /** * A Callable wrapper for GetResponsePlan that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetResponsePlanOutcomeCallable GetResponsePlanCallable(const GetResponsePlanRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::GetResponsePlan, request); } /** * An Async wrapper for GetResponsePlan that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetResponsePlanAsync(const GetResponsePlanRequestT& request, const GetResponsePlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::GetResponsePlan, request, handler, context); } /** *

Retrieves a timeline event based on its ID and incident record.

See * Also:

AWS * API Reference

*/ virtual Model::GetTimelineEventOutcome GetTimelineEvent(const Model::GetTimelineEventRequest& request) const; /** * A Callable wrapper for GetTimelineEvent that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetTimelineEventOutcomeCallable GetTimelineEventCallable(const GetTimelineEventRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::GetTimelineEvent, request); } /** * An Async wrapper for GetTimelineEvent that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetTimelineEventAsync(const GetTimelineEventRequestT& request, const GetTimelineEventResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::GetTimelineEvent, request, handler, context); } /** *

Lists all incident records in your account. Use this command to retrieve the * Amazon Resource Name (ARN) of the incident record you want to update. *

See Also:

AWS * API Reference

*/ virtual Model::ListIncidentRecordsOutcome ListIncidentRecords(const Model::ListIncidentRecordsRequest& request) const; /** * A Callable wrapper for ListIncidentRecords that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListIncidentRecordsOutcomeCallable ListIncidentRecordsCallable(const ListIncidentRecordsRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::ListIncidentRecords, request); } /** * An Async wrapper for ListIncidentRecords that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListIncidentRecordsAsync(const ListIncidentRecordsRequestT& request, const ListIncidentRecordsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::ListIncidentRecords, request, handler, context); } /** *

List all related items for an incident record.

See Also:

AWS * API Reference

*/ virtual Model::ListRelatedItemsOutcome ListRelatedItems(const Model::ListRelatedItemsRequest& request) const; /** * A Callable wrapper for ListRelatedItems that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListRelatedItemsOutcomeCallable ListRelatedItemsCallable(const ListRelatedItemsRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::ListRelatedItems, request); } /** * An Async wrapper for ListRelatedItems that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListRelatedItemsAsync(const ListRelatedItemsRequestT& request, const ListRelatedItemsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::ListRelatedItems, request, handler, context); } /** *

Lists details about the replication set configured in your account. *

See Also:

AWS * API Reference

*/ virtual Model::ListReplicationSetsOutcome ListReplicationSets(const Model::ListReplicationSetsRequest& request) const; /** * A Callable wrapper for ListReplicationSets that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListReplicationSetsOutcomeCallable ListReplicationSetsCallable(const ListReplicationSetsRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::ListReplicationSets, request); } /** * An Async wrapper for ListReplicationSets that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListReplicationSetsAsync(const ListReplicationSetsRequestT& request, const ListReplicationSetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::ListReplicationSets, request, handler, context); } /** *

Lists all response plans in your account.

See Also:

AWS * API Reference

*/ virtual Model::ListResponsePlansOutcome ListResponsePlans(const Model::ListResponsePlansRequest& request) const; /** * A Callable wrapper for ListResponsePlans that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListResponsePlansOutcomeCallable ListResponsePlansCallable(const ListResponsePlansRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::ListResponsePlans, request); } /** * An Async wrapper for ListResponsePlans that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListResponsePlansAsync(const ListResponsePlansRequestT& request, const ListResponsePlansResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::ListResponsePlans, request, handler, context); } /** *

Lists the tags that are attached to the specified response * plan.

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(&SSMIncidentsClient::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(&SSMIncidentsClient::ListTagsForResource, request, handler, context); } /** *

Lists timeline events for the specified incident record.

See * Also:

AWS * API Reference

*/ virtual Model::ListTimelineEventsOutcome ListTimelineEvents(const Model::ListTimelineEventsRequest& request) const; /** * A Callable wrapper for ListTimelineEvents that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListTimelineEventsOutcomeCallable ListTimelineEventsCallable(const ListTimelineEventsRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::ListTimelineEvents, request); } /** * An Async wrapper for ListTimelineEvents that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListTimelineEventsAsync(const ListTimelineEventsRequestT& request, const ListTimelineEventsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::ListTimelineEvents, request, handler, context); } /** *

Adds a resource policy to the specified response plan. The resource policy is * used to share the response plan using Resource Access Manager (RAM). For more * information about cross-account sharing, see Cross-Region * and cross-account incident management.

See Also:

AWS * API Reference

*/ virtual Model::PutResourcePolicyOutcome PutResourcePolicy(const Model::PutResourcePolicyRequest& request) const; /** * A Callable wrapper for PutResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::PutResourcePolicyOutcomeCallable PutResourcePolicyCallable(const PutResourcePolicyRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::PutResourcePolicy, request); } /** * An Async wrapper for PutResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void PutResourcePolicyAsync(const PutResourcePolicyRequestT& request, const PutResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::PutResourcePolicy, request, handler, context); } /** *

Used to start an incident from CloudWatch alarms, EventBridge events, or * manually.

See Also:

AWS * API Reference

*/ virtual Model::StartIncidentOutcome StartIncident(const Model::StartIncidentRequest& request) const; /** * A Callable wrapper for StartIncident that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::StartIncidentOutcomeCallable StartIncidentCallable(const StartIncidentRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::StartIncident, request); } /** * An Async wrapper for StartIncident that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void StartIncidentAsync(const StartIncidentRequestT& request, const StartIncidentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::StartIncident, request, handler, context); } /** *

Adds a tag to a response plan.

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(&SSMIncidentsClient::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(&SSMIncidentsClient::TagResource, request, handler, context); } /** *

Removes a tag 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(&SSMIncidentsClient::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(&SSMIncidentsClient::UntagResource, request, handler, context); } /** *

Update deletion protection to either allow or deny deletion of the final * Region in a replication set.

See Also:

AWS * API Reference

*/ virtual Model::UpdateDeletionProtectionOutcome UpdateDeletionProtection(const Model::UpdateDeletionProtectionRequest& request) const; /** * A Callable wrapper for UpdateDeletionProtection that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateDeletionProtectionOutcomeCallable UpdateDeletionProtectionCallable(const UpdateDeletionProtectionRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::UpdateDeletionProtection, request); } /** * An Async wrapper for UpdateDeletionProtection that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateDeletionProtectionAsync(const UpdateDeletionProtectionRequestT& request, const UpdateDeletionProtectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::UpdateDeletionProtection, request, handler, context); } /** *

Update the details of an incident record. You can use this operation to * update an incident record from the defined chat channel. For more information * about using actions in chat channels, see Interacting * through chat.

See Also:

AWS * API Reference

*/ virtual Model::UpdateIncidentRecordOutcome UpdateIncidentRecord(const Model::UpdateIncidentRecordRequest& request) const; /** * A Callable wrapper for UpdateIncidentRecord that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateIncidentRecordOutcomeCallable UpdateIncidentRecordCallable(const UpdateIncidentRecordRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::UpdateIncidentRecord, request); } /** * An Async wrapper for UpdateIncidentRecord that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateIncidentRecordAsync(const UpdateIncidentRecordRequestT& request, const UpdateIncidentRecordResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::UpdateIncidentRecord, request, handler, context); } /** *

Add or remove related items from the related items tab of an incident * record.

See Also:

AWS * API Reference

*/ virtual Model::UpdateRelatedItemsOutcome UpdateRelatedItems(const Model::UpdateRelatedItemsRequest& request) const; /** * A Callable wrapper for UpdateRelatedItems that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateRelatedItemsOutcomeCallable UpdateRelatedItemsCallable(const UpdateRelatedItemsRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::UpdateRelatedItems, request); } /** * An Async wrapper for UpdateRelatedItems that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateRelatedItemsAsync(const UpdateRelatedItemsRequestT& request, const UpdateRelatedItemsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::UpdateRelatedItems, request, handler, context); } /** *

Add or delete Regions from your replication set.

See Also:

* AWS * API Reference

*/ virtual Model::UpdateReplicationSetOutcome UpdateReplicationSet(const Model::UpdateReplicationSetRequest& request) const; /** * A Callable wrapper for UpdateReplicationSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateReplicationSetOutcomeCallable UpdateReplicationSetCallable(const UpdateReplicationSetRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::UpdateReplicationSet, request); } /** * An Async wrapper for UpdateReplicationSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateReplicationSetAsync(const UpdateReplicationSetRequestT& request, const UpdateReplicationSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::UpdateReplicationSet, request, handler, context); } /** *

Updates the specified response plan.

See Also:

AWS * API Reference

*/ virtual Model::UpdateResponsePlanOutcome UpdateResponsePlan(const Model::UpdateResponsePlanRequest& request) const; /** * A Callable wrapper for UpdateResponsePlan that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateResponsePlanOutcomeCallable UpdateResponsePlanCallable(const UpdateResponsePlanRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::UpdateResponsePlan, request); } /** * An Async wrapper for UpdateResponsePlan that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateResponsePlanAsync(const UpdateResponsePlanRequestT& request, const UpdateResponsePlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::UpdateResponsePlan, request, handler, context); } /** *

Updates a timeline event. You can update events of type Custom * Event.

See Also:

AWS * API Reference

*/ virtual Model::UpdateTimelineEventOutcome UpdateTimelineEvent(const Model::UpdateTimelineEventRequest& request) const; /** * A Callable wrapper for UpdateTimelineEvent that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateTimelineEventOutcomeCallable UpdateTimelineEventCallable(const UpdateTimelineEventRequestT& request) const { return SubmitCallable(&SSMIncidentsClient::UpdateTimelineEvent, request); } /** * An Async wrapper for UpdateTimelineEvent that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateTimelineEventAsync(const UpdateTimelineEventRequestT& request, const UpdateTimelineEventResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&SSMIncidentsClient::UpdateTimelineEvent, request, handler, context); } void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); private: friend class Aws::Client::ClientWithAsyncTemplateMethods; void init(const SSMIncidentsClientConfiguration& clientConfiguration); SSMIncidentsClientConfiguration m_clientConfiguration; std::shared_ptr m_executor; std::shared_ptr m_endpointProvider; }; } // namespace SSMIncidents } // namespace Aws