/**
* 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 MediaConvert
{
/**
* AWS Elemental MediaConvert
*/
class AWS_MEDIACONVERT_API MediaConvertClient : 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 MediaConvertClientConfiguration ClientConfigurationType;
typedef MediaConvertEndpointProvider 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.
*/
MediaConvertClient(const Aws::MediaConvert::MediaConvertClientConfiguration& clientConfiguration = Aws::MediaConvert::MediaConvertClientConfiguration(),
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.
*/
MediaConvertClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::MediaConvert::MediaConvertClientConfiguration& clientConfiguration = Aws::MediaConvert::MediaConvertClientConfiguration());
/**
* 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
*/
MediaConvertClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::MediaConvert::MediaConvertClientConfiguration& clientConfiguration = Aws::MediaConvert::MediaConvertClientConfiguration());
/* 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.
*/
MediaConvertClient(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.
*/
MediaConvertClient(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
*/
MediaConvertClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~MediaConvertClient();
/**
* Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS
* Elemental MediaConvert.See Also:
AWS
* API Reference
*/
virtual Model::AssociateCertificateOutcome AssociateCertificate(const Model::AssociateCertificateRequest& request) const;
/**
* A Callable wrapper for AssociateCertificate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AssociateCertificateOutcomeCallable AssociateCertificateCallable(const AssociateCertificateRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::AssociateCertificate, request);
}
/**
* An Async wrapper for AssociateCertificate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AssociateCertificateAsync(const AssociateCertificateRequestT& request, const AssociateCertificateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::AssociateCertificate, request, handler, context);
}
/**
* Permanently cancel a job. Once you have canceled a job, you can't start it
* again.See Also:
AWS
* API Reference
*/
virtual Model::CancelJobOutcome CancelJob(const Model::CancelJobRequest& request) const;
/**
* A Callable wrapper for CancelJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CancelJobOutcomeCallable CancelJobCallable(const CancelJobRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::CancelJob, request);
}
/**
* An Async wrapper for CancelJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CancelJobAsync(const CancelJobRequestT& request, const CancelJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::CancelJob, request, handler, context);
}
/**
* Create a new transcoding job. For information about jobs and job settings, see
* the User Guide at
* http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlSee
* Also:
AWS
* API Reference
*/
virtual Model::CreateJobOutcome CreateJob(const Model::CreateJobRequest& request) const;
/**
* A Callable wrapper for CreateJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateJobOutcomeCallable CreateJobCallable(const CreateJobRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::CreateJob, request);
}
/**
* An Async wrapper for CreateJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateJobAsync(const CreateJobRequestT& request, const CreateJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::CreateJob, request, handler, context);
}
/**
* Create a new job template. For information about job templates see the User
* Guide at
* http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlSee
* Also:
AWS
* API Reference
*/
virtual Model::CreateJobTemplateOutcome CreateJobTemplate(const Model::CreateJobTemplateRequest& request) const;
/**
* A Callable wrapper for CreateJobTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateJobTemplateOutcomeCallable CreateJobTemplateCallable(const CreateJobTemplateRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::CreateJobTemplate, request);
}
/**
* An Async wrapper for CreateJobTemplate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateJobTemplateAsync(const CreateJobTemplateRequestT& request, const CreateJobTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::CreateJobTemplate, request, handler, context);
}
/**
* Create a new preset. For information about job templates see the User Guide at
* http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlSee
* Also:
AWS
* API Reference
*/
virtual Model::CreatePresetOutcome CreatePreset(const Model::CreatePresetRequest& request) const;
/**
* A Callable wrapper for CreatePreset that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreatePresetOutcomeCallable CreatePresetCallable(const CreatePresetRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::CreatePreset, request);
}
/**
* An Async wrapper for CreatePreset that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreatePresetAsync(const CreatePresetRequestT& request, const CreatePresetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::CreatePreset, request, handler, context);
}
/**
* Create a new transcoding queue. For information about queues, see Working With
* Queues in the User Guide at
* https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.htmlSee
* Also:
AWS
* API Reference
*/
virtual Model::CreateQueueOutcome CreateQueue(const Model::CreateQueueRequest& request) const;
/**
* A Callable wrapper for CreateQueue that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateQueueOutcomeCallable CreateQueueCallable(const CreateQueueRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::CreateQueue, request);
}
/**
* An Async wrapper for CreateQueue that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateQueueAsync(const CreateQueueRequestT& request, const CreateQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::CreateQueue, request, handler, context);
}
/**
* Permanently delete a job template you have created.See Also:
AWS
* API Reference
*/
virtual Model::DeleteJobTemplateOutcome DeleteJobTemplate(const Model::DeleteJobTemplateRequest& request) const;
/**
* A Callable wrapper for DeleteJobTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteJobTemplateOutcomeCallable DeleteJobTemplateCallable(const DeleteJobTemplateRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::DeleteJobTemplate, request);
}
/**
* An Async wrapper for DeleteJobTemplate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteJobTemplateAsync(const DeleteJobTemplateRequestT& request, const DeleteJobTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::DeleteJobTemplate, request, handler, context);
}
/**
* Permanently delete a policy that you created.See Also:
AWS
* API Reference
*/
virtual Model::DeletePolicyOutcome DeletePolicy(const Model::DeletePolicyRequest& request) const;
/**
* A Callable wrapper for DeletePolicy that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeletePolicyOutcomeCallable DeletePolicyCallable(const DeletePolicyRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::DeletePolicy, request);
}
/**
* An Async wrapper for DeletePolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeletePolicyAsync(const DeletePolicyRequestT& request, const DeletePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::DeletePolicy, request, handler, context);
}
/**
* Permanently delete a preset you have created.See Also:
AWS
* API Reference
*/
virtual Model::DeletePresetOutcome DeletePreset(const Model::DeletePresetRequest& request) const;
/**
* A Callable wrapper for DeletePreset that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeletePresetOutcomeCallable DeletePresetCallable(const DeletePresetRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::DeletePreset, request);
}
/**
* An Async wrapper for DeletePreset that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeletePresetAsync(const DeletePresetRequestT& request, const DeletePresetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::DeletePreset, request, handler, context);
}
/**
* Permanently delete a queue you have created.See Also:
AWS
* API Reference
*/
virtual Model::DeleteQueueOutcome DeleteQueue(const Model::DeleteQueueRequest& request) const;
/**
* A Callable wrapper for DeleteQueue that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteQueueOutcomeCallable DeleteQueueCallable(const DeleteQueueRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::DeleteQueue, request);
}
/**
* An Async wrapper for DeleteQueue that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteQueueAsync(const DeleteQueueRequestT& request, const DeleteQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::DeleteQueue, request, handler, context);
}
/**
* Send an request with an empty body to the regional API endpoint to get your
* account API endpoint.See Also:
AWS
* API Reference
*/
virtual Model::DescribeEndpointsOutcome DescribeEndpoints(const Model::DescribeEndpointsRequest& request) const;
/**
* A Callable wrapper for DescribeEndpoints that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeEndpointsOutcomeCallable DescribeEndpointsCallable(const DescribeEndpointsRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::DescribeEndpoints, request);
}
/**
* An Async wrapper for DescribeEndpoints that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeEndpointsAsync(const DescribeEndpointsRequestT& request, const DescribeEndpointsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::DescribeEndpoints, request, handler, context);
}
/**
* Removes an association between the Amazon Resource Name (ARN) of an AWS
* Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert
* resource.See Also:
AWS
* API Reference
*/
virtual Model::DisassociateCertificateOutcome DisassociateCertificate(const Model::DisassociateCertificateRequest& request) const;
/**
* A Callable wrapper for DisassociateCertificate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DisassociateCertificateOutcomeCallable DisassociateCertificateCallable(const DisassociateCertificateRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::DisassociateCertificate, request);
}
/**
* An Async wrapper for DisassociateCertificate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DisassociateCertificateAsync(const DisassociateCertificateRequestT& request, const DisassociateCertificateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::DisassociateCertificate, request, handler, context);
}
/**
* Retrieve the JSON for a specific completed transcoding job.See Also:
* AWS
* API Reference
*/
virtual Model::GetJobOutcome GetJob(const Model::GetJobRequest& request) const;
/**
* A Callable wrapper for GetJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetJobOutcomeCallable GetJobCallable(const GetJobRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::GetJob, request);
}
/**
* An Async wrapper for GetJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetJobAsync(const GetJobRequestT& request, const GetJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::GetJob, request, handler, context);
}
/**
* Retrieve the JSON for a specific job template.See Also:
AWS
* API Reference
*/
virtual Model::GetJobTemplateOutcome GetJobTemplate(const Model::GetJobTemplateRequest& request) const;
/**
* A Callable wrapper for GetJobTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetJobTemplateOutcomeCallable GetJobTemplateCallable(const GetJobTemplateRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::GetJobTemplate, request);
}
/**
* An Async wrapper for GetJobTemplate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetJobTemplateAsync(const GetJobTemplateRequestT& request, const GetJobTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::GetJobTemplate, request, handler, context);
}
/**
* Retrieve the JSON for your policy.See Also:
AWS
* API Reference
*/
virtual Model::GetPolicyOutcome GetPolicy(const Model::GetPolicyRequest& request) const;
/**
* A Callable wrapper for GetPolicy that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPolicyOutcomeCallable GetPolicyCallable(const GetPolicyRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::GetPolicy, request);
}
/**
* An Async wrapper for GetPolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPolicyAsync(const GetPolicyRequestT& request, const GetPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::GetPolicy, request, handler, context);
}
/**
* Retrieve the JSON for a specific preset.See Also:
AWS
* API Reference
*/
virtual Model::GetPresetOutcome GetPreset(const Model::GetPresetRequest& request) const;
/**
* A Callable wrapper for GetPreset that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPresetOutcomeCallable GetPresetCallable(const GetPresetRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::GetPreset, request);
}
/**
* An Async wrapper for GetPreset that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPresetAsync(const GetPresetRequestT& request, const GetPresetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::GetPreset, request, handler, context);
}
/**
* Retrieve the JSON for a specific queue.See Also:
AWS
* API Reference
*/
virtual Model::GetQueueOutcome GetQueue(const Model::GetQueueRequest& request) const;
/**
* A Callable wrapper for GetQueue that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetQueueOutcomeCallable GetQueueCallable(const GetQueueRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::GetQueue, request);
}
/**
* An Async wrapper for GetQueue that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetQueueAsync(const GetQueueRequestT& request, const GetQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::GetQueue, request, handler, context);
}
/**
* Retrieve a JSON array of up to twenty of your job templates. This will return
* the templates themselves, not just a list of them. To retrieve the next twenty
* templates, use the nextToken string returned with the arraySee Also:
* AWS
* API Reference
*/
virtual Model::ListJobTemplatesOutcome ListJobTemplates(const Model::ListJobTemplatesRequest& request) const;
/**
* A Callable wrapper for ListJobTemplates that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListJobTemplatesOutcomeCallable ListJobTemplatesCallable(const ListJobTemplatesRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::ListJobTemplates, request);
}
/**
* An Async wrapper for ListJobTemplates that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListJobTemplatesAsync(const ListJobTemplatesRequestT& request, const ListJobTemplatesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::ListJobTemplates, request, handler, context);
}
/**
* Retrieve a JSON array of up to twenty of your most recently created jobs. This
* array includes in-process, completed, and errored jobs. This will return the
* jobs themselves, not just a list of the jobs. To retrieve the twenty next most
* recent jobs, use the nextToken string returned with the array.See
* Also:
AWS
* API Reference
*/
virtual Model::ListJobsOutcome ListJobs(const Model::ListJobsRequest& request) const;
/**
* A Callable wrapper for ListJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListJobsOutcomeCallable ListJobsCallable(const ListJobsRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::ListJobs, request);
}
/**
* An Async wrapper for ListJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListJobsAsync(const ListJobsRequestT& request, const ListJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::ListJobs, request, handler, context);
}
/**
* Retrieve a JSON array of up to twenty of your presets. This will return the
* presets themselves, not just a list of them. To retrieve the next twenty
* presets, use the nextToken string returned with the array.See Also:
* AWS
* API Reference
*/
virtual Model::ListPresetsOutcome ListPresets(const Model::ListPresetsRequest& request) const;
/**
* A Callable wrapper for ListPresets that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListPresetsOutcomeCallable ListPresetsCallable(const ListPresetsRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::ListPresets, request);
}
/**
* An Async wrapper for ListPresets that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListPresetsAsync(const ListPresetsRequestT& request, const ListPresetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::ListPresets, request, handler, context);
}
/**
* Retrieve a JSON array of up to twenty of your queues. This will return the
* queues themselves, not just a list of them. To retrieve the next twenty queues,
* use the nextToken string returned with the array.See Also:
AWS
* API Reference
*/
virtual Model::ListQueuesOutcome ListQueues(const Model::ListQueuesRequest& request) const;
/**
* A Callable wrapper for ListQueues that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListQueuesOutcomeCallable ListQueuesCallable(const ListQueuesRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::ListQueues, request);
}
/**
* An Async wrapper for ListQueues that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListQueuesAsync(const ListQueuesRequestT& request, const ListQueuesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::ListQueues, request, handler, context);
}
/**
* Retrieve the tags for a MediaConvert 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(&MediaConvertClient::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(&MediaConvertClient::ListTagsForResource, request, handler, context);
}
/**
* Create or change your policy. For more information about policies, see the user
* guide at
* http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlSee
* Also:
AWS
* API Reference
*/
virtual Model::PutPolicyOutcome PutPolicy(const Model::PutPolicyRequest& request) const;
/**
* A Callable wrapper for PutPolicy that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PutPolicyOutcomeCallable PutPolicyCallable(const PutPolicyRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::PutPolicy, request);
}
/**
* An Async wrapper for PutPolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PutPolicyAsync(const PutPolicyRequestT& request, const PutPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::PutPolicy, request, handler, context);
}
/**
* Add tags to a MediaConvert queue, preset, or job template. For information about
* tagging, see the User Guide at
* https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.htmlSee
* 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(&MediaConvertClient::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(&MediaConvertClient::TagResource, request, handler, context);
}
/**
* Remove tags from a MediaConvert queue, preset, or job template. For information
* about tagging, see the User Guide at
* https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.htmlSee
* 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(&MediaConvertClient::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(&MediaConvertClient::UntagResource, request, handler, context);
}
/**
* Modify one of your existing job templates.See Also:
AWS
* API Reference
*/
virtual Model::UpdateJobTemplateOutcome UpdateJobTemplate(const Model::UpdateJobTemplateRequest& request) const;
/**
* A Callable wrapper for UpdateJobTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateJobTemplateOutcomeCallable UpdateJobTemplateCallable(const UpdateJobTemplateRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::UpdateJobTemplate, request);
}
/**
* An Async wrapper for UpdateJobTemplate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateJobTemplateAsync(const UpdateJobTemplateRequestT& request, const UpdateJobTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::UpdateJobTemplate, request, handler, context);
}
/**
* Modify one of your existing presets.See Also:
AWS
* API Reference
*/
virtual Model::UpdatePresetOutcome UpdatePreset(const Model::UpdatePresetRequest& request) const;
/**
* A Callable wrapper for UpdatePreset that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdatePresetOutcomeCallable UpdatePresetCallable(const UpdatePresetRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::UpdatePreset, request);
}
/**
* An Async wrapper for UpdatePreset that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdatePresetAsync(const UpdatePresetRequestT& request, const UpdatePresetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::UpdatePreset, request, handler, context);
}
/**
* Modify one of your existing queues.See Also:
AWS
* API Reference
*/
virtual Model::UpdateQueueOutcome UpdateQueue(const Model::UpdateQueueRequest& request) const;
/**
* A Callable wrapper for UpdateQueue that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateQueueOutcomeCallable UpdateQueueCallable(const UpdateQueueRequestT& request) const
{
return SubmitCallable(&MediaConvertClient::UpdateQueue, request);
}
/**
* An Async wrapper for UpdateQueue that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateQueueAsync(const UpdateQueueRequestT& request, const UpdateQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MediaConvertClient::UpdateQueue, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const MediaConvertClientConfiguration& clientConfiguration);
MediaConvertClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace MediaConvert
} // namespace Aws