/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Http { class HttpClient; class HttpClientFactory; } // namespace Http namespace Utils { template< typename R, typename E> class Outcome; namespace Threading { class Executor; } // namespace Threading } // namespace Utils namespace Auth { class AWSCredentials; class AWSCredentialsProvider; } // namespace Auth namespace Client { class RetryStrategy; } // namespace Client namespace ElasticTranscoder { namespace Model { class CancelJobRequest; class CreateJobRequest; class CreatePipelineRequest; class CreatePresetRequest; class DeletePipelineRequest; class DeletePresetRequest; class ListJobsByPipelineRequest; class ListJobsByStatusRequest; class ListPipelinesRequest; class ListPresetsRequest; class ReadJobRequest; class ReadPipelineRequest; class ReadPresetRequest; class UpdatePipelineRequest; class UpdatePipelineNotificationsRequest; class UpdatePipelineStatusRequest; typedef Aws::Utils::Outcome CancelJobOutcome; typedef Aws::Utils::Outcome CreateJobOutcome; typedef Aws::Utils::Outcome CreatePipelineOutcome; typedef Aws::Utils::Outcome CreatePresetOutcome; typedef Aws::Utils::Outcome DeletePipelineOutcome; typedef Aws::Utils::Outcome DeletePresetOutcome; typedef Aws::Utils::Outcome ListJobsByPipelineOutcome; typedef Aws::Utils::Outcome ListJobsByStatusOutcome; typedef Aws::Utils::Outcome ListPipelinesOutcome; typedef Aws::Utils::Outcome ListPresetsOutcome; typedef Aws::Utils::Outcome ReadJobOutcome; typedef Aws::Utils::Outcome ReadPipelineOutcome; typedef Aws::Utils::Outcome ReadPresetOutcome; typedef Aws::Utils::Outcome UpdatePipelineOutcome; typedef Aws::Utils::Outcome UpdatePipelineNotificationsOutcome; typedef Aws::Utils::Outcome UpdatePipelineStatusOutcome; typedef std::future CancelJobOutcomeCallable; typedef std::future CreateJobOutcomeCallable; typedef std::future CreatePipelineOutcomeCallable; typedef std::future CreatePresetOutcomeCallable; typedef std::future DeletePipelineOutcomeCallable; typedef std::future DeletePresetOutcomeCallable; typedef std::future ListJobsByPipelineOutcomeCallable; typedef std::future ListJobsByStatusOutcomeCallable; typedef std::future ListPipelinesOutcomeCallable; typedef std::future ListPresetsOutcomeCallable; typedef std::future ReadJobOutcomeCallable; typedef std::future ReadPipelineOutcomeCallable; typedef std::future ReadPresetOutcomeCallable; typedef std::future UpdatePipelineOutcomeCallable; typedef std::future UpdatePipelineNotificationsOutcomeCallable; typedef std::future UpdatePipelineStatusOutcomeCallable; } // namespace Model class ElasticTranscoderClient; typedef std::function&) > CancelJobResponseReceivedHandler; typedef std::function&) > CreateJobResponseReceivedHandler; typedef std::function&) > CreatePipelineResponseReceivedHandler; typedef std::function&) > CreatePresetResponseReceivedHandler; typedef std::function&) > DeletePipelineResponseReceivedHandler; typedef std::function&) > DeletePresetResponseReceivedHandler; typedef std::function&) > ListJobsByPipelineResponseReceivedHandler; typedef std::function&) > ListJobsByStatusResponseReceivedHandler; typedef std::function&) > ListPipelinesResponseReceivedHandler; typedef std::function&) > ListPresetsResponseReceivedHandler; typedef std::function&) > ReadJobResponseReceivedHandler; typedef std::function&) > ReadPipelineResponseReceivedHandler; typedef std::function&) > ReadPresetResponseReceivedHandler; typedef std::function&) > UpdatePipelineResponseReceivedHandler; typedef std::function&) > UpdatePipelineNotificationsResponseReceivedHandler; typedef std::function&) > UpdatePipelineStatusResponseReceivedHandler; /** * AWS Elastic Transcoder Service

The AWS Elastic * Transcoder Service.

*/ class AWS_ELASTICTRANSCODER_API ElasticTranscoderClient : public Aws::Client::AWSJsonClient { public: typedef Aws::Client::AWSJsonClient BASECLASS; /** * 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. */ ElasticTranscoderClient(const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::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. */ ElasticTranscoderClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::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 */ ElasticTranscoderClient(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration()); virtual ~ElasticTranscoderClient(); /** *

The CancelJob operation cancels an unfinished job.

You can only * cancel a job that has a status of Submitted. To prevent a pipeline * from starting to process a job while you're getting the job identifier, use * UpdatePipelineStatus to temporarily pause the pipeline.

*

See Also:

AWS * API Reference

*/ virtual Model::CancelJobOutcome CancelJob(const Model::CancelJobRequest& request) const; /** *

The CancelJob operation cancels an unfinished job.

You can only * cancel a job that has a status of Submitted. To prevent a pipeline * from starting to process a job while you're getting the job identifier, use * UpdatePipelineStatus to temporarily pause the pipeline.

*

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CancelJobOutcomeCallable CancelJobCallable(const Model::CancelJobRequest& request) const; /** *

The CancelJob operation cancels an unfinished job.

You can only * cancel a job that has a status of Submitted. To prevent a pipeline * from starting to process a job while you're getting the job identifier, use * UpdatePipelineStatus to temporarily pause the pipeline.

*

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CancelJobAsync(const Model::CancelJobRequest& request, const CancelJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

When you create a job, Elastic Transcoder returns JSON data that includes the * values that you specified plus information about the job that is created.

*

If you have specified more than one output for your jobs (for example, one * output for the Kindle Fire and another output for the Apple iPhone 4s), you * currently must use the Elastic Transcoder API to list the jobs (as opposed to * the AWS Console).

See Also:

AWS * API Reference

*/ virtual Model::CreateJobOutcome CreateJob(const Model::CreateJobRequest& request) const; /** *

When you create a job, Elastic Transcoder returns JSON data that includes the * values that you specified plus information about the job that is created.

*

If you have specified more than one output for your jobs (for example, one * output for the Kindle Fire and another output for the Apple iPhone 4s), you * currently must use the Elastic Transcoder API to list the jobs (as opposed to * the AWS Console).

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CreateJobOutcomeCallable CreateJobCallable(const Model::CreateJobRequest& request) const; /** *

When you create a job, Elastic Transcoder returns JSON data that includes the * values that you specified plus information about the job that is created.

*

If you have specified more than one output for your jobs (for example, one * output for the Kindle Fire and another output for the Apple iPhone 4s), you * currently must use the Elastic Transcoder API to list the jobs (as opposed to * the AWS Console).

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CreateJobAsync(const Model::CreateJobRequest& request, const CreateJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The CreatePipeline operation creates a pipeline with settings that you * specify.

See Also:

AWS * API Reference

*/ virtual Model::CreatePipelineOutcome CreatePipeline(const Model::CreatePipelineRequest& request) const; /** *

The CreatePipeline operation creates a pipeline with settings that you * specify.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CreatePipelineOutcomeCallable CreatePipelineCallable(const Model::CreatePipelineRequest& request) const; /** *

The CreatePipeline operation creates a pipeline with settings that you * specify.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CreatePipelineAsync(const Model::CreatePipelineRequest& request, const CreatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The CreatePreset operation creates a preset with settings that you * specify.

Elastic Transcoder checks the CreatePreset settings * to ensure that they meet Elastic Transcoder requirements and to determine * whether they comply with H.264 standards. If your settings are not valid for * Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response * (ValidationException) and does not create the preset. If the * settings are valid for Elastic Transcoder but aren't strictly compliant with the * H.264 standard, Elastic Transcoder creates the preset and returns a warning * message in the response. This helps you determine whether your settings comply * with the H.264 standard while giving you greater flexibility with respect to the * video that Elastic Transcoder produces.

Elastic Transcoder * uses the H.264 video-compression format. For more information, see the * International Telecommunication Union publication Recommendation ITU-T H.264: * Advanced video coding for generic audiovisual services.

See * Also:

AWS * API Reference

*/ virtual Model::CreatePresetOutcome CreatePreset(const Model::CreatePresetRequest& request) const; /** *

The CreatePreset operation creates a preset with settings that you * specify.

Elastic Transcoder checks the CreatePreset settings * to ensure that they meet Elastic Transcoder requirements and to determine * whether they comply with H.264 standards. If your settings are not valid for * Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response * (ValidationException) and does not create the preset. If the * settings are valid for Elastic Transcoder but aren't strictly compliant with the * H.264 standard, Elastic Transcoder creates the preset and returns a warning * message in the response. This helps you determine whether your settings comply * with the H.264 standard while giving you greater flexibility with respect to the * video that Elastic Transcoder produces.

Elastic Transcoder * uses the H.264 video-compression format. For more information, see the * International Telecommunication Union publication Recommendation ITU-T H.264: * Advanced video coding for generic audiovisual services.

See * Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CreatePresetOutcomeCallable CreatePresetCallable(const Model::CreatePresetRequest& request) const; /** *

The CreatePreset operation creates a preset with settings that you * specify.

Elastic Transcoder checks the CreatePreset settings * to ensure that they meet Elastic Transcoder requirements and to determine * whether they comply with H.264 standards. If your settings are not valid for * Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response * (ValidationException) and does not create the preset. If the * settings are valid for Elastic Transcoder but aren't strictly compliant with the * H.264 standard, Elastic Transcoder creates the preset and returns a warning * message in the response. This helps you determine whether your settings comply * with the H.264 standard while giving you greater flexibility with respect to the * video that Elastic Transcoder produces.

Elastic Transcoder * uses the H.264 video-compression format. For more information, see the * International Telecommunication Union publication Recommendation ITU-T H.264: * Advanced video coding for generic audiovisual services.

See * Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CreatePresetAsync(const Model::CreatePresetRequest& request, const CreatePresetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The DeletePipeline operation removes a pipeline.

You can only delete * a pipeline that has never been used or that is not currently in use (doesn't * contain any active jobs). If the pipeline is currently in use, * DeletePipeline returns an error.

See Also:

AWS * API Reference

*/ virtual Model::DeletePipelineOutcome DeletePipeline(const Model::DeletePipelineRequest& request) const; /** *

The DeletePipeline operation removes a pipeline.

You can only delete * a pipeline that has never been used or that is not currently in use (doesn't * contain any active jobs). If the pipeline is currently in use, * DeletePipeline returns an error.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DeletePipelineOutcomeCallable DeletePipelineCallable(const Model::DeletePipelineRequest& request) const; /** *

The DeletePipeline operation removes a pipeline.

You can only delete * a pipeline that has never been used or that is not currently in use (doesn't * contain any active jobs). If the pipeline is currently in use, * DeletePipeline returns an error.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DeletePipelineAsync(const Model::DeletePipelineRequest& request, const DeletePipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The DeletePreset operation removes a preset that you've added in an AWS * region.

You can't delete the default presets that are included * with Elastic Transcoder.

See Also:

AWS * API Reference

*/ virtual Model::DeletePresetOutcome DeletePreset(const Model::DeletePresetRequest& request) const; /** *

The DeletePreset operation removes a preset that you've added in an AWS * region.

You can't delete the default presets that are included * with Elastic Transcoder.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::DeletePresetOutcomeCallable DeletePresetCallable(const Model::DeletePresetRequest& request) const; /** *

The DeletePreset operation removes a preset that you've added in an AWS * region.

You can't delete the default presets that are included * with Elastic Transcoder.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void DeletePresetAsync(const Model::DeletePresetRequest& request, const DeletePresetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The ListJobsByPipeline operation gets a list of the jobs currently in a * pipeline.

Elastic Transcoder returns all of the jobs currently in the * specified pipeline. The response body contains one element for each job that * satisfies the search criteria.

See Also:

AWS * API Reference

*/ virtual Model::ListJobsByPipelineOutcome ListJobsByPipeline(const Model::ListJobsByPipelineRequest& request) const; /** *

The ListJobsByPipeline operation gets a list of the jobs currently in a * pipeline.

Elastic Transcoder returns all of the jobs currently in the * specified pipeline. The response body contains one element for each job that * satisfies the search criteria.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListJobsByPipelineOutcomeCallable ListJobsByPipelineCallable(const Model::ListJobsByPipelineRequest& request) const; /** *

The ListJobsByPipeline operation gets a list of the jobs currently in a * pipeline.

Elastic Transcoder returns all of the jobs currently in the * specified pipeline. The response body contains one element for each job that * satisfies the search criteria.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListJobsByPipelineAsync(const Model::ListJobsByPipelineRequest& request, const ListJobsByPipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The ListJobsByStatus operation gets a list of jobs that have a specified * status. The response body contains one element for each job that satisfies the * search criteria.

See Also:

AWS * API Reference

*/ virtual Model::ListJobsByStatusOutcome ListJobsByStatus(const Model::ListJobsByStatusRequest& request) const; /** *

The ListJobsByStatus operation gets a list of jobs that have a specified * status. The response body contains one element for each job that satisfies the * search criteria.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListJobsByStatusOutcomeCallable ListJobsByStatusCallable(const Model::ListJobsByStatusRequest& request) const; /** *

The ListJobsByStatus operation gets a list of jobs that have a specified * status. The response body contains one element for each job that satisfies the * search criteria.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListJobsByStatusAsync(const Model::ListJobsByStatusRequest& request, const ListJobsByStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The ListPipelines operation gets a list of the pipelines associated with the * current AWS account.

See Also:

AWS * API Reference

*/ virtual Model::ListPipelinesOutcome ListPipelines(const Model::ListPipelinesRequest& request) const; /** *

The ListPipelines operation gets a list of the pipelines associated with the * current AWS account.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListPipelinesOutcomeCallable ListPipelinesCallable(const Model::ListPipelinesRequest& request) const; /** *

The ListPipelines operation gets a list of the pipelines associated with the * current AWS account.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListPipelinesAsync(const Model::ListPipelinesRequest& request, const ListPipelinesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The ListPresets operation gets a list of the default presets included with * Elastic Transcoder and the presets that you've added in an AWS * region.

See Also:

AWS * API Reference

*/ virtual Model::ListPresetsOutcome ListPresets(const Model::ListPresetsRequest& request) const; /** *

The ListPresets operation gets a list of the default presets included with * Elastic Transcoder and the presets that you've added in an AWS * region.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ListPresetsOutcomeCallable ListPresetsCallable(const Model::ListPresetsRequest& request) const; /** *

The ListPresets operation gets a list of the default presets included with * Elastic Transcoder and the presets that you've added in an AWS * region.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ListPresetsAsync(const Model::ListPresetsRequest& request, const ListPresetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The ReadJob operation returns detailed information about a job.

See * Also:

AWS * API Reference

*/ virtual Model::ReadJobOutcome ReadJob(const Model::ReadJobRequest& request) const; /** *

The ReadJob operation returns detailed information about a job.

See * Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ReadJobOutcomeCallable ReadJobCallable(const Model::ReadJobRequest& request) const; /** *

The ReadJob operation returns detailed information about a job.

See * Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ReadJobAsync(const Model::ReadJobRequest& request, const ReadJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The ReadPipeline operation gets detailed information about a * pipeline.

See Also:

AWS * API Reference

*/ virtual Model::ReadPipelineOutcome ReadPipeline(const Model::ReadPipelineRequest& request) const; /** *

The ReadPipeline operation gets detailed information about a * pipeline.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ReadPipelineOutcomeCallable ReadPipelineCallable(const Model::ReadPipelineRequest& request) const; /** *

The ReadPipeline operation gets detailed information about a * pipeline.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ReadPipelineAsync(const Model::ReadPipelineRequest& request, const ReadPipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The ReadPreset operation gets detailed information about a * preset.

See Also:

AWS * API Reference

*/ virtual Model::ReadPresetOutcome ReadPreset(const Model::ReadPresetRequest& request) const; /** *

The ReadPreset operation gets detailed information about a * preset.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::ReadPresetOutcomeCallable ReadPresetCallable(const Model::ReadPresetRequest& request) const; /** *

The ReadPreset operation gets detailed information about a * preset.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void ReadPresetAsync(const Model::ReadPresetRequest& request, const ReadPresetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

Use the UpdatePipeline operation to update settings for a * pipeline.

When you change pipeline settings, your changes * take effect immediately. Jobs that you have already submitted and that Elastic * Transcoder has not started to process are affected in addition to jobs that you * submit after you change settings.

See Also:

AWS * API Reference

*/ virtual Model::UpdatePipelineOutcome UpdatePipeline(const Model::UpdatePipelineRequest& request) const; /** *

Use the UpdatePipeline operation to update settings for a * pipeline.

When you change pipeline settings, your changes * take effect immediately. Jobs that you have already submitted and that Elastic * Transcoder has not started to process are affected in addition to jobs that you * submit after you change settings.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::UpdatePipelineOutcomeCallable UpdatePipelineCallable(const Model::UpdatePipelineRequest& request) const; /** *

Use the UpdatePipeline operation to update settings for a * pipeline.

When you change pipeline settings, your changes * take effect immediately. Jobs that you have already submitted and that Elastic * Transcoder has not started to process are affected in addition to jobs that you * submit after you change settings.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void UpdatePipelineAsync(const Model::UpdatePipelineRequest& request, const UpdatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

With the UpdatePipelineNotifications operation, you can update Amazon Simple * Notification Service (Amazon SNS) notifications for a pipeline.

When you * update notifications for a pipeline, Elastic Transcoder returns the values that * you specified in the request.

See Also:

AWS * API Reference

*/ virtual Model::UpdatePipelineNotificationsOutcome UpdatePipelineNotifications(const Model::UpdatePipelineNotificationsRequest& request) const; /** *

With the UpdatePipelineNotifications operation, you can update Amazon Simple * Notification Service (Amazon SNS) notifications for a pipeline.

When you * update notifications for a pipeline, Elastic Transcoder returns the values that * you specified in the request.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::UpdatePipelineNotificationsOutcomeCallable UpdatePipelineNotificationsCallable(const Model::UpdatePipelineNotificationsRequest& request) const; /** *

With the UpdatePipelineNotifications operation, you can update Amazon Simple * Notification Service (Amazon SNS) notifications for a pipeline.

When you * update notifications for a pipeline, Elastic Transcoder returns the values that * you specified in the request.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void UpdatePipelineNotificationsAsync(const Model::UpdatePipelineNotificationsRequest& request, const UpdatePipelineNotificationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; /** *

The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that * the pipeline stops or restarts the processing of jobs.

Changing the * pipeline status is useful if you want to cancel one or more jobs. You can't * cancel jobs after Elastic Transcoder has started processing them; if you pause * the pipeline to which you submitted the jobs, you have more time to get the job * IDs for the jobs that you want to cancel, and to send a CancelJob * request.

See Also:

AWS * API Reference

*/ virtual Model::UpdatePipelineStatusOutcome UpdatePipelineStatus(const Model::UpdatePipelineStatusRequest& request) const; /** *

The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that * the pipeline stops or restarts the processing of jobs.

Changing the * pipeline status is useful if you want to cancel one or more jobs. You can't * cancel jobs after Elastic Transcoder has started processing them; if you pause * the pipeline to which you submitted the jobs, you have more time to get the job * IDs for the jobs that you want to cancel, and to send a CancelJob * request.

See Also:

AWS * API Reference

* * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::UpdatePipelineStatusOutcomeCallable UpdatePipelineStatusCallable(const Model::UpdatePipelineStatusRequest& request) const; /** *

The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that * the pipeline stops or restarts the processing of jobs.

Changing the * pipeline status is useful if you want to cancel one or more jobs. You can't * cancel jobs after Elastic Transcoder has started processing them; if you pause * the pipeline to which you submitted the jobs, you have more time to get the job * IDs for the jobs that you want to cancel, and to send a CancelJob * request.

See Also:

AWS * API Reference

* * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void UpdatePipelineStatusAsync(const Model::UpdatePipelineStatusRequest& request, const UpdatePipelineStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const; void OverrideEndpoint(const Aws::String& endpoint); private: void init(const Aws::Client::ClientConfiguration& clientConfiguration); void CancelJobAsyncHelper(const Model::CancelJobRequest& request, const CancelJobResponseReceivedHandler& handler, const std::shared_ptr& context) const; void CreateJobAsyncHelper(const Model::CreateJobRequest& request, const CreateJobResponseReceivedHandler& handler, const std::shared_ptr& context) const; void CreatePipelineAsyncHelper(const Model::CreatePipelineRequest& request, const CreatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const; void CreatePresetAsyncHelper(const Model::CreatePresetRequest& request, const CreatePresetResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DeletePipelineAsyncHelper(const Model::DeletePipelineRequest& request, const DeletePipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const; void DeletePresetAsyncHelper(const Model::DeletePresetRequest& request, const DeletePresetResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListJobsByPipelineAsyncHelper(const Model::ListJobsByPipelineRequest& request, const ListJobsByPipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListJobsByStatusAsyncHelper(const Model::ListJobsByStatusRequest& request, const ListJobsByStatusResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListPipelinesAsyncHelper(const Model::ListPipelinesRequest& request, const ListPipelinesResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ListPresetsAsyncHelper(const Model::ListPresetsRequest& request, const ListPresetsResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ReadJobAsyncHelper(const Model::ReadJobRequest& request, const ReadJobResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ReadPipelineAsyncHelper(const Model::ReadPipelineRequest& request, const ReadPipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const; void ReadPresetAsyncHelper(const Model::ReadPresetRequest& request, const ReadPresetResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UpdatePipelineAsyncHelper(const Model::UpdatePipelineRequest& request, const UpdatePipelineResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UpdatePipelineNotificationsAsyncHelper(const Model::UpdatePipelineNotificationsRequest& request, const UpdatePipelineNotificationsResponseReceivedHandler& handler, const std::shared_ptr& context) const; void UpdatePipelineStatusAsyncHelper(const Model::UpdatePipelineStatusRequest& request, const UpdatePipelineStatusResponseReceivedHandler& handler, const std::shared_ptr& context) const; Aws::String m_uri; Aws::String m_configScheme; std::shared_ptr m_executor; }; } // namespace ElasticTranscoder } // namespace Aws