feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,857 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectErrors.h>
#include <aws/core/client/AWSError.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/client/AWSClient.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/mediaconnect/model/AddFlowOutputsResult.h>
#include <aws/mediaconnect/model/AddFlowSourcesResult.h>
#include <aws/mediaconnect/model/AddFlowVpcInterfacesResult.h>
#include <aws/mediaconnect/model/CreateFlowResult.h>
#include <aws/mediaconnect/model/DeleteFlowResult.h>
#include <aws/mediaconnect/model/DescribeFlowResult.h>
#include <aws/mediaconnect/model/GrantFlowEntitlementsResult.h>
#include <aws/mediaconnect/model/ListEntitlementsResult.h>
#include <aws/mediaconnect/model/ListFlowsResult.h>
#include <aws/mediaconnect/model/ListTagsForResourceResult.h>
#include <aws/mediaconnect/model/RemoveFlowOutputResult.h>
#include <aws/mediaconnect/model/RemoveFlowSourceResult.h>
#include <aws/mediaconnect/model/RemoveFlowVpcInterfaceResult.h>
#include <aws/mediaconnect/model/RevokeFlowEntitlementResult.h>
#include <aws/mediaconnect/model/StartFlowResult.h>
#include <aws/mediaconnect/model/StopFlowResult.h>
#include <aws/mediaconnect/model/UpdateFlowResult.h>
#include <aws/mediaconnect/model/UpdateFlowEntitlementResult.h>
#include <aws/mediaconnect/model/UpdateFlowOutputResult.h>
#include <aws/mediaconnect/model/UpdateFlowSourceResult.h>
#include <aws/core/NoResult.h>
#include <aws/core/client/AsyncCallerContext.h>
#include <aws/core/http/HttpTypes.h>
#include <future>
#include <functional>
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 MediaConnect
{
namespace Model
{
class AddFlowOutputsRequest;
class AddFlowSourcesRequest;
class AddFlowVpcInterfacesRequest;
class CreateFlowRequest;
class DeleteFlowRequest;
class DescribeFlowRequest;
class GrantFlowEntitlementsRequest;
class ListEntitlementsRequest;
class ListFlowsRequest;
class ListTagsForResourceRequest;
class RemoveFlowOutputRequest;
class RemoveFlowSourceRequest;
class RemoveFlowVpcInterfaceRequest;
class RevokeFlowEntitlementRequest;
class StartFlowRequest;
class StopFlowRequest;
class TagResourceRequest;
class UntagResourceRequest;
class UpdateFlowRequest;
class UpdateFlowEntitlementRequest;
class UpdateFlowOutputRequest;
class UpdateFlowSourceRequest;
typedef Aws::Utils::Outcome<AddFlowOutputsResult, MediaConnectError> AddFlowOutputsOutcome;
typedef Aws::Utils::Outcome<AddFlowSourcesResult, MediaConnectError> AddFlowSourcesOutcome;
typedef Aws::Utils::Outcome<AddFlowVpcInterfacesResult, MediaConnectError> AddFlowVpcInterfacesOutcome;
typedef Aws::Utils::Outcome<CreateFlowResult, MediaConnectError> CreateFlowOutcome;
typedef Aws::Utils::Outcome<DeleteFlowResult, MediaConnectError> DeleteFlowOutcome;
typedef Aws::Utils::Outcome<DescribeFlowResult, MediaConnectError> DescribeFlowOutcome;
typedef Aws::Utils::Outcome<GrantFlowEntitlementsResult, MediaConnectError> GrantFlowEntitlementsOutcome;
typedef Aws::Utils::Outcome<ListEntitlementsResult, MediaConnectError> ListEntitlementsOutcome;
typedef Aws::Utils::Outcome<ListFlowsResult, MediaConnectError> ListFlowsOutcome;
typedef Aws::Utils::Outcome<ListTagsForResourceResult, MediaConnectError> ListTagsForResourceOutcome;
typedef Aws::Utils::Outcome<RemoveFlowOutputResult, MediaConnectError> RemoveFlowOutputOutcome;
typedef Aws::Utils::Outcome<RemoveFlowSourceResult, MediaConnectError> RemoveFlowSourceOutcome;
typedef Aws::Utils::Outcome<RemoveFlowVpcInterfaceResult, MediaConnectError> RemoveFlowVpcInterfaceOutcome;
typedef Aws::Utils::Outcome<RevokeFlowEntitlementResult, MediaConnectError> RevokeFlowEntitlementOutcome;
typedef Aws::Utils::Outcome<StartFlowResult, MediaConnectError> StartFlowOutcome;
typedef Aws::Utils::Outcome<StopFlowResult, MediaConnectError> StopFlowOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, MediaConnectError> TagResourceOutcome;
typedef Aws::Utils::Outcome<Aws::NoResult, MediaConnectError> UntagResourceOutcome;
typedef Aws::Utils::Outcome<UpdateFlowResult, MediaConnectError> UpdateFlowOutcome;
typedef Aws::Utils::Outcome<UpdateFlowEntitlementResult, MediaConnectError> UpdateFlowEntitlementOutcome;
typedef Aws::Utils::Outcome<UpdateFlowOutputResult, MediaConnectError> UpdateFlowOutputOutcome;
typedef Aws::Utils::Outcome<UpdateFlowSourceResult, MediaConnectError> UpdateFlowSourceOutcome;
typedef std::future<AddFlowOutputsOutcome> AddFlowOutputsOutcomeCallable;
typedef std::future<AddFlowSourcesOutcome> AddFlowSourcesOutcomeCallable;
typedef std::future<AddFlowVpcInterfacesOutcome> AddFlowVpcInterfacesOutcomeCallable;
typedef std::future<CreateFlowOutcome> CreateFlowOutcomeCallable;
typedef std::future<DeleteFlowOutcome> DeleteFlowOutcomeCallable;
typedef std::future<DescribeFlowOutcome> DescribeFlowOutcomeCallable;
typedef std::future<GrantFlowEntitlementsOutcome> GrantFlowEntitlementsOutcomeCallable;
typedef std::future<ListEntitlementsOutcome> ListEntitlementsOutcomeCallable;
typedef std::future<ListFlowsOutcome> ListFlowsOutcomeCallable;
typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
typedef std::future<RemoveFlowOutputOutcome> RemoveFlowOutputOutcomeCallable;
typedef std::future<RemoveFlowSourceOutcome> RemoveFlowSourceOutcomeCallable;
typedef std::future<RemoveFlowVpcInterfaceOutcome> RemoveFlowVpcInterfaceOutcomeCallable;
typedef std::future<RevokeFlowEntitlementOutcome> RevokeFlowEntitlementOutcomeCallable;
typedef std::future<StartFlowOutcome> StartFlowOutcomeCallable;
typedef std::future<StopFlowOutcome> StopFlowOutcomeCallable;
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
typedef std::future<UpdateFlowOutcome> UpdateFlowOutcomeCallable;
typedef std::future<UpdateFlowEntitlementOutcome> UpdateFlowEntitlementOutcomeCallable;
typedef std::future<UpdateFlowOutputOutcome> UpdateFlowOutputOutcomeCallable;
typedef std::future<UpdateFlowSourceOutcome> UpdateFlowSourceOutcomeCallable;
} // namespace Model
class MediaConnectClient;
typedef std::function<void(const MediaConnectClient*, const Model::AddFlowOutputsRequest&, const Model::AddFlowOutputsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddFlowOutputsResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::AddFlowSourcesRequest&, const Model::AddFlowSourcesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddFlowSourcesResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::AddFlowVpcInterfacesRequest&, const Model::AddFlowVpcInterfacesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddFlowVpcInterfacesResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::CreateFlowRequest&, const Model::CreateFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateFlowResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::DeleteFlowRequest&, const Model::DeleteFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteFlowResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::DescribeFlowRequest&, const Model::DescribeFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeFlowResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::GrantFlowEntitlementsRequest&, const Model::GrantFlowEntitlementsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GrantFlowEntitlementsResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::ListEntitlementsRequest&, const Model::ListEntitlementsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListEntitlementsResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::ListFlowsRequest&, const Model::ListFlowsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListFlowsResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::RemoveFlowOutputRequest&, const Model::RemoveFlowOutputOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemoveFlowOutputResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::RemoveFlowSourceRequest&, const Model::RemoveFlowSourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemoveFlowSourceResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::RemoveFlowVpcInterfaceRequest&, const Model::RemoveFlowVpcInterfaceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemoveFlowVpcInterfaceResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::RevokeFlowEntitlementRequest&, const Model::RevokeFlowEntitlementOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RevokeFlowEntitlementResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::StartFlowRequest&, const Model::StartFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartFlowResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::StopFlowRequest&, const Model::StopFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopFlowResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::UpdateFlowRequest&, const Model::UpdateFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateFlowResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::UpdateFlowEntitlementRequest&, const Model::UpdateFlowEntitlementOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateFlowEntitlementResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::UpdateFlowOutputRequest&, const Model::UpdateFlowOutputOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateFlowOutputResponseReceivedHandler;
typedef std::function<void(const MediaConnectClient*, const Model::UpdateFlowSourceRequest&, const Model::UpdateFlowSourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateFlowSourceResponseReceivedHandler;
/**
* API for AWS Elemental MediaConnect
*/
class AWS_MEDIACONNECT_API MediaConnectClient : 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.
*/
MediaConnectClient(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.
*/
MediaConnectClient(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
*/
MediaConnectClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
virtual ~MediaConnectClient();
/**
* Adds outputs to an existing flow. You can create up to 50 outputs per
* flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs">AWS
* API Reference</a></p>
*/
virtual Model::AddFlowOutputsOutcome AddFlowOutputs(const Model::AddFlowOutputsRequest& request) const;
/**
* Adds outputs to an existing flow. You can create up to 50 outputs per
* flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::AddFlowOutputsOutcomeCallable AddFlowOutputsCallable(const Model::AddFlowOutputsRequest& request) const;
/**
* Adds outputs to an existing flow. You can create up to 50 outputs per
* flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void AddFlowOutputsAsync(const Model::AddFlowOutputsRequest& request, const AddFlowOutputsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Adds Sources to flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources">AWS
* API Reference</a></p>
*/
virtual Model::AddFlowSourcesOutcome AddFlowSources(const Model::AddFlowSourcesRequest& request) const;
/**
* Adds Sources to flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::AddFlowSourcesOutcomeCallable AddFlowSourcesCallable(const Model::AddFlowSourcesRequest& request) const;
/**
* Adds Sources to flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void AddFlowSourcesAsync(const Model::AddFlowSourcesRequest& request, const AddFlowSourcesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Adds VPC interfaces to flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces">AWS
* API Reference</a></p>
*/
virtual Model::AddFlowVpcInterfacesOutcome AddFlowVpcInterfaces(const Model::AddFlowVpcInterfacesRequest& request) const;
/**
* Adds VPC interfaces to flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::AddFlowVpcInterfacesOutcomeCallable AddFlowVpcInterfacesCallable(const Model::AddFlowVpcInterfacesRequest& request) const;
/**
* Adds VPC interfaces to flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void AddFlowVpcInterfacesAsync(const Model::AddFlowVpcInterfacesRequest& request, const AddFlowVpcInterfacesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Creates a new flow. The request must include one source. The request optionally
* can include outputs (up to 50) and entitlements (up to 50).<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow">AWS
* API Reference</a></p>
*/
virtual Model::CreateFlowOutcome CreateFlow(const Model::CreateFlowRequest& request) const;
/**
* Creates a new flow. The request must include one source. The request optionally
* can include outputs (up to 50) and entitlements (up to 50).<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::CreateFlowOutcomeCallable CreateFlowCallable(const Model::CreateFlowRequest& request) const;
/**
* Creates a new flow. The request must include one source. The request optionally
* can include outputs (up to 50) and entitlements (up to 50).<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void CreateFlowAsync(const Model::CreateFlowRequest& request, const CreateFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Deletes a flow. Before you can delete a flow, you must stop the flow.<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlow">AWS
* API Reference</a></p>
*/
virtual Model::DeleteFlowOutcome DeleteFlow(const Model::DeleteFlowRequest& request) const;
/**
* Deletes a flow. Before you can delete a flow, you must stop the flow.<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlow">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DeleteFlowOutcomeCallable DeleteFlowCallable(const Model::DeleteFlowRequest& request) const;
/**
* Deletes a flow. Before you can delete a flow, you must stop the flow.<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlow">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DeleteFlowAsync(const Model::DeleteFlowRequest& request, const DeleteFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Displays the details of a flow. The response includes the flow ARN, name, and
* Availability Zone, as well as details about the source, outputs, and
* entitlements.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow">AWS
* API Reference</a></p>
*/
virtual Model::DescribeFlowOutcome DescribeFlow(const Model::DescribeFlowRequest& request) const;
/**
* Displays the details of a flow. The response includes the flow ARN, name, and
* Availability Zone, as well as details about the source, outputs, and
* entitlements.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::DescribeFlowOutcomeCallable DescribeFlowCallable(const Model::DescribeFlowRequest& request) const;
/**
* Displays the details of a flow. The response includes the flow ARN, name, and
* Availability Zone, as well as details about the source, outputs, and
* entitlements.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void DescribeFlowAsync(const Model::DescribeFlowRequest& request, const DescribeFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Grants entitlements to an existing flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements">AWS
* API Reference</a></p>
*/
virtual Model::GrantFlowEntitlementsOutcome GrantFlowEntitlements(const Model::GrantFlowEntitlementsRequest& request) const;
/**
* Grants entitlements to an existing flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::GrantFlowEntitlementsOutcomeCallable GrantFlowEntitlementsCallable(const Model::GrantFlowEntitlementsRequest& request) const;
/**
* Grants entitlements to an existing flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void GrantFlowEntitlementsAsync(const Model::GrantFlowEntitlementsRequest& request, const GrantFlowEntitlementsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Displays a list of all entitlements that have been granted to this account. This
* request returns 20 results per page.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements">AWS
* API Reference</a></p>
*/
virtual Model::ListEntitlementsOutcome ListEntitlements(const Model::ListEntitlementsRequest& request) const;
/**
* Displays a list of all entitlements that have been granted to this account. This
* request returns 20 results per page.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListEntitlementsOutcomeCallable ListEntitlementsCallable(const Model::ListEntitlementsRequest& request) const;
/**
* Displays a list of all entitlements that have been granted to this account. This
* request returns 20 results per page.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListEntitlementsAsync(const Model::ListEntitlementsRequest& request, const ListEntitlementsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Displays a list of flows that are associated with this account. This request
* returns a paginated result.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows">AWS
* API Reference</a></p>
*/
virtual Model::ListFlowsOutcome ListFlows(const Model::ListFlowsRequest& request) const;
/**
* Displays a list of flows that are associated with this account. This request
* returns a paginated result.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListFlowsOutcomeCallable ListFlowsCallable(const Model::ListFlowsRequest& request) const;
/**
* Displays a list of flows that are associated with this account. This request
* returns a paginated result.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListFlowsAsync(const Model::ListFlowsRequest& request, const ListFlowsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* List all tags on an AWS Elemental MediaConnect resource<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListTagsForResource">AWS
* API Reference</a></p>
*/
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
/**
* List all tags on an AWS Elemental MediaConnect resource<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListTagsForResource">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest& request) const;
/**
* List all tags on an AWS Elemental MediaConnect resource<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListTagsForResource">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Removes an output from an existing flow. This request can be made only on an
* output that does not have an entitlement associated with it. If the output has
* an entitlement, you must revoke the entitlement instead. When an entitlement is
* revoked from a flow, the service automatically removes the associated
* output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutput">AWS
* API Reference</a></p>
*/
virtual Model::RemoveFlowOutputOutcome RemoveFlowOutput(const Model::RemoveFlowOutputRequest& request) const;
/**
* Removes an output from an existing flow. This request can be made only on an
* output that does not have an entitlement associated with it. If the output has
* an entitlement, you must revoke the entitlement instead. When an entitlement is
* revoked from a flow, the service automatically removes the associated
* output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutput">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::RemoveFlowOutputOutcomeCallable RemoveFlowOutputCallable(const Model::RemoveFlowOutputRequest& request) const;
/**
* Removes an output from an existing flow. This request can be made only on an
* output that does not have an entitlement associated with it. If the output has
* an entitlement, you must revoke the entitlement instead. When an entitlement is
* revoked from a flow, the service automatically removes the associated
* output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutput">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void RemoveFlowOutputAsync(const Model::RemoveFlowOutputRequest& request, const RemoveFlowOutputResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Removes a source from an existing flow. This request can be made only if there
* is more than one source on the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowSource">AWS
* API Reference</a></p>
*/
virtual Model::RemoveFlowSourceOutcome RemoveFlowSource(const Model::RemoveFlowSourceRequest& request) const;
/**
* Removes a source from an existing flow. This request can be made only if there
* is more than one source on the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowSource">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::RemoveFlowSourceOutcomeCallable RemoveFlowSourceCallable(const Model::RemoveFlowSourceRequest& request) const;
/**
* Removes a source from an existing flow. This request can be made only if there
* is more than one source on the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowSource">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void RemoveFlowSourceAsync(const Model::RemoveFlowSourceRequest& request, const RemoveFlowSourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Removes a VPC Interface from an existing flow. This request can be made only on
* a VPC interface that does not have a Source or Output associated with it. If the
* VPC interface is referenced by a Source or Output, you must first delete or
* update the Source or Output to no longer reference the VPC interface.<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface">AWS
* API Reference</a></p>
*/
virtual Model::RemoveFlowVpcInterfaceOutcome RemoveFlowVpcInterface(const Model::RemoveFlowVpcInterfaceRequest& request) const;
/**
* Removes a VPC Interface from an existing flow. This request can be made only on
* a VPC interface that does not have a Source or Output associated with it. If the
* VPC interface is referenced by a Source or Output, you must first delete or
* update the Source or Output to no longer reference the VPC interface.<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::RemoveFlowVpcInterfaceOutcomeCallable RemoveFlowVpcInterfaceCallable(const Model::RemoveFlowVpcInterfaceRequest& request) const;
/**
* Removes a VPC Interface from an existing flow. This request can be made only on
* a VPC interface that does not have a Source or Output associated with it. If the
* VPC interface is referenced by a Source or Output, you must first delete or
* update the Source or Output to no longer reference the VPC interface.<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void RemoveFlowVpcInterfaceAsync(const Model::RemoveFlowVpcInterfaceRequest& request, const RemoveFlowVpcInterfaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Revokes an entitlement from a flow. Once an entitlement is revoked, the content
* becomes unavailable to the subscriber and the associated output is
* removed.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement">AWS
* API Reference</a></p>
*/
virtual Model::RevokeFlowEntitlementOutcome RevokeFlowEntitlement(const Model::RevokeFlowEntitlementRequest& request) const;
/**
* Revokes an entitlement from a flow. Once an entitlement is revoked, the content
* becomes unavailable to the subscriber and the associated output is
* removed.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::RevokeFlowEntitlementOutcomeCallable RevokeFlowEntitlementCallable(const Model::RevokeFlowEntitlementRequest& request) const;
/**
* Revokes an entitlement from a flow. Once an entitlement is revoked, the content
* becomes unavailable to the subscriber and the associated output is
* removed.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void RevokeFlowEntitlementAsync(const Model::RevokeFlowEntitlementRequest& request, const RevokeFlowEntitlementResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Starts a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlow">AWS
* API Reference</a></p>
*/
virtual Model::StartFlowOutcome StartFlow(const Model::StartFlowRequest& request) const;
/**
* Starts a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlow">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::StartFlowOutcomeCallable StartFlowCallable(const Model::StartFlowRequest& request) const;
/**
* Starts a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlow">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void StartFlowAsync(const Model::StartFlowRequest& request, const StartFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Stops a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow">AWS
* API Reference</a></p>
*/
virtual Model::StopFlowOutcome StopFlow(const Model::StopFlowRequest& request) const;
/**
* Stops a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::StopFlowOutcomeCallable StopFlowCallable(const Model::StopFlowRequest& request) const;
/**
* Stops a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void StopFlowAsync(const Model::StopFlowRequest& request, const StopFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Associates the specified tags to a resource with the specified resourceArn. If
* existing tags on a resource are not specified in the request parameters, they
* are not changed. When a resource is deleted, the tags associated with that
* resource are deleted as well.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TagResource">AWS
* API Reference</a></p>
*/
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
/**
* Associates the specified tags to a resource with the specified resourceArn. If
* existing tags on a resource are not specified in the request parameters, they
* are not changed. When a resource is deleted, the tags associated with that
* resource are deleted as well.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TagResource">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::TagResourceOutcomeCallable TagResourceCallable(const Model::TagResourceRequest& request) const;
/**
* Associates the specified tags to a resource with the specified resourceArn. If
* existing tags on a resource are not specified in the request parameters, they
* are not changed. When a resource is deleted, the tags associated with that
* resource are deleted as well.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TagResource">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void TagResourceAsync(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Deletes specified tags from a resource.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UntagResource">AWS
* API Reference</a></p>
*/
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
/**
* Deletes specified tags from a resource.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UntagResource">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UntagResourceOutcomeCallable UntagResourceCallable(const Model::UntagResourceRequest& request) const;
/**
* Deletes specified tags from a resource.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UntagResource">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UntagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Updates flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow">AWS
* API Reference</a></p>
*/
virtual Model::UpdateFlowOutcome UpdateFlow(const Model::UpdateFlowRequest& request) const;
/**
* Updates flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateFlowOutcomeCallable UpdateFlowCallable(const Model::UpdateFlowRequest& request) const;
/**
* Updates flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateFlowAsync(const Model::UpdateFlowRequest& request, const UpdateFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* You can change an entitlement's description, subscribers, and encryption. If you
* change the subscribers, the service will remove the outputs that are are used by
* the subscribers that are removed.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlement">AWS
* API Reference</a></p>
*/
virtual Model::UpdateFlowEntitlementOutcome UpdateFlowEntitlement(const Model::UpdateFlowEntitlementRequest& request) const;
/**
* You can change an entitlement's description, subscribers, and encryption. If you
* change the subscribers, the service will remove the outputs that are are used by
* the subscribers that are removed.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlement">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateFlowEntitlementOutcomeCallable UpdateFlowEntitlementCallable(const Model::UpdateFlowEntitlementRequest& request) const;
/**
* You can change an entitlement's description, subscribers, and encryption. If you
* change the subscribers, the service will remove the outputs that are are used by
* the subscribers that are removed.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlement">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateFlowEntitlementAsync(const Model::UpdateFlowEntitlementRequest& request, const UpdateFlowEntitlementResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Updates an existing flow output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput">AWS
* API Reference</a></p>
*/
virtual Model::UpdateFlowOutputOutcome UpdateFlowOutput(const Model::UpdateFlowOutputRequest& request) const;
/**
* Updates an existing flow output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateFlowOutputOutcomeCallable UpdateFlowOutputCallable(const Model::UpdateFlowOutputRequest& request) const;
/**
* Updates an existing flow output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateFlowOutputAsync(const Model::UpdateFlowOutputRequest& request, const UpdateFlowOutputResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
/**
* Updates the source of a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource">AWS
* API Reference</a></p>
*/
virtual Model::UpdateFlowSourceOutcome UpdateFlowSource(const Model::UpdateFlowSourceRequest& request) const;
/**
* Updates the source of a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource">AWS
* API Reference</a></p>
*
* returns a future to the operation so that it can be executed in parallel to other requests.
*/
virtual Model::UpdateFlowSourceOutcomeCallable UpdateFlowSourceCallable(const Model::UpdateFlowSourceRequest& request) const;
/**
* Updates the source of a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource">AWS
* API Reference</a></p>
*
* Queues the request into a thread executor and triggers associated callback when operation has finished.
*/
virtual void UpdateFlowSourceAsync(const Model::UpdateFlowSourceRequest& request, const UpdateFlowSourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
void OverrideEndpoint(const Aws::String& endpoint);
private:
void init(const Aws::Client::ClientConfiguration& clientConfiguration);
void AddFlowOutputsAsyncHelper(const Model::AddFlowOutputsRequest& request, const AddFlowOutputsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void AddFlowSourcesAsyncHelper(const Model::AddFlowSourcesRequest& request, const AddFlowSourcesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void AddFlowVpcInterfacesAsyncHelper(const Model::AddFlowVpcInterfacesRequest& request, const AddFlowVpcInterfacesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void CreateFlowAsyncHelper(const Model::CreateFlowRequest& request, const CreateFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void DeleteFlowAsyncHelper(const Model::DeleteFlowRequest& request, const DeleteFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void DescribeFlowAsyncHelper(const Model::DescribeFlowRequest& request, const DescribeFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void GrantFlowEntitlementsAsyncHelper(const Model::GrantFlowEntitlementsRequest& request, const GrantFlowEntitlementsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void ListEntitlementsAsyncHelper(const Model::ListEntitlementsRequest& request, const ListEntitlementsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void ListFlowsAsyncHelper(const Model::ListFlowsRequest& request, const ListFlowsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void ListTagsForResourceAsyncHelper(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void RemoveFlowOutputAsyncHelper(const Model::RemoveFlowOutputRequest& request, const RemoveFlowOutputResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void RemoveFlowSourceAsyncHelper(const Model::RemoveFlowSourceRequest& request, const RemoveFlowSourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void RemoveFlowVpcInterfaceAsyncHelper(const Model::RemoveFlowVpcInterfaceRequest& request, const RemoveFlowVpcInterfaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void RevokeFlowEntitlementAsyncHelper(const Model::RevokeFlowEntitlementRequest& request, const RevokeFlowEntitlementResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void StartFlowAsyncHelper(const Model::StartFlowRequest& request, const StartFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void StopFlowAsyncHelper(const Model::StopFlowRequest& request, const StopFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void TagResourceAsyncHelper(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void UntagResourceAsyncHelper(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void UpdateFlowAsyncHelper(const Model::UpdateFlowRequest& request, const UpdateFlowResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void UpdateFlowEntitlementAsyncHelper(const Model::UpdateFlowEntitlementRequest& request, const UpdateFlowEntitlementResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void UpdateFlowOutputAsyncHelper(const Model::UpdateFlowOutputRequest& request, const UpdateFlowOutputResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
void UpdateFlowSourceAsyncHelper(const Model::UpdateFlowSourceRequest& request, const UpdateFlowSourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
Aws::String m_uri;
Aws::String m_configScheme;
std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
};
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,21 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace MediaConnectEndpoint
{
AWS_MEDIACONNECT_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace MediaConnectEndpoint
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,23 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_MEDIACONNECT_API MediaConnectErrorMarshaller : public Aws::Client::JsonErrorMarshaller
{
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};
} // namespace Client
} // namespace Aws

View File

@@ -0,0 +1,79 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/core/client/AWSError.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
namespace Aws
{
namespace MediaConnect
{
enum class MediaConnectErrors
{
//From Core//
//////////////////////////////////////////////////////////////////////////////////////////
INCOMPLETE_SIGNATURE = 0,
INTERNAL_FAILURE = 1,
INVALID_ACTION = 2,
INVALID_CLIENT_TOKEN_ID = 3,
INVALID_PARAMETER_COMBINATION = 4,
INVALID_QUERY_PARAMETER = 5,
INVALID_PARAMETER_VALUE = 6,
MISSING_ACTION = 7, // SDK should never allow
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
MISSING_PARAMETER = 9, // SDK should never allow
OPT_IN_REQUIRED = 10,
REQUEST_EXPIRED = 11,
SERVICE_UNAVAILABLE = 12,
THROTTLING = 13,
VALIDATION = 14,
ACCESS_DENIED = 15,
RESOURCE_NOT_FOUND = 16,
UNRECOGNIZED_CLIENT = 17,
MALFORMED_QUERY_STRING = 18,
SLOW_DOWN = 19,
REQUEST_TIME_TOO_SKEWED = 20,
INVALID_SIGNATURE = 21,
SIGNATURE_DOES_NOT_MATCH = 22,
INVALID_ACCESS_KEY_ID = 23,
REQUEST_TIMEOUT = 24,
NETWORK_CONNECTION = 99,
UNKNOWN = 100,
///////////////////////////////////////////////////////////////////////////////////////////
ADD_FLOW_OUTPUTS420= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
BAD_REQUEST,
CREATE_FLOW420,
FORBIDDEN,
GRANT_FLOW_ENTITLEMENTS420,
INTERNAL_SERVER_ERROR,
NOT_FOUND,
TOO_MANY_REQUESTS
};
class AWS_MEDIACONNECT_API MediaConnectError : public Aws::Client::AWSError<MediaConnectErrors>
{
public:
MediaConnectError() {}
MediaConnectError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<MediaConnectErrors>(rhs) {}
MediaConnectError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<MediaConnectErrors>(rhs) {}
MediaConnectError(const Aws::Client::AWSError<MediaConnectErrors>& rhs) : Aws::Client::AWSError<MediaConnectErrors>(rhs) {}
MediaConnectError(Aws::Client::AWSError<MediaConnectErrors>&& rhs) : Aws::Client::AWSError<MediaConnectErrors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace MediaConnectErrorMapper
{
AWS_MEDIACONNECT_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,42 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace MediaConnect
{
class AWS_MEDIACONNECT_API MediaConnectRequest : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~MediaConnectRequest () {}
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
inline Aws::Http::HeaderValueCollection GetHeaders() const override
{
auto headers = GetRequestSpecificHeaders();
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
{
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_JSON_CONTENT_TYPE_1_1 ));
}
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2018-11-14"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,29 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#ifdef _MSC_VER
//disable windows complaining about max template size.
#pragma warning (disable : 4503)
#endif // _MSC_VER
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
#ifdef _MSC_VER
#pragma warning(disable : 4251)
#endif // _MSC_VER
#ifdef USE_IMPORT_EXPORT
#ifdef AWS_MEDIACONNECT_EXPORTS
#define AWS_MEDIACONNECT_API __declspec(dllexport)
#else
#define AWS_MEDIACONNECT_API __declspec(dllimport)
#endif /* AWS_MEDIACONNECT_EXPORTS */
#else
#define AWS_MEDIACONNECT_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_MEDIACONNECT_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,132 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/AddOutputRequest.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* A request to add outputs to the specified flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputsRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API AddFlowOutputsRequest : public MediaConnectRequest
{
public:
AddFlowOutputsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AddFlowOutputs"; }
Aws::String SerializePayload() const override;
/**
* The flow that you want to add outputs to.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to add outputs to.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to add outputs to.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to add outputs to.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to add outputs to.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to add outputs to.
*/
inline AddFlowOutputsRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to add outputs to.
*/
inline AddFlowOutputsRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to add outputs to.
*/
inline AddFlowOutputsRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* A list of outputs that you want to add.
*/
inline const Aws::Vector<AddOutputRequest>& GetOutputs() const{ return m_outputs; }
/**
* A list of outputs that you want to add.
*/
inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
/**
* A list of outputs that you want to add.
*/
inline void SetOutputs(const Aws::Vector<AddOutputRequest>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
/**
* A list of outputs that you want to add.
*/
inline void SetOutputs(Aws::Vector<AddOutputRequest>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
/**
* A list of outputs that you want to add.
*/
inline AddFlowOutputsRequest& WithOutputs(const Aws::Vector<AddOutputRequest>& value) { SetOutputs(value); return *this;}
/**
* A list of outputs that you want to add.
*/
inline AddFlowOutputsRequest& WithOutputs(Aws::Vector<AddOutputRequest>&& value) { SetOutputs(std::move(value)); return *this;}
/**
* A list of outputs that you want to add.
*/
inline AddFlowOutputsRequest& AddOutputs(const AddOutputRequest& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
/**
* A list of outputs that you want to add.
*/
inline AddFlowOutputsRequest& AddOutputs(AddOutputRequest&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::Vector<AddOutputRequest> m_outputs;
bool m_outputsHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/Output.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API AddFlowOutputsResult
{
public:
AddFlowOutputsResult();
AddFlowOutputsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddFlowOutputsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that these outputs were added to.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that these outputs were added to.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that these outputs were added to.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that these outputs were added to.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that these outputs were added to.
*/
inline AddFlowOutputsResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that these outputs were added to.
*/
inline AddFlowOutputsResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that these outputs were added to.
*/
inline AddFlowOutputsResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The details of the newly added outputs.
*/
inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
/**
* The details of the newly added outputs.
*/
inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputs = value; }
/**
* The details of the newly added outputs.
*/
inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputs = std::move(value); }
/**
* The details of the newly added outputs.
*/
inline AddFlowOutputsResult& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
/**
* The details of the newly added outputs.
*/
inline AddFlowOutputsResult& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
/**
* The details of the newly added outputs.
*/
inline AddFlowOutputsResult& AddOutputs(const Output& value) { m_outputs.push_back(value); return *this; }
/**
* The details of the newly added outputs.
*/
inline AddFlowOutputsResult& AddOutputs(Output&& value) { m_outputs.push_back(std::move(value)); return *this; }
private:
Aws::String m_flowArn;
Aws::Vector<Output> m_outputs;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,132 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/SetSourceRequest.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* A request to add sources to the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSourcesRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API AddFlowSourcesRequest : public MediaConnectRequest
{
public:
AddFlowSourcesRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AddFlowSources"; }
Aws::String SerializePayload() const override;
/**
* The flow that you want to mutate.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to mutate.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to mutate.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to mutate.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to mutate.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to mutate.
*/
inline AddFlowSourcesRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to mutate.
*/
inline AddFlowSourcesRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to mutate.
*/
inline AddFlowSourcesRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* A list of sources that you want to add.
*/
inline const Aws::Vector<SetSourceRequest>& GetSources() const{ return m_sources; }
/**
* A list of sources that you want to add.
*/
inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
/**
* A list of sources that you want to add.
*/
inline void SetSources(const Aws::Vector<SetSourceRequest>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
/**
* A list of sources that you want to add.
*/
inline void SetSources(Aws::Vector<SetSourceRequest>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
/**
* A list of sources that you want to add.
*/
inline AddFlowSourcesRequest& WithSources(const Aws::Vector<SetSourceRequest>& value) { SetSources(value); return *this;}
/**
* A list of sources that you want to add.
*/
inline AddFlowSourcesRequest& WithSources(Aws::Vector<SetSourceRequest>&& value) { SetSources(std::move(value)); return *this;}
/**
* A list of sources that you want to add.
*/
inline AddFlowSourcesRequest& AddSources(const SetSourceRequest& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
/**
* A list of sources that you want to add.
*/
inline AddFlowSourcesRequest& AddSources(SetSourceRequest&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::Vector<SetSourceRequest> m_sources;
bool m_sourcesHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API AddFlowSourcesResult
{
public:
AddFlowSourcesResult();
AddFlowSourcesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddFlowSourcesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that these sources were added to.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that these sources were added to.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that these sources were added to.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that these sources were added to.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that these sources were added to.
*/
inline AddFlowSourcesResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that these sources were added to.
*/
inline AddFlowSourcesResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that these sources were added to.
*/
inline AddFlowSourcesResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The details of the newly added sources.
*/
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
/**
* The details of the newly added sources.
*/
inline void SetSources(const Aws::Vector<Source>& value) { m_sources = value; }
/**
* The details of the newly added sources.
*/
inline void SetSources(Aws::Vector<Source>&& value) { m_sources = std::move(value); }
/**
* The details of the newly added sources.
*/
inline AddFlowSourcesResult& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
/**
* The details of the newly added sources.
*/
inline AddFlowSourcesResult& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
/**
* The details of the newly added sources.
*/
inline AddFlowSourcesResult& AddSources(const Source& value) { m_sources.push_back(value); return *this; }
/**
* The details of the newly added sources.
*/
inline AddFlowSourcesResult& AddSources(Source&& value) { m_sources.push_back(std::move(value)); return *this; }
private:
Aws::String m_flowArn;
Aws::Vector<Source> m_sources;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,132 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/VpcInterfaceRequest.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* A request to add VPC interfaces to the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfacesRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API AddFlowVpcInterfacesRequest : public MediaConnectRequest
{
public:
AddFlowVpcInterfacesRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AddFlowVpcInterfaces"; }
Aws::String SerializePayload() const override;
/**
* The flow that you want to mutate.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to mutate.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to mutate.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to mutate.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to mutate.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to mutate.
*/
inline AddFlowVpcInterfacesRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to mutate.
*/
inline AddFlowVpcInterfacesRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to mutate.
*/
inline AddFlowVpcInterfacesRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* A list of VPC interfaces that you want to add.
*/
inline const Aws::Vector<VpcInterfaceRequest>& GetVpcInterfaces() const{ return m_vpcInterfaces; }
/**
* A list of VPC interfaces that you want to add.
*/
inline bool VpcInterfacesHasBeenSet() const { return m_vpcInterfacesHasBeenSet; }
/**
* A list of VPC interfaces that you want to add.
*/
inline void SetVpcInterfaces(const Aws::Vector<VpcInterfaceRequest>& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = value; }
/**
* A list of VPC interfaces that you want to add.
*/
inline void SetVpcInterfaces(Aws::Vector<VpcInterfaceRequest>&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = std::move(value); }
/**
* A list of VPC interfaces that you want to add.
*/
inline AddFlowVpcInterfacesRequest& WithVpcInterfaces(const Aws::Vector<VpcInterfaceRequest>& value) { SetVpcInterfaces(value); return *this;}
/**
* A list of VPC interfaces that you want to add.
*/
inline AddFlowVpcInterfacesRequest& WithVpcInterfaces(Aws::Vector<VpcInterfaceRequest>&& value) { SetVpcInterfaces(std::move(value)); return *this;}
/**
* A list of VPC interfaces that you want to add.
*/
inline AddFlowVpcInterfacesRequest& AddVpcInterfaces(const VpcInterfaceRequest& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(value); return *this; }
/**
* A list of VPC interfaces that you want to add.
*/
inline AddFlowVpcInterfacesRequest& AddVpcInterfaces(VpcInterfaceRequest&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(std::move(value)); return *this; }
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::Vector<VpcInterfaceRequest> m_vpcInterfaces;
bool m_vpcInterfacesHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/VpcInterface.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API AddFlowVpcInterfacesResult
{
public:
AddFlowVpcInterfacesResult();
AddFlowVpcInterfacesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddFlowVpcInterfacesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
inline AddFlowVpcInterfacesResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
inline AddFlowVpcInterfacesResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that these VPC interfaces were added to.
*/
inline AddFlowVpcInterfacesResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The details of the newly added VPC interfaces.
*/
inline const Aws::Vector<VpcInterface>& GetVpcInterfaces() const{ return m_vpcInterfaces; }
/**
* The details of the newly added VPC interfaces.
*/
inline void SetVpcInterfaces(const Aws::Vector<VpcInterface>& value) { m_vpcInterfaces = value; }
/**
* The details of the newly added VPC interfaces.
*/
inline void SetVpcInterfaces(Aws::Vector<VpcInterface>&& value) { m_vpcInterfaces = std::move(value); }
/**
* The details of the newly added VPC interfaces.
*/
inline AddFlowVpcInterfacesResult& WithVpcInterfaces(const Aws::Vector<VpcInterface>& value) { SetVpcInterfaces(value); return *this;}
/**
* The details of the newly added VPC interfaces.
*/
inline AddFlowVpcInterfacesResult& WithVpcInterfaces(Aws::Vector<VpcInterface>&& value) { SetVpcInterfaces(std::move(value)); return *this;}
/**
* The details of the newly added VPC interfaces.
*/
inline AddFlowVpcInterfacesResult& AddVpcInterfaces(const VpcInterface& value) { m_vpcInterfaces.push_back(value); return *this; }
/**
* The details of the newly added VPC interfaces.
*/
inline AddFlowVpcInterfacesResult& AddVpcInterfaces(VpcInterface&& value) { m_vpcInterfaces.push_back(std::move(value)); return *this; }
private:
Aws::String m_flowArn;
Aws::Vector<VpcInterface> m_vpcInterfaces;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,531 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Encryption.h>
#include <aws/mediaconnect/model/Protocol.h>
#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The output that you want to add to this flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddOutputRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API AddOutputRequest
{
public:
AddOutputRequest();
AddOutputRequest(Aws::Utils::Json::JsonView jsonValue);
AddOutputRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline const Aws::Vector<Aws::String>& GetCidrAllowList() const{ return m_cidrAllowList; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline bool CidrAllowListHasBeenSet() const { return m_cidrAllowListHasBeenSet; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetCidrAllowList(const Aws::Vector<Aws::String>& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = value; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetCidrAllowList(Aws::Vector<Aws::String>&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = std::move(value); }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline AddOutputRequest& WithCidrAllowList(const Aws::Vector<Aws::String>& value) { SetCidrAllowList(value); return *this;}
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline AddOutputRequest& WithCidrAllowList(Aws::Vector<Aws::String>&& value) { SetCidrAllowList(std::move(value)); return *this;}
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline AddOutputRequest& AddCidrAllowList(const Aws::String& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline AddOutputRequest& AddCidrAllowList(Aws::String&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(std::move(value)); return *this; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline AddOutputRequest& AddCidrAllowList(const char* value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline AddOutputRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline AddOutputRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline AddOutputRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The IP address from which video will be sent to output destinations.
*/
inline const Aws::String& GetDestination() const{ return m_destination; }
/**
* The IP address from which video will be sent to output destinations.
*/
inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
/**
* The IP address from which video will be sent to output destinations.
*/
inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
/**
* The IP address from which video will be sent to output destinations.
*/
inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
/**
* The IP address from which video will be sent to output destinations.
*/
inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
/**
* The IP address from which video will be sent to output destinations.
*/
inline AddOutputRequest& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
/**
* The IP address from which video will be sent to output destinations.
*/
inline AddOutputRequest& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
/**
* The IP address from which video will be sent to output destinations.
*/
inline AddOutputRequest& WithDestination(const char* value) { SetDestination(value); return *this;}
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline const Encryption& GetEncryption() const{ return m_encryption; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline AddOutputRequest& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline AddOutputRequest& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline int GetMaxLatency() const{ return m_maxLatency; }
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline AddOutputRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
/**
* The name of the output. This value must be unique within the current flow.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline AddOutputRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the output. This value must be unique within the current flow.
*/
inline AddOutputRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the output. This value must be unique within the current flow.
*/
inline AddOutputRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* The port to use when content is distributed to this output.
*/
inline int GetPort() const{ return m_port; }
/**
* The port to use when content is distributed to this output.
*/
inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
/**
* The port to use when content is distributed to this output.
*/
inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
/**
* The port to use when content is distributed to this output.
*/
inline AddOutputRequest& WithPort(int value) { SetPort(value); return *this;}
/**
* The protocol to use for the output.
*/
inline const Protocol& GetProtocol() const{ return m_protocol; }
/**
* The protocol to use for the output.
*/
inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
/**
* The protocol to use for the output.
*/
inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
/**
* The protocol to use for the output.
*/
inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
/**
* The protocol to use for the output.
*/
inline AddOutputRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
/**
* The protocol to use for the output.
*/
inline AddOutputRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
/**
* The remote ID for the Zixi-pull output stream.
*/
inline const Aws::String& GetRemoteId() const{ return m_remoteId; }
/**
* The remote ID for the Zixi-pull output stream.
*/
inline bool RemoteIdHasBeenSet() const { return m_remoteIdHasBeenSet; }
/**
* The remote ID for the Zixi-pull output stream.
*/
inline void SetRemoteId(const Aws::String& value) { m_remoteIdHasBeenSet = true; m_remoteId = value; }
/**
* The remote ID for the Zixi-pull output stream.
*/
inline void SetRemoteId(Aws::String&& value) { m_remoteIdHasBeenSet = true; m_remoteId = std::move(value); }
/**
* The remote ID for the Zixi-pull output stream.
*/
inline void SetRemoteId(const char* value) { m_remoteIdHasBeenSet = true; m_remoteId.assign(value); }
/**
* The remote ID for the Zixi-pull output stream.
*/
inline AddOutputRequest& WithRemoteId(const Aws::String& value) { SetRemoteId(value); return *this;}
/**
* The remote ID for the Zixi-pull output stream.
*/
inline AddOutputRequest& WithRemoteId(Aws::String&& value) { SetRemoteId(std::move(value)); return *this;}
/**
* The remote ID for the Zixi-pull output stream.
*/
inline AddOutputRequest& WithRemoteId(const char* value) { SetRemoteId(value); return *this;}
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline int GetSmoothingLatency() const{ return m_smoothingLatency; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline bool SmoothingLatencyHasBeenSet() const { return m_smoothingLatencyHasBeenSet; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline void SetSmoothingLatency(int value) { m_smoothingLatencyHasBeenSet = true; m_smoothingLatency = value; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline AddOutputRequest& WithSmoothingLatency(int value) { SetSmoothingLatency(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline const Aws::String& GetStreamId() const{ return m_streamId; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline AddOutputRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline AddOutputRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline AddOutputRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
/**
* The name of the VPC interface attachment to use for this output.
*/
inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const{ return m_vpcInterfaceAttachment; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline void SetVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = value; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline void SetVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::move(value); }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline AddOutputRequest& WithVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { SetVpcInterfaceAttachment(value); return *this;}
/**
* The name of the VPC interface attachment to use for this output.
*/
inline AddOutputRequest& WithVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { SetVpcInterfaceAttachment(std::move(value)); return *this;}
private:
Aws::Vector<Aws::String> m_cidrAllowList;
bool m_cidrAllowListHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_destination;
bool m_destinationHasBeenSet;
Encryption m_encryption;
bool m_encryptionHasBeenSet;
int m_maxLatency;
bool m_maxLatencyHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
int m_port;
bool m_portHasBeenSet;
Protocol m_protocol;
bool m_protocolHasBeenSet;
Aws::String m_remoteId;
bool m_remoteIdHasBeenSet;
int m_smoothingLatency;
bool m_smoothingLatencyHasBeenSet;
Aws::String m_streamId;
bool m_streamIdHasBeenSet;
VpcInterfaceAttachment m_vpcInterfaceAttachment;
bool m_vpcInterfaceAttachmentHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
enum class Algorithm
{
NOT_SET,
aes128,
aes192,
aes256
};
namespace AlgorithmMapper
{
AWS_MEDIACONNECT_API Algorithm GetAlgorithmForName(const Aws::String& name);
AWS_MEDIACONNECT_API Aws::String GetNameForAlgorithm(Algorithm value);
} // namespace AlgorithmMapper
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,350 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/SetSourceRequest.h>
#include <aws/mediaconnect/model/FailoverConfig.h>
#include <aws/mediaconnect/model/GrantEntitlementRequest.h>
#include <aws/mediaconnect/model/AddOutputRequest.h>
#include <aws/mediaconnect/model/VpcInterfaceRequest.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* Creates a new flow. The request must include one source. The request optionally
* can include outputs (up to 50) and entitlements (up to 50).<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlowRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API CreateFlowRequest : public MediaConnectRequest
{
public:
CreateFlowRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateFlow"; }
Aws::String SerializePayload() const override;
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline CreateFlowRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline CreateFlowRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS Region.
*/
inline CreateFlowRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
/**
* The entitlements that you want to grant on a flow.
*/
inline const Aws::Vector<GrantEntitlementRequest>& GetEntitlements() const{ return m_entitlements; }
/**
* The entitlements that you want to grant on a flow.
*/
inline bool EntitlementsHasBeenSet() const { return m_entitlementsHasBeenSet; }
/**
* The entitlements that you want to grant on a flow.
*/
inline void SetEntitlements(const Aws::Vector<GrantEntitlementRequest>& value) { m_entitlementsHasBeenSet = true; m_entitlements = value; }
/**
* The entitlements that you want to grant on a flow.
*/
inline void SetEntitlements(Aws::Vector<GrantEntitlementRequest>&& value) { m_entitlementsHasBeenSet = true; m_entitlements = std::move(value); }
/**
* The entitlements that you want to grant on a flow.
*/
inline CreateFlowRequest& WithEntitlements(const Aws::Vector<GrantEntitlementRequest>& value) { SetEntitlements(value); return *this;}
/**
* The entitlements that you want to grant on a flow.
*/
inline CreateFlowRequest& WithEntitlements(Aws::Vector<GrantEntitlementRequest>&& value) { SetEntitlements(std::move(value)); return *this;}
/**
* The entitlements that you want to grant on a flow.
*/
inline CreateFlowRequest& AddEntitlements(const GrantEntitlementRequest& value) { m_entitlementsHasBeenSet = true; m_entitlements.push_back(value); return *this; }
/**
* The entitlements that you want to grant on a flow.
*/
inline CreateFlowRequest& AddEntitlements(GrantEntitlementRequest&& value) { m_entitlementsHasBeenSet = true; m_entitlements.push_back(std::move(value)); return *this; }
/**
* The name of the flow.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the flow.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the flow.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the flow.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the flow.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the flow.
*/
inline CreateFlowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the flow.
*/
inline CreateFlowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the flow.
*/
inline CreateFlowRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* The outputs that you want to add to this flow.
*/
inline const Aws::Vector<AddOutputRequest>& GetOutputs() const{ return m_outputs; }
/**
* The outputs that you want to add to this flow.
*/
inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
/**
* The outputs that you want to add to this flow.
*/
inline void SetOutputs(const Aws::Vector<AddOutputRequest>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
/**
* The outputs that you want to add to this flow.
*/
inline void SetOutputs(Aws::Vector<AddOutputRequest>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
/**
* The outputs that you want to add to this flow.
*/
inline CreateFlowRequest& WithOutputs(const Aws::Vector<AddOutputRequest>& value) { SetOutputs(value); return *this;}
/**
* The outputs that you want to add to this flow.
*/
inline CreateFlowRequest& WithOutputs(Aws::Vector<AddOutputRequest>&& value) { SetOutputs(std::move(value)); return *this;}
/**
* The outputs that you want to add to this flow.
*/
inline CreateFlowRequest& AddOutputs(const AddOutputRequest& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
/**
* The outputs that you want to add to this flow.
*/
inline CreateFlowRequest& AddOutputs(AddOutputRequest&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
inline const SetSourceRequest& GetSource() const{ return m_source; }
inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
inline void SetSource(const SetSourceRequest& value) { m_sourceHasBeenSet = true; m_source = value; }
inline void SetSource(SetSourceRequest&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
inline CreateFlowRequest& WithSource(const SetSourceRequest& value) { SetSource(value); return *this;}
inline CreateFlowRequest& WithSource(SetSourceRequest&& value) { SetSource(std::move(value)); return *this;}
inline const FailoverConfig& GetSourceFailoverConfig() const{ return m_sourceFailoverConfig; }
inline bool SourceFailoverConfigHasBeenSet() const { return m_sourceFailoverConfigHasBeenSet; }
inline void SetSourceFailoverConfig(const FailoverConfig& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = value; }
inline void SetSourceFailoverConfig(FailoverConfig&& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = std::move(value); }
inline CreateFlowRequest& WithSourceFailoverConfig(const FailoverConfig& value) { SetSourceFailoverConfig(value); return *this;}
inline CreateFlowRequest& WithSourceFailoverConfig(FailoverConfig&& value) { SetSourceFailoverConfig(std::move(value)); return *this;}
inline const Aws::Vector<SetSourceRequest>& GetSources() const{ return m_sources; }
inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
inline void SetSources(const Aws::Vector<SetSourceRequest>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
inline void SetSources(Aws::Vector<SetSourceRequest>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
inline CreateFlowRequest& WithSources(const Aws::Vector<SetSourceRequest>& value) { SetSources(value); return *this;}
inline CreateFlowRequest& WithSources(Aws::Vector<SetSourceRequest>&& value) { SetSources(std::move(value)); return *this;}
inline CreateFlowRequest& AddSources(const SetSourceRequest& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
inline CreateFlowRequest& AddSources(SetSourceRequest&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
/**
* The VPC interfaces you want on the flow.
*/
inline const Aws::Vector<VpcInterfaceRequest>& GetVpcInterfaces() const{ return m_vpcInterfaces; }
/**
* The VPC interfaces you want on the flow.
*/
inline bool VpcInterfacesHasBeenSet() const { return m_vpcInterfacesHasBeenSet; }
/**
* The VPC interfaces you want on the flow.
*/
inline void SetVpcInterfaces(const Aws::Vector<VpcInterfaceRequest>& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = value; }
/**
* The VPC interfaces you want on the flow.
*/
inline void SetVpcInterfaces(Aws::Vector<VpcInterfaceRequest>&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = std::move(value); }
/**
* The VPC interfaces you want on the flow.
*/
inline CreateFlowRequest& WithVpcInterfaces(const Aws::Vector<VpcInterfaceRequest>& value) { SetVpcInterfaces(value); return *this;}
/**
* The VPC interfaces you want on the flow.
*/
inline CreateFlowRequest& WithVpcInterfaces(Aws::Vector<VpcInterfaceRequest>&& value) { SetVpcInterfaces(std::move(value)); return *this;}
/**
* The VPC interfaces you want on the flow.
*/
inline CreateFlowRequest& AddVpcInterfaces(const VpcInterfaceRequest& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(value); return *this; }
/**
* The VPC interfaces you want on the flow.
*/
inline CreateFlowRequest& AddVpcInterfaces(VpcInterfaceRequest&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(std::move(value)); return *this; }
private:
Aws::String m_availabilityZone;
bool m_availabilityZoneHasBeenSet;
Aws::Vector<GrantEntitlementRequest> m_entitlements;
bool m_entitlementsHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<AddOutputRequest> m_outputs;
bool m_outputsHasBeenSet;
SetSourceRequest m_source;
bool m_sourceHasBeenSet;
FailoverConfig m_sourceFailoverConfig;
bool m_sourceFailoverConfigHasBeenSet;
Aws::Vector<SetSourceRequest> m_sources;
bool m_sourcesHasBeenSet;
Aws::Vector<VpcInterfaceRequest> m_vpcInterfaces;
bool m_vpcInterfacesHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,57 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Flow.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API CreateFlowResult
{
public:
CreateFlowResult();
CreateFlowResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateFlowResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
inline const Flow& GetFlow() const{ return m_flow; }
inline void SetFlow(const Flow& value) { m_flow = value; }
inline void SetFlow(Flow&& value) { m_flow = std::move(value); }
inline CreateFlowResult& WithFlow(const Flow& value) { SetFlow(value); return *this;}
inline CreateFlowResult& WithFlow(Flow&& value) { SetFlow(std::move(value)); return *this;}
private:
Flow m_flow;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API DeleteFlowRequest : public MediaConnectRequest
{
public:
DeleteFlowRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteFlow"; }
Aws::String SerializePayload() const override;
/**
* The ARN of the flow that you want to delete.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you want to delete.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The ARN of the flow that you want to delete.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The ARN of the flow that you want to delete.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The ARN of the flow that you want to delete.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The ARN of the flow that you want to delete.
*/
inline DeleteFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you want to delete.
*/
inline DeleteFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you want to delete.
*/
inline DeleteFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,106 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Status.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API DeleteFlowResult
{
public:
DeleteFlowResult();
DeleteFlowResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteFlowResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that was deleted.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that was deleted.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that was deleted.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that was deleted.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that was deleted.
*/
inline DeleteFlowResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that was deleted.
*/
inline DeleteFlowResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that was deleted.
*/
inline DeleteFlowResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The status of the flow when the DeleteFlow process begins.
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* The status of the flow when the DeleteFlow process begins.
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* The status of the flow when the DeleteFlow process begins.
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* The status of the flow when the DeleteFlow process begins.
*/
inline DeleteFlowResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* The status of the flow when the DeleteFlow process begins.
*/
inline DeleteFlowResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::String m_flowArn;
Status m_status;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API DescribeFlowRequest : public MediaConnectRequest
{
public:
DescribeFlowRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeFlow"; }
Aws::String SerializePayload() const override;
/**
* The ARN of the flow that you want to describe.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you want to describe.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The ARN of the flow that you want to describe.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The ARN of the flow that you want to describe.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The ARN of the flow that you want to describe.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The ARN of the flow that you want to describe.
*/
inline DescribeFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you want to describe.
*/
inline DescribeFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you want to describe.
*/
inline DescribeFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,76 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Flow.h>
#include <aws/mediaconnect/model/Messages.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API DescribeFlowResult
{
public:
DescribeFlowResult();
DescribeFlowResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeFlowResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
inline const Flow& GetFlow() const{ return m_flow; }
inline void SetFlow(const Flow& value) { m_flow = value; }
inline void SetFlow(Flow&& value) { m_flow = std::move(value); }
inline DescribeFlowResult& WithFlow(const Flow& value) { SetFlow(value); return *this;}
inline DescribeFlowResult& WithFlow(Flow&& value) { SetFlow(std::move(value)); return *this;}
inline const Messages& GetMessages() const{ return m_messages; }
inline void SetMessages(const Messages& value) { m_messages = value; }
inline void SetMessages(Messages&& value) { m_messages = std::move(value); }
inline DescribeFlowResult& WithMessages(const Messages& value) { SetMessages(value); return *this;}
inline DescribeFlowResult& WithMessages(Messages&& value) { SetMessages(std::move(value)); return *this;}
private:
Flow m_flow;
Messages m_messages;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,546 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Algorithm.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/KeyType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* Information about the encryption of the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Encryption">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API Encryption
{
public:
Encryption();
Encryption(Aws::Utils::Json::JsonView jsonValue);
Encryption& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline const Algorithm& GetAlgorithm() const{ return m_algorithm; }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline void SetAlgorithm(const Algorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline void SetAlgorithm(Algorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline Encryption& WithAlgorithm(const Algorithm& value) { SetAlgorithm(value); return *this;}
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline Encryption& WithAlgorithm(Algorithm&& value) { SetAlgorithm(std::move(value)); return *this;}
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline Encryption& WithConstantInitializationVector(const Aws::String& value) { SetConstantInitializationVector(value); return *this;}
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline Encryption& WithConstantInitializationVector(Aws::String&& value) { SetConstantInitializationVector(std::move(value)); return *this;}
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline Encryption& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline Encryption& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline Encryption& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline Encryption& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline const KeyType& GetKeyType() const{ return m_keyType; }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline void SetKeyType(const KeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline void SetKeyType(KeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline Encryption& WithKeyType(const KeyType& value) { SetKeyType(value); return *this;}
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline Encryption& WithKeyType(KeyType&& value) { SetKeyType(std::move(value)); return *this;}
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline const Aws::String& GetRegion() const{ return m_region; }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithRegion(const char* value) { SetRegion(value); return *this;}
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithResourceId(const char* value) { SetResourceId(value); return *this;}
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline Encryption& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline Encryption& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline Encryption& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline Encryption& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline Encryption& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline Encryption& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline const Aws::String& GetUrl() const{ return m_url; }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline Encryption& WithUrl(const char* value) { SetUrl(value); return *this;}
private:
Algorithm m_algorithm;
bool m_algorithmHasBeenSet;
Aws::String m_constantInitializationVector;
bool m_constantInitializationVectorHasBeenSet;
Aws::String m_deviceId;
bool m_deviceIdHasBeenSet;
KeyType m_keyType;
bool m_keyTypeHasBeenSet;
Aws::String m_region;
bool m_regionHasBeenSet;
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
Aws::String m_secretArn;
bool m_secretArnHasBeenSet;
Aws::String m_url;
bool m_urlHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,344 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Encryption.h>
#include <aws/mediaconnect/model/EntitlementStatus.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for a flow entitlement.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Entitlement">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API Entitlement
{
public:
Entitlement();
Entitlement(Aws::Utils::Json::JsonView jsonValue);
Entitlement& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline int GetDataTransferSubscriberFeePercent() const{ return m_dataTransferSubscriberFeePercent; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline void SetDataTransferSubscriberFeePercent(int value) { m_dataTransferSubscriberFeePercentHasBeenSet = true; m_dataTransferSubscriberFeePercent = value; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline Entitlement& WithDataTransferSubscriberFeePercent(int value) { SetDataTransferSubscriberFeePercent(value); return *this;}
/**
* A description of the entitlement.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the entitlement.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the entitlement.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the entitlement.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the entitlement.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the entitlement.
*/
inline Entitlement& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the entitlement.
*/
inline Entitlement& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the entitlement.
*/
inline Entitlement& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline const Encryption& GetEncryption() const{ return m_encryption; }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline Entitlement& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline Entitlement& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
/**
* The ARN of the entitlement.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement.
*/
inline Entitlement& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement.
*/
inline Entitlement& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement.
*/
inline Entitlement& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* An indication of whether the entitlement is enabled.
*/
inline const EntitlementStatus& GetEntitlementStatus() const{ return m_entitlementStatus; }
/**
* An indication of whether the entitlement is enabled.
*/
inline bool EntitlementStatusHasBeenSet() const { return m_entitlementStatusHasBeenSet; }
/**
* An indication of whether the entitlement is enabled.
*/
inline void SetEntitlementStatus(const EntitlementStatus& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = value; }
/**
* An indication of whether the entitlement is enabled.
*/
inline void SetEntitlementStatus(EntitlementStatus&& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = std::move(value); }
/**
* An indication of whether the entitlement is enabled.
*/
inline Entitlement& WithEntitlementStatus(const EntitlementStatus& value) { SetEntitlementStatus(value); return *this;}
/**
* An indication of whether the entitlement is enabled.
*/
inline Entitlement& WithEntitlementStatus(EntitlementStatus&& value) { SetEntitlementStatus(std::move(value)); return *this;}
/**
* The name of the entitlement.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the entitlement.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the entitlement.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the entitlement.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the entitlement.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the entitlement.
*/
inline Entitlement& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the entitlement.
*/
inline Entitlement& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the entitlement.
*/
inline Entitlement& WithName(const char* value) { SetName(value); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline const Aws::Vector<Aws::String>& GetSubscribers() const{ return m_subscribers; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline bool SubscribersHasBeenSet() const { return m_subscribersHasBeenSet; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline void SetSubscribers(const Aws::Vector<Aws::String>& value) { m_subscribersHasBeenSet = true; m_subscribers = value; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline void SetSubscribers(Aws::Vector<Aws::String>&& value) { m_subscribersHasBeenSet = true; m_subscribers = std::move(value); }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline Entitlement& WithSubscribers(const Aws::Vector<Aws::String>& value) { SetSubscribers(value); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline Entitlement& WithSubscribers(Aws::Vector<Aws::String>&& value) { SetSubscribers(std::move(value)); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline Entitlement& AddSubscribers(const Aws::String& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline Entitlement& AddSubscribers(Aws::String&& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(std::move(value)); return *this; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline Entitlement& AddSubscribers(const char* value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
private:
int m_dataTransferSubscriberFeePercent;
bool m_dataTransferSubscriberFeePercentHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Encryption m_encryption;
bool m_encryptionHasBeenSet;
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
EntitlementStatus m_entitlementStatus;
bool m_entitlementStatusHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<Aws::String> m_subscribers;
bool m_subscribersHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
enum class EntitlementStatus
{
NOT_SET,
ENABLED,
DISABLED
};
namespace EntitlementStatusMapper
{
AWS_MEDIACONNECT_API EntitlementStatus GetEntitlementStatusForName(const Aws::String& name);
AWS_MEDIACONNECT_API Aws::String GetNameForEntitlementStatus(EntitlementStatus value);
} // namespace EntitlementStatusMapper
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/State.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for source failover<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FailoverConfig">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API FailoverConfig
{
public:
FailoverConfig();
FailoverConfig(Aws::Utils::Json::JsonView jsonValue);
FailoverConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Search window time to look for dash-7 packets
*/
inline int GetRecoveryWindow() const{ return m_recoveryWindow; }
/**
* Search window time to look for dash-7 packets
*/
inline bool RecoveryWindowHasBeenSet() const { return m_recoveryWindowHasBeenSet; }
/**
* Search window time to look for dash-7 packets
*/
inline void SetRecoveryWindow(int value) { m_recoveryWindowHasBeenSet = true; m_recoveryWindow = value; }
/**
* Search window time to look for dash-7 packets
*/
inline FailoverConfig& WithRecoveryWindow(int value) { SetRecoveryWindow(value); return *this;}
inline const State& GetState() const{ return m_state; }
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
inline FailoverConfig& WithState(const State& value) { SetState(value); return *this;}
inline FailoverConfig& WithState(State&& value) { SetState(std::move(value)); return *this;}
private:
int m_recoveryWindow;
bool m_recoveryWindowHasBeenSet;
State m_state;
bool m_stateHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,534 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/Source.h>
#include <aws/mediaconnect/model/FailoverConfig.h>
#include <aws/mediaconnect/model/Status.h>
#include <aws/mediaconnect/model/Entitlement.h>
#include <aws/mediaconnect/model/Output.h>
#include <aws/mediaconnect/model/VpcInterface.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for a flow, including its source, outputs, and
* entitlements.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Flow">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API Flow
{
public:
Flow();
Flow(Aws::Utils::Json::JsonView jsonValue);
Flow& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline Flow& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline Flow& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
/**
* The Availability Zone that you want to create the flow in. These options are
* limited to the Availability Zones within the current AWS.
*/
inline Flow& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline Flow& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline Flow& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the flow. This value is not used or seen outside of the current
* AWS Elemental MediaConnect account.
*/
inline Flow& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The IP address from which video will be sent to output destinations.
*/
inline const Aws::String& GetEgressIp() const{ return m_egressIp; }
/**
* The IP address from which video will be sent to output destinations.
*/
inline bool EgressIpHasBeenSet() const { return m_egressIpHasBeenSet; }
/**
* The IP address from which video will be sent to output destinations.
*/
inline void SetEgressIp(const Aws::String& value) { m_egressIpHasBeenSet = true; m_egressIp = value; }
/**
* The IP address from which video will be sent to output destinations.
*/
inline void SetEgressIp(Aws::String&& value) { m_egressIpHasBeenSet = true; m_egressIp = std::move(value); }
/**
* The IP address from which video will be sent to output destinations.
*/
inline void SetEgressIp(const char* value) { m_egressIpHasBeenSet = true; m_egressIp.assign(value); }
/**
* The IP address from which video will be sent to output destinations.
*/
inline Flow& WithEgressIp(const Aws::String& value) { SetEgressIp(value); return *this;}
/**
* The IP address from which video will be sent to output destinations.
*/
inline Flow& WithEgressIp(Aws::String&& value) { SetEgressIp(std::move(value)); return *this;}
/**
* The IP address from which video will be sent to output destinations.
*/
inline Flow& WithEgressIp(const char* value) { SetEgressIp(value); return *this;}
/**
* The entitlements in this flow.
*/
inline const Aws::Vector<Entitlement>& GetEntitlements() const{ return m_entitlements; }
/**
* The entitlements in this flow.
*/
inline bool EntitlementsHasBeenSet() const { return m_entitlementsHasBeenSet; }
/**
* The entitlements in this flow.
*/
inline void SetEntitlements(const Aws::Vector<Entitlement>& value) { m_entitlementsHasBeenSet = true; m_entitlements = value; }
/**
* The entitlements in this flow.
*/
inline void SetEntitlements(Aws::Vector<Entitlement>&& value) { m_entitlementsHasBeenSet = true; m_entitlements = std::move(value); }
/**
* The entitlements in this flow.
*/
inline Flow& WithEntitlements(const Aws::Vector<Entitlement>& value) { SetEntitlements(value); return *this;}
/**
* The entitlements in this flow.
*/
inline Flow& WithEntitlements(Aws::Vector<Entitlement>&& value) { SetEntitlements(std::move(value)); return *this;}
/**
* The entitlements in this flow.
*/
inline Flow& AddEntitlements(const Entitlement& value) { m_entitlementsHasBeenSet = true; m_entitlements.push_back(value); return *this; }
/**
* The entitlements in this flow.
*/
inline Flow& AddEntitlements(Entitlement&& value) { m_entitlementsHasBeenSet = true; m_entitlements.push_back(std::move(value)); return *this; }
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline Flow& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline Flow& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the
* flow.
*/
inline Flow& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The name of the flow.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the flow.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the flow.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the flow.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the flow.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the flow.
*/
inline Flow& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the flow.
*/
inline Flow& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the flow.
*/
inline Flow& WithName(const char* value) { SetName(value); return *this;}
/**
* The outputs in this flow.
*/
inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
/**
* The outputs in this flow.
*/
inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
/**
* The outputs in this flow.
*/
inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
/**
* The outputs in this flow.
*/
inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
/**
* The outputs in this flow.
*/
inline Flow& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
/**
* The outputs in this flow.
*/
inline Flow& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
/**
* The outputs in this flow.
*/
inline Flow& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
/**
* The outputs in this flow.
*/
inline Flow& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
inline const Source& GetSource() const{ return m_source; }
inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
inline Flow& WithSource(const Source& value) { SetSource(value); return *this;}
inline Flow& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
inline const FailoverConfig& GetSourceFailoverConfig() const{ return m_sourceFailoverConfig; }
inline bool SourceFailoverConfigHasBeenSet() const { return m_sourceFailoverConfigHasBeenSet; }
inline void SetSourceFailoverConfig(const FailoverConfig& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = value; }
inline void SetSourceFailoverConfig(FailoverConfig&& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = std::move(value); }
inline Flow& WithSourceFailoverConfig(const FailoverConfig& value) { SetSourceFailoverConfig(value); return *this;}
inline Flow& WithSourceFailoverConfig(FailoverConfig&& value) { SetSourceFailoverConfig(std::move(value)); return *this;}
inline const Aws::Vector<Source>& GetSources() const{ return m_sources; }
inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
inline void SetSources(const Aws::Vector<Source>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
inline void SetSources(Aws::Vector<Source>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
inline Flow& WithSources(const Aws::Vector<Source>& value) { SetSources(value); return *this;}
inline Flow& WithSources(Aws::Vector<Source>&& value) { SetSources(std::move(value)); return *this;}
inline Flow& AddSources(const Source& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
inline Flow& AddSources(Source&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
/**
* The current status of the flow.
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* The current status of the flow.
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* The current status of the flow.
*/
inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* The current status of the flow.
*/
inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* The current status of the flow.
*/
inline Flow& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* The current status of the flow.
*/
inline Flow& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
/**
* The VPC Interfaces for this flow.
*/
inline const Aws::Vector<VpcInterface>& GetVpcInterfaces() const{ return m_vpcInterfaces; }
/**
* The VPC Interfaces for this flow.
*/
inline bool VpcInterfacesHasBeenSet() const { return m_vpcInterfacesHasBeenSet; }
/**
* The VPC Interfaces for this flow.
*/
inline void SetVpcInterfaces(const Aws::Vector<VpcInterface>& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = value; }
/**
* The VPC Interfaces for this flow.
*/
inline void SetVpcInterfaces(Aws::Vector<VpcInterface>&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = std::move(value); }
/**
* The VPC Interfaces for this flow.
*/
inline Flow& WithVpcInterfaces(const Aws::Vector<VpcInterface>& value) { SetVpcInterfaces(value); return *this;}
/**
* The VPC Interfaces for this flow.
*/
inline Flow& WithVpcInterfaces(Aws::Vector<VpcInterface>&& value) { SetVpcInterfaces(std::move(value)); return *this;}
/**
* The VPC Interfaces for this flow.
*/
inline Flow& AddVpcInterfaces(const VpcInterface& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(value); return *this; }
/**
* The VPC Interfaces for this flow.
*/
inline Flow& AddVpcInterfaces(VpcInterface&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(std::move(value)); return *this; }
private:
Aws::String m_availabilityZone;
bool m_availabilityZoneHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_egressIp;
bool m_egressIpHasBeenSet;
Aws::Vector<Entitlement> m_entitlements;
bool m_entitlementsHasBeenSet;
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<Output> m_outputs;
bool m_outputsHasBeenSet;
Source m_source;
bool m_sourceHasBeenSet;
FailoverConfig m_sourceFailoverConfig;
bool m_sourceFailoverConfigHasBeenSet;
Aws::Vector<Source> m_sources;
bool m_sourcesHasBeenSet;
Status m_status;
bool m_statusHasBeenSet;
Aws::Vector<VpcInterface> m_vpcInterfaces;
bool m_vpcInterfacesHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,328 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Encryption.h>
#include <aws/mediaconnect/model/EntitlementStatus.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The entitlements that you want to grant on a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantEntitlementRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API GrantEntitlementRequest
{
public:
GrantEntitlementRequest();
GrantEntitlementRequest(Aws::Utils::Json::JsonView jsonValue);
GrantEntitlementRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline int GetDataTransferSubscriberFeePercent() const{ return m_dataTransferSubscriberFeePercent; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline void SetDataTransferSubscriberFeePercent(int value) { m_dataTransferSubscriberFeePercentHasBeenSet = true; m_dataTransferSubscriberFeePercent = value; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline GrantEntitlementRequest& WithDataTransferSubscriberFeePercent(int value) { SetDataTransferSubscriberFeePercent(value); return *this;}
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline GrantEntitlementRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline GrantEntitlementRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline GrantEntitlementRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline const Encryption& GetEncryption() const{ return m_encryption; }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline GrantEntitlementRequest& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
/**
* The type of encryption that will be used on the output that is associated with
* this entitlement.
*/
inline GrantEntitlementRequest& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
/**
* An indication of whether the new entitlement should be enabled or disabled as
* soon as it is created. If you dont specify the entitlementStatus field in your
* request, MediaConnect sets it to ENABLED.
*/
inline const EntitlementStatus& GetEntitlementStatus() const{ return m_entitlementStatus; }
/**
* An indication of whether the new entitlement should be enabled or disabled as
* soon as it is created. If you dont specify the entitlementStatus field in your
* request, MediaConnect sets it to ENABLED.
*/
inline bool EntitlementStatusHasBeenSet() const { return m_entitlementStatusHasBeenSet; }
/**
* An indication of whether the new entitlement should be enabled or disabled as
* soon as it is created. If you dont specify the entitlementStatus field in your
* request, MediaConnect sets it to ENABLED.
*/
inline void SetEntitlementStatus(const EntitlementStatus& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = value; }
/**
* An indication of whether the new entitlement should be enabled or disabled as
* soon as it is created. If you dont specify the entitlementStatus field in your
* request, MediaConnect sets it to ENABLED.
*/
inline void SetEntitlementStatus(EntitlementStatus&& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = std::move(value); }
/**
* An indication of whether the new entitlement should be enabled or disabled as
* soon as it is created. If you dont specify the entitlementStatus field in your
* request, MediaConnect sets it to ENABLED.
*/
inline GrantEntitlementRequest& WithEntitlementStatus(const EntitlementStatus& value) { SetEntitlementStatus(value); return *this;}
/**
* An indication of whether the new entitlement should be enabled or disabled as
* soon as it is created. If you dont specify the entitlementStatus field in your
* request, MediaConnect sets it to ENABLED.
*/
inline GrantEntitlementRequest& WithEntitlementStatus(EntitlementStatus&& value) { SetEntitlementStatus(std::move(value)); return *this;}
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline GrantEntitlementRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline GrantEntitlementRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the entitlement. This value must be unique within the current flow.
*/
inline GrantEntitlementRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline const Aws::Vector<Aws::String>& GetSubscribers() const{ return m_subscribers; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline bool SubscribersHasBeenSet() const { return m_subscribersHasBeenSet; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline void SetSubscribers(const Aws::Vector<Aws::String>& value) { m_subscribersHasBeenSet = true; m_subscribers = value; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline void SetSubscribers(Aws::Vector<Aws::String>&& value) { m_subscribersHasBeenSet = true; m_subscribers = std::move(value); }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline GrantEntitlementRequest& WithSubscribers(const Aws::Vector<Aws::String>& value) { SetSubscribers(value); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline GrantEntitlementRequest& WithSubscribers(Aws::Vector<Aws::String>&& value) { SetSubscribers(std::move(value)); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline GrantEntitlementRequest& AddSubscribers(const Aws::String& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline GrantEntitlementRequest& AddSubscribers(Aws::String&& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(std::move(value)); return *this; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flows using your
* content as the source.
*/
inline GrantEntitlementRequest& AddSubscribers(const char* value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
private:
int m_dataTransferSubscriberFeePercent;
bool m_dataTransferSubscriberFeePercentHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Encryption m_encryption;
bool m_encryptionHasBeenSet;
EntitlementStatus m_entitlementStatus;
bool m_entitlementStatusHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<Aws::String> m_subscribers;
bool m_subscribersHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,132 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/GrantEntitlementRequest.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* A request to grant entitlements on a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlementsRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API GrantFlowEntitlementsRequest : public MediaConnectRequest
{
public:
GrantFlowEntitlementsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GrantFlowEntitlements"; }
Aws::String SerializePayload() const override;
/**
* The list of entitlements that you want to grant.
*/
inline const Aws::Vector<GrantEntitlementRequest>& GetEntitlements() const{ return m_entitlements; }
/**
* The list of entitlements that you want to grant.
*/
inline bool EntitlementsHasBeenSet() const { return m_entitlementsHasBeenSet; }
/**
* The list of entitlements that you want to grant.
*/
inline void SetEntitlements(const Aws::Vector<GrantEntitlementRequest>& value) { m_entitlementsHasBeenSet = true; m_entitlements = value; }
/**
* The list of entitlements that you want to grant.
*/
inline void SetEntitlements(Aws::Vector<GrantEntitlementRequest>&& value) { m_entitlementsHasBeenSet = true; m_entitlements = std::move(value); }
/**
* The list of entitlements that you want to grant.
*/
inline GrantFlowEntitlementsRequest& WithEntitlements(const Aws::Vector<GrantEntitlementRequest>& value) { SetEntitlements(value); return *this;}
/**
* The list of entitlements that you want to grant.
*/
inline GrantFlowEntitlementsRequest& WithEntitlements(Aws::Vector<GrantEntitlementRequest>&& value) { SetEntitlements(std::move(value)); return *this;}
/**
* The list of entitlements that you want to grant.
*/
inline GrantFlowEntitlementsRequest& AddEntitlements(const GrantEntitlementRequest& value) { m_entitlementsHasBeenSet = true; m_entitlements.push_back(value); return *this; }
/**
* The list of entitlements that you want to grant.
*/
inline GrantFlowEntitlementsRequest& AddEntitlements(GrantEntitlementRequest&& value) { m_entitlementsHasBeenSet = true; m_entitlements.push_back(std::move(value)); return *this; }
/**
* The flow that you want to grant entitlements on.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to grant entitlements on.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to grant entitlements on.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to grant entitlements on.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to grant entitlements on.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to grant entitlements on.
*/
inline GrantFlowEntitlementsRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to grant entitlements on.
*/
inline GrantFlowEntitlementsRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to grant entitlements on.
*/
inline GrantFlowEntitlementsRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::Vector<GrantEntitlementRequest> m_entitlements;
bool m_entitlementsHasBeenSet;
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Entitlement.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API GrantFlowEntitlementsResult
{
public:
GrantFlowEntitlementsResult();
GrantFlowEntitlementsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GrantFlowEntitlementsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The entitlements that were just granted.
*/
inline const Aws::Vector<Entitlement>& GetEntitlements() const{ return m_entitlements; }
/**
* The entitlements that were just granted.
*/
inline void SetEntitlements(const Aws::Vector<Entitlement>& value) { m_entitlements = value; }
/**
* The entitlements that were just granted.
*/
inline void SetEntitlements(Aws::Vector<Entitlement>&& value) { m_entitlements = std::move(value); }
/**
* The entitlements that were just granted.
*/
inline GrantFlowEntitlementsResult& WithEntitlements(const Aws::Vector<Entitlement>& value) { SetEntitlements(value); return *this;}
/**
* The entitlements that were just granted.
*/
inline GrantFlowEntitlementsResult& WithEntitlements(Aws::Vector<Entitlement>&& value) { SetEntitlements(std::move(value)); return *this;}
/**
* The entitlements that were just granted.
*/
inline GrantFlowEntitlementsResult& AddEntitlements(const Entitlement& value) { m_entitlements.push_back(value); return *this; }
/**
* The entitlements that were just granted.
*/
inline GrantFlowEntitlementsResult& AddEntitlements(Entitlement&& value) { m_entitlements.push_back(std::move(value)); return *this; }
/**
* The ARN of the flow that these entitlements were granted to.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that these entitlements were granted to.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that these entitlements were granted to.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that these entitlements were granted to.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that these entitlements were granted to.
*/
inline GrantFlowEntitlementsResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that these entitlements were granted to.
*/
inline GrantFlowEntitlementsResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that these entitlements were granted to.
*/
inline GrantFlowEntitlementsResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::Vector<Entitlement> m_entitlements;
Aws::String m_flowArn;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
enum class KeyType
{
NOT_SET,
speke,
static_key
};
namespace KeyTypeMapper
{
AWS_MEDIACONNECT_API KeyType GetKeyTypeForName(const Aws::String& name);
AWS_MEDIACONNECT_API Aws::String GetNameForKeyType(KeyType value);
} // namespace KeyTypeMapper
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,169 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API ListEntitlementsRequest : public MediaConnectRequest
{
public:
ListEntitlementsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListEntitlements"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* The maximum number of results to return per API request. For example, you submit
* a ListEntitlements request with MaxResults set at 5. Although 20 items match
* your request, the service returns no more than the first 5 items. (The service
* also returns a NextToken value that you can use to fetch the next batch of
* results.) The service might return fewer results than the MaxResults value. If
* MaxResults is not included in the request, the service defaults to pagination
* with a maximum of 20 results per page.
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* The maximum number of results to return per API request. For example, you submit
* a ListEntitlements request with MaxResults set at 5. Although 20 items match
* your request, the service returns no more than the first 5 items. (The service
* also returns a NextToken value that you can use to fetch the next batch of
* results.) The service might return fewer results than the MaxResults value. If
* MaxResults is not included in the request, the service defaults to pagination
* with a maximum of 20 results per page.
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* The maximum number of results to return per API request. For example, you submit
* a ListEntitlements request with MaxResults set at 5. Although 20 items match
* your request, the service returns no more than the first 5 items. (The service
* also returns a NextToken value that you can use to fetch the next batch of
* results.) The service might return fewer results than the MaxResults value. If
* MaxResults is not included in the request, the service defaults to pagination
* with a maximum of 20 results per page.
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* The maximum number of results to return per API request. For example, you submit
* a ListEntitlements request with MaxResults set at 5. Although 20 items match
* your request, the service returns no more than the first 5 items. (The service
* also returns a NextToken value that you can use to fetch the next batch of
* results.) The service might return fewer results than the MaxResults value. If
* MaxResults is not included in the request, the service defaults to pagination
* with a maximum of 20 results per page.
*/
inline ListEntitlementsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline ListEntitlementsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline ListEntitlementsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline ListEntitlementsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/ListedEntitlement.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API ListEntitlementsResult
{
public:
ListEntitlementsResult();
ListEntitlementsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListEntitlementsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
inline const Aws::Vector<ListedEntitlement>& GetEntitlements() const{ return m_entitlements; }
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
inline void SetEntitlements(const Aws::Vector<ListedEntitlement>& value) { m_entitlements = value; }
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
inline void SetEntitlements(Aws::Vector<ListedEntitlement>&& value) { m_entitlements = std::move(value); }
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
inline ListEntitlementsResult& WithEntitlements(const Aws::Vector<ListedEntitlement>& value) { SetEntitlements(value); return *this;}
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
inline ListEntitlementsResult& WithEntitlements(Aws::Vector<ListedEntitlement>&& value) { SetEntitlements(std::move(value)); return *this;}
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
inline ListEntitlementsResult& AddEntitlements(const ListedEntitlement& value) { m_entitlements.push_back(value); return *this; }
/**
* A list of entitlements that have been granted to you from other AWS accounts.
*/
inline ListEntitlementsResult& AddEntitlements(ListedEntitlement&& value) { m_entitlements.push_back(std::move(value)); return *this; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline ListEntitlementsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline ListEntitlementsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListEntitlements request with MaxResults set at 5. The
* service returns the first batch of results (up to 5) and a NextToken value. To
* see the next batch of results, you can submit the ListEntitlements request a
* second time and specify the NextToken value.
*/
inline ListEntitlementsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<ListedEntitlement> m_entitlements;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,169 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API ListFlowsRequest : public MediaConnectRequest
{
public:
ListFlowsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListFlows"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* The maximum number of results to return per API request. For example, you submit
* a ListFlows request with MaxResults set at 5. Although 20 items match your
* request, the service returns no more than the first 5 items. (The service also
* returns a NextToken value that you can use to fetch the next batch of results.)
* The service might return fewer results than the MaxResults value. If MaxResults
* is not included in the request, the service defaults to pagination with a
* maximum of 10 results per page.
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* The maximum number of results to return per API request. For example, you submit
* a ListFlows request with MaxResults set at 5. Although 20 items match your
* request, the service returns no more than the first 5 items. (The service also
* returns a NextToken value that you can use to fetch the next batch of results.)
* The service might return fewer results than the MaxResults value. If MaxResults
* is not included in the request, the service defaults to pagination with a
* maximum of 10 results per page.
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* The maximum number of results to return per API request. For example, you submit
* a ListFlows request with MaxResults set at 5. Although 20 items match your
* request, the service returns no more than the first 5 items. (The service also
* returns a NextToken value that you can use to fetch the next batch of results.)
* The service might return fewer results than the MaxResults value. If MaxResults
* is not included in the request, the service defaults to pagination with a
* maximum of 10 results per page.
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* The maximum number of results to return per API request. For example, you submit
* a ListFlows request with MaxResults set at 5. Although 20 items match your
* request, the service returns no more than the first 5 items. (The service also
* returns a NextToken value that you can use to fetch the next batch of results.)
* The service might return fewer results than the MaxResults value. If MaxResults
* is not included in the request, the service defaults to pagination with a
* maximum of 10 results per page.
*/
inline ListFlowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline ListFlowsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline ListFlowsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline ListFlowsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/ListedFlow.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API ListFlowsResult
{
public:
ListFlowsResult();
ListFlowsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListFlowsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* A list of flow summaries.
*/
inline const Aws::Vector<ListedFlow>& GetFlows() const{ return m_flows; }
/**
* A list of flow summaries.
*/
inline void SetFlows(const Aws::Vector<ListedFlow>& value) { m_flows = value; }
/**
* A list of flow summaries.
*/
inline void SetFlows(Aws::Vector<ListedFlow>&& value) { m_flows = std::move(value); }
/**
* A list of flow summaries.
*/
inline ListFlowsResult& WithFlows(const Aws::Vector<ListedFlow>& value) { SetFlows(value); return *this;}
/**
* A list of flow summaries.
*/
inline ListFlowsResult& WithFlows(Aws::Vector<ListedFlow>&& value) { SetFlows(std::move(value)); return *this;}
/**
* A list of flow summaries.
*/
inline ListFlowsResult& AddFlows(const ListedFlow& value) { m_flows.push_back(value); return *this; }
/**
* A list of flow summaries.
*/
inline ListFlowsResult& AddFlows(ListedFlow&& value) { m_flows.push_back(std::move(value)); return *this; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline ListFlowsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline ListFlowsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* The token that identifies which batch of results that you want to see. For
* example, you submit a ListFlows request with MaxResults set at 5. The service
* returns the first batch of results (up to 5) and a NextToken value. To see the
* next batch of results, you can submit the ListFlows request a second time and
* specify the NextToken value.
*/
inline ListFlowsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<ListedFlow> m_flows;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,91 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API ListTagsForResourceRequest : public MediaConnectRequest
{
public:
ListTagsForResourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; }
Aws::String SerializePayload() const override;
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource for which to list the tags.
*/
inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
private:
Aws::String m_resourceArn;
bool m_resourceArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API ListTagsForResourceResult
{
public:
ListTagsForResourceResult();
ListTagsForResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,157 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* An entitlement that has been granted to you from other AWS accounts.<p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListedEntitlement">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API ListedEntitlement
{
public:
ListedEntitlement();
ListedEntitlement(Aws::Utils::Json::JsonView jsonValue);
ListedEntitlement& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline int GetDataTransferSubscriberFeePercent() const{ return m_dataTransferSubscriberFeePercent; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline void SetDataTransferSubscriberFeePercent(int value) { m_dataTransferSubscriberFeePercentHasBeenSet = true; m_dataTransferSubscriberFeePercent = value; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline ListedEntitlement& WithDataTransferSubscriberFeePercent(int value) { SetDataTransferSubscriberFeePercent(value); return *this;}
/**
* The ARN of the entitlement.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement.
*/
inline ListedEntitlement& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement.
*/
inline ListedEntitlement& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement.
*/
inline ListedEntitlement& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* The name of the entitlement.
*/
inline const Aws::String& GetEntitlementName() const{ return m_entitlementName; }
/**
* The name of the entitlement.
*/
inline bool EntitlementNameHasBeenSet() const { return m_entitlementNameHasBeenSet; }
/**
* The name of the entitlement.
*/
inline void SetEntitlementName(const Aws::String& value) { m_entitlementNameHasBeenSet = true; m_entitlementName = value; }
/**
* The name of the entitlement.
*/
inline void SetEntitlementName(Aws::String&& value) { m_entitlementNameHasBeenSet = true; m_entitlementName = std::move(value); }
/**
* The name of the entitlement.
*/
inline void SetEntitlementName(const char* value) { m_entitlementNameHasBeenSet = true; m_entitlementName.assign(value); }
/**
* The name of the entitlement.
*/
inline ListedEntitlement& WithEntitlementName(const Aws::String& value) { SetEntitlementName(value); return *this;}
/**
* The name of the entitlement.
*/
inline ListedEntitlement& WithEntitlementName(Aws::String&& value) { SetEntitlementName(std::move(value)); return *this;}
/**
* The name of the entitlement.
*/
inline ListedEntitlement& WithEntitlementName(const char* value) { SetEntitlementName(value); return *this;}
private:
int m_dataTransferSubscriberFeePercent;
bool m_dataTransferSubscriberFeePercentHasBeenSet;
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
Aws::String m_entitlementName;
bool m_entitlementNameHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,303 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/SourceType.h>
#include <aws/mediaconnect/model/Status.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* Provides a summary of a flow, including its ARN, Availability Zone, and source
* type.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListedFlow">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API ListedFlow
{
public:
ListedFlow();
ListedFlow(Aws::Utils::Json::JsonView jsonValue);
ListedFlow& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The Availability Zone that the flow was created in.
*/
inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
/**
* The Availability Zone that the flow was created in.
*/
inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
/**
* The Availability Zone that the flow was created in.
*/
inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
/**
* The Availability Zone that the flow was created in.
*/
inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
/**
* The Availability Zone that the flow was created in.
*/
inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
/**
* The Availability Zone that the flow was created in.
*/
inline ListedFlow& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
/**
* The Availability Zone that the flow was created in.
*/
inline ListedFlow& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
/**
* The Availability Zone that the flow was created in.
*/
inline ListedFlow& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
/**
* A description of the flow.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the flow.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the flow.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the flow.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the flow.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the flow.
*/
inline ListedFlow& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the flow.
*/
inline ListedFlow& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the flow.
*/
inline ListedFlow& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The ARN of the flow.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The ARN of the flow.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The ARN of the flow.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The ARN of the flow.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The ARN of the flow.
*/
inline ListedFlow& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow.
*/
inline ListedFlow& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow.
*/
inline ListedFlow& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The name of the flow.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the flow.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the flow.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the flow.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the flow.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the flow.
*/
inline ListedFlow& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the flow.
*/
inline ListedFlow& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the flow.
*/
inline ListedFlow& WithName(const char* value) { SetName(value); return *this;}
/**
* The type of source. This value is either owned (originated somewhere other than
* an AWS Elemental MediaConnect flow owned by another AWS account) or entitled
* (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
*/
inline const SourceType& GetSourceType() const{ return m_sourceType; }
/**
* The type of source. This value is either owned (originated somewhere other than
* an AWS Elemental MediaConnect flow owned by another AWS account) or entitled
* (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
*/
inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
/**
* The type of source. This value is either owned (originated somewhere other than
* an AWS Elemental MediaConnect flow owned by another AWS account) or entitled
* (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
*/
inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
/**
* The type of source. This value is either owned (originated somewhere other than
* an AWS Elemental MediaConnect flow owned by another AWS account) or entitled
* (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
*/
inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
/**
* The type of source. This value is either owned (originated somewhere other than
* an AWS Elemental MediaConnect flow owned by another AWS account) or entitled
* (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
*/
inline ListedFlow& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
/**
* The type of source. This value is either owned (originated somewhere other than
* an AWS Elemental MediaConnect flow owned by another AWS account) or entitled
* (originated at an AWS Elemental MediaConnect flow owned by another AWS account).
*/
inline ListedFlow& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
/**
* The current status of the flow.
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* The current status of the flow.
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* The current status of the flow.
*/
inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* The current status of the flow.
*/
inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* The current status of the flow.
*/
inline ListedFlow& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* The current status of the flow.
*/
inline ListedFlow& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::String m_availabilityZone;
bool m_availabilityZoneHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
SourceType m_sourceType;
bool m_sourceTypeHasBeenSet;
Status m_status;
bool m_statusHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,94 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* Messages that provide the state of the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Messages">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API Messages
{
public:
Messages();
Messages(Aws::Utils::Json::JsonView jsonValue);
Messages& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline const Aws::Vector<Aws::String>& GetErrors() const{ return m_errors; }
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline void SetErrors(const Aws::Vector<Aws::String>& value) { m_errorsHasBeenSet = true; m_errors = value; }
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline void SetErrors(Aws::Vector<Aws::String>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline Messages& WithErrors(const Aws::Vector<Aws::String>& value) { SetErrors(value); return *this;}
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline Messages& WithErrors(Aws::Vector<Aws::String>&& value) { SetErrors(std::move(value)); return *this;}
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline Messages& AddErrors(const Aws::String& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline Messages& AddErrors(Aws::String&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
/**
* A list of errors that might have been generated from processes on this flow.
*/
inline Messages& AddErrors(const char* value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_errors;
bool m_errorsHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,483 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Encryption.h>
#include <aws/mediaconnect/model/Transport.h>
#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for an output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Output">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API Output
{
public:
Output();
Output(Aws::Utils::Json::JsonView jsonValue);
Output& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline int GetDataTransferSubscriberFeePercent() const{ return m_dataTransferSubscriberFeePercent; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline void SetDataTransferSubscriberFeePercent(int value) { m_dataTransferSubscriberFeePercentHasBeenSet = true; m_dataTransferSubscriberFeePercent = value; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline Output& WithDataTransferSubscriberFeePercent(int value) { SetDataTransferSubscriberFeePercent(value); return *this;}
/**
* A description of the output.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the output.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the output.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the output.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the output.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the output.
*/
inline Output& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the output.
*/
inline Output& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the output.
*/
inline Output& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The address where you want to send the output.
*/
inline const Aws::String& GetDestination() const{ return m_destination; }
/**
* The address where you want to send the output.
*/
inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
/**
* The address where you want to send the output.
*/
inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
/**
* The address where you want to send the output.
*/
inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
/**
* The address where you want to send the output.
*/
inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
/**
* The address where you want to send the output.
*/
inline Output& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
/**
* The address where you want to send the output.
*/
inline Output& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
/**
* The address where you want to send the output.
*/
inline Output& WithDestination(const char* value) { SetDestination(value); return *this;}
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline const Encryption& GetEncryption() const{ return m_encryption; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline Output& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline Output& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline Output& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline Output& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement on the originator''s flow. This value is relevant
* only on entitled flows.
*/
inline Output& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline const Aws::String& GetMediaLiveInputArn() const{ return m_mediaLiveInputArn; }
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline bool MediaLiveInputArnHasBeenSet() const { return m_mediaLiveInputArnHasBeenSet; }
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline void SetMediaLiveInputArn(const Aws::String& value) { m_mediaLiveInputArnHasBeenSet = true; m_mediaLiveInputArn = value; }
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline void SetMediaLiveInputArn(Aws::String&& value) { m_mediaLiveInputArnHasBeenSet = true; m_mediaLiveInputArn = std::move(value); }
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline void SetMediaLiveInputArn(const char* value) { m_mediaLiveInputArnHasBeenSet = true; m_mediaLiveInputArn.assign(value); }
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline Output& WithMediaLiveInputArn(const Aws::String& value) { SetMediaLiveInputArn(value); return *this;}
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline Output& WithMediaLiveInputArn(Aws::String&& value) { SetMediaLiveInputArn(std::move(value)); return *this;}
/**
* The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
* only for outputs that were added by creating a MediaLive input.
*/
inline Output& WithMediaLiveInputArn(const char* value) { SetMediaLiveInputArn(value); return *this;}
/**
* The name of the output. This value must be unique within the current flow.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the output. This value must be unique within the current flow.
*/
inline Output& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the output. This value must be unique within the current flow.
*/
inline Output& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the output. This value must be unique within the current flow.
*/
inline Output& WithName(const char* value) { SetName(value); return *this;}
/**
* The ARN of the output.
*/
inline const Aws::String& GetOutputArn() const{ return m_outputArn; }
/**
* The ARN of the output.
*/
inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
/**
* The ARN of the output.
*/
inline void SetOutputArn(const Aws::String& value) { m_outputArnHasBeenSet = true; m_outputArn = value; }
/**
* The ARN of the output.
*/
inline void SetOutputArn(Aws::String&& value) { m_outputArnHasBeenSet = true; m_outputArn = std::move(value); }
/**
* The ARN of the output.
*/
inline void SetOutputArn(const char* value) { m_outputArnHasBeenSet = true; m_outputArn.assign(value); }
/**
* The ARN of the output.
*/
inline Output& WithOutputArn(const Aws::String& value) { SetOutputArn(value); return *this;}
/**
* The ARN of the output.
*/
inline Output& WithOutputArn(Aws::String&& value) { SetOutputArn(std::move(value)); return *this;}
/**
* The ARN of the output.
*/
inline Output& WithOutputArn(const char* value) { SetOutputArn(value); return *this;}
/**
* The port to use when content is distributed to this output.
*/
inline int GetPort() const{ return m_port; }
/**
* The port to use when content is distributed to this output.
*/
inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
/**
* The port to use when content is distributed to this output.
*/
inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
/**
* The port to use when content is distributed to this output.
*/
inline Output& WithPort(int value) { SetPort(value); return *this;}
/**
* Attributes related to the transport stream that are used in the output.
*/
inline const Transport& GetTransport() const{ return m_transport; }
/**
* Attributes related to the transport stream that are used in the output.
*/
inline bool TransportHasBeenSet() const { return m_transportHasBeenSet; }
/**
* Attributes related to the transport stream that are used in the output.
*/
inline void SetTransport(const Transport& value) { m_transportHasBeenSet = true; m_transport = value; }
/**
* Attributes related to the transport stream that are used in the output.
*/
inline void SetTransport(Transport&& value) { m_transportHasBeenSet = true; m_transport = std::move(value); }
/**
* Attributes related to the transport stream that are used in the output.
*/
inline Output& WithTransport(const Transport& value) { SetTransport(value); return *this;}
/**
* Attributes related to the transport stream that are used in the output.
*/
inline Output& WithTransport(Transport&& value) { SetTransport(std::move(value)); return *this;}
/**
* The name of the VPC interface attachment to use for this output.
*/
inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const{ return m_vpcInterfaceAttachment; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline void SetVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = value; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline void SetVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::move(value); }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline Output& WithVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { SetVpcInterfaceAttachment(value); return *this;}
/**
* The name of the VPC interface attachment to use for this output.
*/
inline Output& WithVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { SetVpcInterfaceAttachment(std::move(value)); return *this;}
private:
int m_dataTransferSubscriberFeePercent;
bool m_dataTransferSubscriberFeePercentHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_destination;
bool m_destinationHasBeenSet;
Encryption m_encryption;
bool m_encryptionHasBeenSet;
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
Aws::String m_mediaLiveInputArn;
bool m_mediaLiveInputArnHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_outputArn;
bool m_outputArnHasBeenSet;
int m_port;
bool m_portHasBeenSet;
Transport m_transport;
bool m_transportHasBeenSet;
VpcInterfaceAttachment m_vpcInterfaceAttachment;
bool m_vpcInterfaceAttachmentHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,34 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
enum class Protocol
{
NOT_SET,
zixi_push,
rtp_fec,
rtp,
zixi_pull,
rist
};
namespace ProtocolMapper
{
AWS_MEDIACONNECT_API Protocol GetProtocolForName(const Aws::String& name);
AWS_MEDIACONNECT_API Aws::String GetNameForProtocol(Protocol value);
} // namespace ProtocolMapper
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API RemoveFlowOutputRequest : public MediaConnectRequest
{
public:
RemoveFlowOutputRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RemoveFlowOutput"; }
Aws::String SerializePayload() const override;
/**
* The flow that you want to remove an output from.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to remove an output from.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to remove an output from.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to remove an output from.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to remove an output from.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to remove an output from.
*/
inline RemoveFlowOutputRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to remove an output from.
*/
inline RemoveFlowOutputRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to remove an output from.
*/
inline RemoveFlowOutputRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The ARN of the output that you want to remove.
*/
inline const Aws::String& GetOutputArn() const{ return m_outputArn; }
/**
* The ARN of the output that you want to remove.
*/
inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
/**
* The ARN of the output that you want to remove.
*/
inline void SetOutputArn(const Aws::String& value) { m_outputArnHasBeenSet = true; m_outputArn = value; }
/**
* The ARN of the output that you want to remove.
*/
inline void SetOutputArn(Aws::String&& value) { m_outputArnHasBeenSet = true; m_outputArn = std::move(value); }
/**
* The ARN of the output that you want to remove.
*/
inline void SetOutputArn(const char* value) { m_outputArnHasBeenSet = true; m_outputArn.assign(value); }
/**
* The ARN of the output that you want to remove.
*/
inline RemoveFlowOutputRequest& WithOutputArn(const Aws::String& value) { SetOutputArn(value); return *this;}
/**
* The ARN of the output that you want to remove.
*/
inline RemoveFlowOutputRequest& WithOutputArn(Aws::String&& value) { SetOutputArn(std::move(value)); return *this;}
/**
* The ARN of the output that you want to remove.
*/
inline RemoveFlowOutputRequest& WithOutputArn(const char* value) { SetOutputArn(value); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::String m_outputArn;
bool m_outputArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API RemoveFlowOutputResult
{
public:
RemoveFlowOutputResult();
RemoveFlowOutputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RemoveFlowOutputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that is associated with the output you removed.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that is associated with the output you removed.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that is associated with the output you removed.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that is associated with the output you removed.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that is associated with the output you removed.
*/
inline RemoveFlowOutputResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that is associated with the output you removed.
*/
inline RemoveFlowOutputResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that is associated with the output you removed.
*/
inline RemoveFlowOutputResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The ARN of the output that was removed.
*/
inline const Aws::String& GetOutputArn() const{ return m_outputArn; }
/**
* The ARN of the output that was removed.
*/
inline void SetOutputArn(const Aws::String& value) { m_outputArn = value; }
/**
* The ARN of the output that was removed.
*/
inline void SetOutputArn(Aws::String&& value) { m_outputArn = std::move(value); }
/**
* The ARN of the output that was removed.
*/
inline void SetOutputArn(const char* value) { m_outputArn.assign(value); }
/**
* The ARN of the output that was removed.
*/
inline RemoveFlowOutputResult& WithOutputArn(const Aws::String& value) { SetOutputArn(value); return *this;}
/**
* The ARN of the output that was removed.
*/
inline RemoveFlowOutputResult& WithOutputArn(Aws::String&& value) { SetOutputArn(std::move(value)); return *this;}
/**
* The ARN of the output that was removed.
*/
inline RemoveFlowOutputResult& WithOutputArn(const char* value) { SetOutputArn(value); return *this;}
private:
Aws::String m_flowArn;
Aws::String m_outputArn;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API RemoveFlowSourceRequest : public MediaConnectRequest
{
public:
RemoveFlowSourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RemoveFlowSource"; }
Aws::String SerializePayload() const override;
/**
* The flow that you want to remove a source from.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to remove a source from.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to remove a source from.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to remove a source from.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to remove a source from.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to remove a source from.
*/
inline RemoveFlowSourceRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to remove a source from.
*/
inline RemoveFlowSourceRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to remove a source from.
*/
inline RemoveFlowSourceRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The ARN of the source that you want to remove.
*/
inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
/**
* The ARN of the source that you want to remove.
*/
inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
/**
* The ARN of the source that you want to remove.
*/
inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
/**
* The ARN of the source that you want to remove.
*/
inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
/**
* The ARN of the source that you want to remove.
*/
inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
/**
* The ARN of the source that you want to remove.
*/
inline RemoveFlowSourceRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
/**
* The ARN of the source that you want to remove.
*/
inline RemoveFlowSourceRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
/**
* The ARN of the source that you want to remove.
*/
inline RemoveFlowSourceRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::String m_sourceArn;
bool m_sourceArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API RemoveFlowSourceResult
{
public:
RemoveFlowSourceResult();
RemoveFlowSourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RemoveFlowSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that is associated with the source you removed.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that is associated with the source you removed.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that is associated with the source you removed.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that is associated with the source you removed.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that is associated with the source you removed.
*/
inline RemoveFlowSourceResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that is associated with the source you removed.
*/
inline RemoveFlowSourceResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that is associated with the source you removed.
*/
inline RemoveFlowSourceResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The ARN of the source that was removed.
*/
inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
/**
* The ARN of the source that was removed.
*/
inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; }
/**
* The ARN of the source that was removed.
*/
inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); }
/**
* The ARN of the source that was removed.
*/
inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); }
/**
* The ARN of the source that was removed.
*/
inline RemoveFlowSourceResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
/**
* The ARN of the source that was removed.
*/
inline RemoveFlowSourceResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
/**
* The ARN of the source that was removed.
*/
inline RemoveFlowSourceResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
private:
Aws::String m_flowArn;
Aws::String m_sourceArn;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API RemoveFlowVpcInterfaceRequest : public MediaConnectRequest
{
public:
RemoveFlowVpcInterfaceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RemoveFlowVpcInterface"; }
Aws::String SerializePayload() const override;
/**
* The flow that you want to remove a VPC interface from.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to remove a VPC interface from.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to remove a VPC interface from.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to remove a VPC interface from.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to remove a VPC interface from.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to remove a VPC interface from.
*/
inline RemoveFlowVpcInterfaceRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to remove a VPC interface from.
*/
inline RemoveFlowVpcInterfaceRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to remove a VPC interface from.
*/
inline RemoveFlowVpcInterfaceRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The name of the VPC interface that you want to remove.
*/
inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; }
/**
* The name of the VPC interface that you want to remove.
*/
inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
/**
* The name of the VPC interface that you want to remove.
*/
inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = value; }
/**
* The name of the VPC interface that you want to remove.
*/
inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::move(value); }
/**
* The name of the VPC interface that you want to remove.
*/
inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName.assign(value); }
/**
* The name of the VPC interface that you want to remove.
*/
inline RemoveFlowVpcInterfaceRequest& WithVpcInterfaceName(const Aws::String& value) { SetVpcInterfaceName(value); return *this;}
/**
* The name of the VPC interface that you want to remove.
*/
inline RemoveFlowVpcInterfaceRequest& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;}
/**
* The name of the VPC interface that you want to remove.
*/
inline RemoveFlowVpcInterfaceRequest& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::String m_vpcInterfaceName;
bool m_vpcInterfaceNameHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,167 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API RemoveFlowVpcInterfaceResult
{
public:
RemoveFlowVpcInterfaceResult();
RemoveFlowVpcInterfaceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RemoveFlowVpcInterfaceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
inline RemoveFlowVpcInterfaceResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
inline RemoveFlowVpcInterfaceResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that is associated with the VPC interface you removed.
*/
inline RemoveFlowVpcInterfaceResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline const Aws::Vector<Aws::String>& GetNonDeletedNetworkInterfaceIds() const{ return m_nonDeletedNetworkInterfaceIds; }
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline void SetNonDeletedNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_nonDeletedNetworkInterfaceIds = value; }
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline void SetNonDeletedNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_nonDeletedNetworkInterfaceIds = std::move(value); }
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline RemoveFlowVpcInterfaceResult& WithNonDeletedNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { SetNonDeletedNetworkInterfaceIds(value); return *this;}
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline RemoveFlowVpcInterfaceResult& WithNonDeletedNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { SetNonDeletedNetworkInterfaceIds(std::move(value)); return *this;}
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline RemoveFlowVpcInterfaceResult& AddNonDeletedNetworkInterfaceIds(const Aws::String& value) { m_nonDeletedNetworkInterfaceIds.push_back(value); return *this; }
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline RemoveFlowVpcInterfaceResult& AddNonDeletedNetworkInterfaceIds(Aws::String&& value) { m_nonDeletedNetworkInterfaceIds.push_back(std::move(value)); return *this; }
/**
* IDs of network interfaces associated with the removed VPC interface that Media
* Connect was unable to remove.
*/
inline RemoveFlowVpcInterfaceResult& AddNonDeletedNetworkInterfaceIds(const char* value) { m_nonDeletedNetworkInterfaceIds.push_back(value); return *this; }
/**
* The name of the VPC interface that was removed.
*/
inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; }
/**
* The name of the VPC interface that was removed.
*/
inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceName = value; }
/**
* The name of the VPC interface that was removed.
*/
inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceName = std::move(value); }
/**
* The name of the VPC interface that was removed.
*/
inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceName.assign(value); }
/**
* The name of the VPC interface that was removed.
*/
inline RemoveFlowVpcInterfaceResult& WithVpcInterfaceName(const Aws::String& value) { SetVpcInterfaceName(value); return *this;}
/**
* The name of the VPC interface that was removed.
*/
inline RemoveFlowVpcInterfaceResult& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;}
/**
* The name of the VPC interface that was removed.
*/
inline RemoveFlowVpcInterfaceResult& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;}
private:
Aws::String m_flowArn;
Aws::Vector<Aws::String> m_nonDeletedNetworkInterfaceIds;
Aws::String m_vpcInterfaceName;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API RevokeFlowEntitlementRequest : public MediaConnectRequest
{
public:
RevokeFlowEntitlementRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RevokeFlowEntitlement"; }
Aws::String SerializePayload() const override;
/**
* The ARN of the entitlement that you want to revoke.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement that you want to revoke.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement that you want to revoke.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement that you want to revoke.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement that you want to revoke.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement that you want to revoke.
*/
inline RevokeFlowEntitlementRequest& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement that you want to revoke.
*/
inline RevokeFlowEntitlementRequest& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement that you want to revoke.
*/
inline RevokeFlowEntitlementRequest& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* The flow that you want to revoke an entitlement from.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to revoke an entitlement from.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to revoke an entitlement from.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to revoke an entitlement from.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to revoke an entitlement from.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to revoke an entitlement from.
*/
inline RevokeFlowEntitlementRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to revoke an entitlement from.
*/
inline RevokeFlowEntitlementRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to revoke an entitlement from.
*/
inline RevokeFlowEntitlementRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API RevokeFlowEntitlementResult
{
public:
RevokeFlowEntitlementResult();
RevokeFlowEntitlementResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RevokeFlowEntitlementResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the entitlement that was revoked.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement that was revoked.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArn = value; }
/**
* The ARN of the entitlement that was revoked.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement that was revoked.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement that was revoked.
*/
inline RevokeFlowEntitlementResult& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement that was revoked.
*/
inline RevokeFlowEntitlementResult& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement that was revoked.
*/
inline RevokeFlowEntitlementResult& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the flow that the entitlement was revoked from.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that the entitlement was revoked from.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that the entitlement was revoked from.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that the entitlement was revoked from.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that the entitlement was revoked from.
*/
inline RevokeFlowEntitlementResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that the entitlement was revoked from.
*/
inline RevokeFlowEntitlementResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that the entitlement was revoked from.
*/
inline RevokeFlowEntitlementResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::String m_entitlementArn;
Aws::String m_flowArn;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,502 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Encryption.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Protocol.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for the source of the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/SetSourceRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API SetSourceRequest
{
public:
SetSourceRequest();
SetSourceRequest(Aws::Utils::Json::JsonView jsonValue);
SetSourceRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline const Encryption& GetDecryption() const{ return m_decryption; }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline void SetDecryption(const Encryption& value) { m_decryptionHasBeenSet = true; m_decryption = value; }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline void SetDecryption(Encryption&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline SetSourceRequest& WithDecryption(const Encryption& value) { SetDecryption(value); return *this;}
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline SetSourceRequest& WithDecryption(Encryption&& value) { SetDecryption(std::move(value)); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline SetSourceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline SetSourceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline SetSourceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline SetSourceRequest& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline SetSourceRequest& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline SetSourceRequest& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* The port that the flow will be listening on for incoming content.
*/
inline int GetIngestPort() const{ return m_ingestPort; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline bool IngestPortHasBeenSet() const { return m_ingestPortHasBeenSet; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline void SetIngestPort(int value) { m_ingestPortHasBeenSet = true; m_ingestPort = value; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline SetSourceRequest& WithIngestPort(int value) { SetIngestPort(value); return *this;}
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline int GetMaxBitrate() const{ return m_maxBitrate; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline SetSourceRequest& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline int GetMaxLatency() const{ return m_maxLatency; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline SetSourceRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
/**
* The name of the source.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the source.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the source.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the source.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the source.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the source.
*/
inline SetSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the source.
*/
inline SetSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the source.
*/
inline SetSourceRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* The protocol that is used by the source.
*/
inline const Protocol& GetProtocol() const{ return m_protocol; }
/**
* The protocol that is used by the source.
*/
inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
/**
* The protocol that is used by the source.
*/
inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
/**
* The protocol that is used by the source.
*/
inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
/**
* The protocol that is used by the source.
*/
inline SetSourceRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
/**
* The protocol that is used by the source.
*/
inline SetSourceRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline const Aws::String& GetStreamId() const{ return m_streamId; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline SetSourceRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline SetSourceRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline SetSourceRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
/**
* The name of the VPC interface to use for this source.
*/
inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; }
/**
* The name of the VPC interface to use for this source.
*/
inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
/**
* The name of the VPC interface to use for this source.
*/
inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = value; }
/**
* The name of the VPC interface to use for this source.
*/
inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::move(value); }
/**
* The name of the VPC interface to use for this source.
*/
inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName.assign(value); }
/**
* The name of the VPC interface to use for this source.
*/
inline SetSourceRequest& WithVpcInterfaceName(const Aws::String& value) { SetVpcInterfaceName(value); return *this;}
/**
* The name of the VPC interface to use for this source.
*/
inline SetSourceRequest& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;}
/**
* The name of the VPC interface to use for this source.
*/
inline SetSourceRequest& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline const Aws::String& GetWhitelistCidr() const{ return m_whitelistCidr; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline bool WhitelistCidrHasBeenSet() const { return m_whitelistCidrHasBeenSet; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(const Aws::String& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = value; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(Aws::String&& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = std::move(value); }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(const char* value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr.assign(value); }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline SetSourceRequest& WithWhitelistCidr(const Aws::String& value) { SetWhitelistCidr(value); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline SetSourceRequest& WithWhitelistCidr(Aws::String&& value) { SetWhitelistCidr(std::move(value)); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline SetSourceRequest& WithWhitelistCidr(const char* value) { SetWhitelistCidr(value); return *this;}
private:
Encryption m_decryption;
bool m_decryptionHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
int m_ingestPort;
bool m_ingestPortHasBeenSet;
int m_maxBitrate;
bool m_maxBitrateHasBeenSet;
int m_maxLatency;
bool m_maxLatencyHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Protocol m_protocol;
bool m_protocolHasBeenSet;
Aws::String m_streamId;
bool m_streamIdHasBeenSet;
Aws::String m_vpcInterfaceName;
bool m_vpcInterfaceNameHasBeenSet;
Aws::String m_whitelistCidr;
bool m_whitelistCidrHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,510 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Encryption.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Transport.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for the source of the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Source">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API Source
{
public:
Source();
Source(Aws::Utils::Json::JsonView jsonValue);
Source& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline int GetDataTransferSubscriberFeePercent() const{ return m_dataTransferSubscriberFeePercent; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline bool DataTransferSubscriberFeePercentHasBeenSet() const { return m_dataTransferSubscriberFeePercentHasBeenSet; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline void SetDataTransferSubscriberFeePercent(int value) { m_dataTransferSubscriberFeePercentHasBeenSet = true; m_dataTransferSubscriberFeePercent = value; }
/**
* Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
*/
inline Source& WithDataTransferSubscriberFeePercent(int value) { SetDataTransferSubscriberFeePercent(value); return *this;}
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline const Encryption& GetDecryption() const{ return m_decryption; }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline void SetDecryption(const Encryption& value) { m_decryptionHasBeenSet = true; m_decryption = value; }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline void SetDecryption(Encryption&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); }
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline Source& WithDecryption(const Encryption& value) { SetDecryption(value); return *this;}
/**
* The type of encryption that is used on the content ingested from this source.
*/
inline Source& WithDecryption(Encryption&& value) { SetDecryption(std::move(value)); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline Source& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline Source& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline Source& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline Source& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline Source& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to content that comes
* from another AWS account. The entitlement is set by the content originator and
* the ARN is generated as part of the originator's flow.
*/
inline Source& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline const Aws::String& GetIngestIp() const{ return m_ingestIp; }
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline bool IngestIpHasBeenSet() const { return m_ingestIpHasBeenSet; }
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline void SetIngestIp(const Aws::String& value) { m_ingestIpHasBeenSet = true; m_ingestIp = value; }
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline void SetIngestIp(Aws::String&& value) { m_ingestIpHasBeenSet = true; m_ingestIp = std::move(value); }
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline void SetIngestIp(const char* value) { m_ingestIpHasBeenSet = true; m_ingestIp.assign(value); }
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline Source& WithIngestIp(const Aws::String& value) { SetIngestIp(value); return *this;}
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline Source& WithIngestIp(Aws::String&& value) { SetIngestIp(std::move(value)); return *this;}
/**
* The IP address that the flow will be listening on for incoming content.
*/
inline Source& WithIngestIp(const char* value) { SetIngestIp(value); return *this;}
/**
* The port that the flow will be listening on for incoming content.
*/
inline int GetIngestPort() const{ return m_ingestPort; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline bool IngestPortHasBeenSet() const { return m_ingestPortHasBeenSet; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline void SetIngestPort(int value) { m_ingestPortHasBeenSet = true; m_ingestPort = value; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline Source& WithIngestPort(int value) { SetIngestPort(value); return *this;}
/**
* The name of the source.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the source.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the source.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the source.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the source.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the source.
*/
inline Source& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the source.
*/
inline Source& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the source.
*/
inline Source& WithName(const char* value) { SetName(value); return *this;}
/**
* The ARN of the source.
*/
inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
/**
* The ARN of the source.
*/
inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
/**
* The ARN of the source.
*/
inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
/**
* The ARN of the source.
*/
inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
/**
* The ARN of the source.
*/
inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
/**
* The ARN of the source.
*/
inline Source& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
/**
* The ARN of the source.
*/
inline Source& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
/**
* The ARN of the source.
*/
inline Source& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
/**
* Attributes related to the transport stream that are used in the source.
*/
inline const Transport& GetTransport() const{ return m_transport; }
/**
* Attributes related to the transport stream that are used in the source.
*/
inline bool TransportHasBeenSet() const { return m_transportHasBeenSet; }
/**
* Attributes related to the transport stream that are used in the source.
*/
inline void SetTransport(const Transport& value) { m_transportHasBeenSet = true; m_transport = value; }
/**
* Attributes related to the transport stream that are used in the source.
*/
inline void SetTransport(Transport&& value) { m_transportHasBeenSet = true; m_transport = std::move(value); }
/**
* Attributes related to the transport stream that are used in the source.
*/
inline Source& WithTransport(const Transport& value) { SetTransport(value); return *this;}
/**
* Attributes related to the transport stream that are used in the source.
*/
inline Source& WithTransport(Transport&& value) { SetTransport(std::move(value)); return *this;}
/**
* The name of the VPC Interface this Source is configured with.
*/
inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; }
/**
* The name of the VPC Interface this Source is configured with.
*/
inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
/**
* The name of the VPC Interface this Source is configured with.
*/
inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = value; }
/**
* The name of the VPC Interface this Source is configured with.
*/
inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::move(value); }
/**
* The name of the VPC Interface this Source is configured with.
*/
inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName.assign(value); }
/**
* The name of the VPC Interface this Source is configured with.
*/
inline Source& WithVpcInterfaceName(const Aws::String& value) { SetVpcInterfaceName(value); return *this;}
/**
* The name of the VPC Interface this Source is configured with.
*/
inline Source& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;}
/**
* The name of the VPC Interface this Source is configured with.
*/
inline Source& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline const Aws::String& GetWhitelistCidr() const{ return m_whitelistCidr; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline bool WhitelistCidrHasBeenSet() const { return m_whitelistCidrHasBeenSet; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(const Aws::String& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = value; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(Aws::String&& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = std::move(value); }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(const char* value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr.assign(value); }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Source& WithWhitelistCidr(const Aws::String& value) { SetWhitelistCidr(value); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Source& WithWhitelistCidr(Aws::String&& value) { SetWhitelistCidr(std::move(value)); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Source& WithWhitelistCidr(const char* value) { SetWhitelistCidr(value); return *this;}
private:
int m_dataTransferSubscriberFeePercent;
bool m_dataTransferSubscriberFeePercentHasBeenSet;
Encryption m_decryption;
bool m_decryptionHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
Aws::String m_ingestIp;
bool m_ingestIpHasBeenSet;
int m_ingestPort;
bool m_ingestPortHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_sourceArn;
bool m_sourceArnHasBeenSet;
Transport m_transport;
bool m_transportHasBeenSet;
Aws::String m_vpcInterfaceName;
bool m_vpcInterfaceNameHasBeenSet;
Aws::String m_whitelistCidr;
bool m_whitelistCidrHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
enum class SourceType
{
NOT_SET,
OWNED,
ENTITLED
};
namespace SourceTypeMapper
{
AWS_MEDIACONNECT_API SourceType GetSourceTypeForName(const Aws::String& name);
AWS_MEDIACONNECT_API Aws::String GetNameForSourceType(SourceType value);
} // namespace SourceTypeMapper
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API StartFlowRequest : public MediaConnectRequest
{
public:
StartFlowRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "StartFlow"; }
Aws::String SerializePayload() const override;
/**
* The ARN of the flow that you want to start.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you want to start.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The ARN of the flow that you want to start.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The ARN of the flow that you want to start.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The ARN of the flow that you want to start.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The ARN of the flow that you want to start.
*/
inline StartFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you want to start.
*/
inline StartFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you want to start.
*/
inline StartFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,106 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Status.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API StartFlowResult
{
public:
StartFlowResult();
StartFlowResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
StartFlowResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that you started.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you started.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that you started.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that you started.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that you started.
*/
inline StartFlowResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you started.
*/
inline StartFlowResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you started.
*/
inline StartFlowResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The status of the flow when the StartFlow process begins.
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* The status of the flow when the StartFlow process begins.
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* The status of the flow when the StartFlow process begins.
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* The status of the flow when the StartFlow process begins.
*/
inline StartFlowResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* The status of the flow when the StartFlow process begins.
*/
inline StartFlowResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::String m_flowArn;
Status m_status;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
enum class State
{
NOT_SET,
ENABLED,
DISABLED
};
namespace StateMapper
{
AWS_MEDIACONNECT_API State GetStateForName(const Aws::String& name);
AWS_MEDIACONNECT_API Aws::String GetNameForState(State value);
} // namespace StateMapper
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
enum class Status
{
NOT_SET,
STANDBY,
ACTIVE,
UPDATING,
DELETING,
STARTING,
STOPPING,
ERROR_
};
namespace StatusMapper
{
AWS_MEDIACONNECT_API Status GetStatusForName(const Aws::String& name);
AWS_MEDIACONNECT_API Aws::String GetNameForStatus(Status value);
} // namespace StatusMapper
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API StopFlowRequest : public MediaConnectRequest
{
public:
StopFlowRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "StopFlow"; }
Aws::String SerializePayload() const override;
/**
* The ARN of the flow that you want to stop.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you want to stop.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The ARN of the flow that you want to stop.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The ARN of the flow that you want to stop.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The ARN of the flow that you want to stop.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The ARN of the flow that you want to stop.
*/
inline StopFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you want to stop.
*/
inline StopFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you want to stop.
*/
inline StopFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,106 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Status.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API StopFlowResult
{
public:
StopFlowResult();
StopFlowResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
StopFlowResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that you stopped.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you stopped.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that you stopped.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that you stopped.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that you stopped.
*/
inline StopFlowResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you stopped.
*/
inline StopFlowResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you stopped.
*/
inline StopFlowResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The status of the flow when the StopFlow process begins.
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* The status of the flow when the StopFlow process begins.
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* The status of the flow when the StopFlow process begins.
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* The status of the flow when the StopFlow process begins.
*/
inline StopFlowResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* The status of the flow when the StopFlow process begins.
*/
inline StopFlowResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::String m_flowArn;
Status m_status;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,179 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* The tags to add to the resource. A tag is an array of key-value pairs. Tag keys
* can have a maximum character length of 128 characters, and tag values can have a
* maximum length of 256 characters.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TagResourceRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API TagResourceRequest : public MediaConnectRequest
{
public:
TagResourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "TagResource"; }
Aws::String SerializePayload() const override;
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline TagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline TagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource to which to add tags.
*/
inline TagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* A map from tag keys to values. Tag keys can have a maximum character length of
* 128 characters, and tag values can have a maximum length of 256 characters.
*/
inline TagResourceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
private:
Aws::String m_resourceArn;
bool m_resourceArnHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,320 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/mediaconnect/model/Protocol.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* Attributes related to the transport stream that are used in a source or
* output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Transport">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API Transport
{
public:
Transport();
Transport(Aws::Utils::Json::JsonView jsonValue);
Transport& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline const Aws::Vector<Aws::String>& GetCidrAllowList() const{ return m_cidrAllowList; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline bool CidrAllowListHasBeenSet() const { return m_cidrAllowListHasBeenSet; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetCidrAllowList(const Aws::Vector<Aws::String>& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = value; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetCidrAllowList(Aws::Vector<Aws::String>&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = std::move(value); }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Transport& WithCidrAllowList(const Aws::Vector<Aws::String>& value) { SetCidrAllowList(value); return *this;}
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Transport& WithCidrAllowList(Aws::Vector<Aws::String>&& value) { SetCidrAllowList(std::move(value)); return *this;}
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Transport& AddCidrAllowList(const Aws::String& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Transport& AddCidrAllowList(Aws::String&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(std::move(value)); return *this; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline Transport& AddCidrAllowList(const char* value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline int GetMaxBitrate() const{ return m_maxBitrate; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline Transport& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline int GetMaxLatency() const{ return m_maxLatency; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline Transport& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
/**
* The protocol that is used by the source or output.
*/
inline const Protocol& GetProtocol() const{ return m_protocol; }
/**
* The protocol that is used by the source or output.
*/
inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
/**
* The protocol that is used by the source or output.
*/
inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
/**
* The protocol that is used by the source or output.
*/
inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
/**
* The protocol that is used by the source or output.
*/
inline Transport& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
/**
* The protocol that is used by the source or output.
*/
inline Transport& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
/**
* The remote ID for the Zixi-pull stream.
*/
inline const Aws::String& GetRemoteId() const{ return m_remoteId; }
/**
* The remote ID for the Zixi-pull stream.
*/
inline bool RemoteIdHasBeenSet() const { return m_remoteIdHasBeenSet; }
/**
* The remote ID for the Zixi-pull stream.
*/
inline void SetRemoteId(const Aws::String& value) { m_remoteIdHasBeenSet = true; m_remoteId = value; }
/**
* The remote ID for the Zixi-pull stream.
*/
inline void SetRemoteId(Aws::String&& value) { m_remoteIdHasBeenSet = true; m_remoteId = std::move(value); }
/**
* The remote ID for the Zixi-pull stream.
*/
inline void SetRemoteId(const char* value) { m_remoteIdHasBeenSet = true; m_remoteId.assign(value); }
/**
* The remote ID for the Zixi-pull stream.
*/
inline Transport& WithRemoteId(const Aws::String& value) { SetRemoteId(value); return *this;}
/**
* The remote ID for the Zixi-pull stream.
*/
inline Transport& WithRemoteId(Aws::String&& value) { SetRemoteId(std::move(value)); return *this;}
/**
* The remote ID for the Zixi-pull stream.
*/
inline Transport& WithRemoteId(const char* value) { SetRemoteId(value); return *this;}
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline int GetSmoothingLatency() const{ return m_smoothingLatency; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline bool SmoothingLatencyHasBeenSet() const { return m_smoothingLatencyHasBeenSet; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline void SetSmoothingLatency(int value) { m_smoothingLatencyHasBeenSet = true; m_smoothingLatency = value; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline Transport& WithSmoothingLatency(int value) { SetSmoothingLatency(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline const Aws::String& GetStreamId() const{ return m_streamId; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline Transport& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline Transport& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline Transport& WithStreamId(const char* value) { SetStreamId(value); return *this;}
private:
Aws::Vector<Aws::String> m_cidrAllowList;
bool m_cidrAllowListHasBeenSet;
int m_maxBitrate;
bool m_maxBitrateHasBeenSet;
int m_maxLatency;
bool m_maxLatencyHasBeenSet;
Protocol m_protocol;
bool m_protocolHasBeenSet;
Aws::String m_remoteId;
bool m_remoteIdHasBeenSet;
int m_smoothingLatency;
bool m_smoothingLatencyHasBeenSet;
Aws::String m_streamId;
bool m_streamIdHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,147 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace MediaConnect
{
namespace Model
{
/**
*/
class AWS_MEDIACONNECT_API UntagResourceRequest : public MediaConnectRequest
{
public:
UntagResourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UntagResource"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
/**
* The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect
* resource from which to delete tags.
*/
inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
/**
* The keys of the tags to be removed.
*/
inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
/**
* The keys of the tags to be removed.
*/
inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
/**
* The keys of the tags to be removed.
*/
inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
/**
* The keys of the tags to be removed.
*/
inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
/**
* The keys of the tags to be removed.
*/
inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
/**
* The keys of the tags to be removed.
*/
inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
/**
* The keys of the tags to be removed.
*/
inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
/**
* The keys of the tags to be removed.
*/
inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
/**
* The keys of the tags to be removed.
*/
inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
private:
Aws::String m_resourceArn;
bool m_resourceArnHasBeenSet;
Aws::Vector<Aws::String> m_tagKeys;
bool m_tagKeysHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,546 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Algorithm.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/KeyType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* Information about the encryption of the flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateEncryption">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API UpdateEncryption
{
public:
UpdateEncryption();
UpdateEncryption(Aws::Utils::Json::JsonView jsonValue);
UpdateEncryption& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline const Algorithm& GetAlgorithm() const{ return m_algorithm; }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline void SetAlgorithm(const Algorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline void SetAlgorithm(Algorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); }
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline UpdateEncryption& WithAlgorithm(const Algorithm& value) { SetAlgorithm(value); return *this;}
/**
* The type of algorithm that is used for the encryption (such as aes128, aes192,
* or aes256).
*/
inline UpdateEncryption& WithAlgorithm(Algorithm&& value) { SetAlgorithm(std::move(value)); return *this;}
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline const Aws::String& GetConstantInitializationVector() const{ return m_constantInitializationVector; }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline bool ConstantInitializationVectorHasBeenSet() const { return m_constantInitializationVectorHasBeenSet; }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline void SetConstantInitializationVector(const Aws::String& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = value; }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline void SetConstantInitializationVector(Aws::String&& value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector = std::move(value); }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline void SetConstantInitializationVector(const char* value) { m_constantInitializationVectorHasBeenSet = true; m_constantInitializationVector.assign(value); }
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithConstantInitializationVector(const Aws::String& value) { SetConstantInitializationVector(value); return *this;}
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithConstantInitializationVector(Aws::String&& value) { SetConstantInitializationVector(std::move(value)); return *this;}
/**
* A 128-bit, 16-byte hex value represented by a 32-character string, to be used
* with the key for encrypting content. This parameter is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithConstantInitializationVector(const char* value) { SetConstantInitializationVector(value); return *this;}
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline UpdateEncryption& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline UpdateEncryption& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
/**
* The value of one of the devices that you configured with your digital rights
* management (DRM) platform key provider. This parameter is required for SPEKE
* encryption and is not valid for static key encryption.
*/
inline UpdateEncryption& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline const KeyType& GetKeyType() const{ return m_keyType; }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline void SetKeyType(const KeyType& value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline void SetKeyType(KeyType&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); }
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline UpdateEncryption& WithKeyType(const KeyType& value) { SetKeyType(value); return *this;}
/**
* The type of key that is used for the encryption. If no keyType is provided, the
* service will use the default setting (static-key).
*/
inline UpdateEncryption& WithKeyType(KeyType&& value) { SetKeyType(std::move(value)); return *this;}
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline const Aws::String& GetRegion() const{ return m_region; }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
/**
* The AWS Region that the API Gateway proxy endpoint was created in. This
* parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithRegion(const char* value) { SetRegion(value); return *this;}
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* An identifier for the content. The service sends this value to the key server to
* identify the current endpoint. The resource ID is also known as the content ID.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithResourceId(const char* value) { SetResourceId(value); return *this;}
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline UpdateEncryption& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline UpdateEncryption& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* The ARN of the role that you created during setup (when you set up AWS Elemental
* MediaConnect as a trusted entity).
*/
inline UpdateEncryption& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline UpdateEncryption& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline UpdateEncryption& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
/**
* The ARN of the secret that you created in AWS Secrets Manager to store the
* encryption key. This parameter is required for static key encryption and is not
* valid for SPEKE encryption.
*/
inline UpdateEncryption& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline const Aws::String& GetUrl() const{ return m_url; }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
/**
* The URL from the API Gateway proxy that you set up to talk to your key server.
* This parameter is required for SPEKE encryption and is not valid for static key
* encryption.
*/
inline UpdateEncryption& WithUrl(const char* value) { SetUrl(value); return *this;}
private:
Algorithm m_algorithm;
bool m_algorithmHasBeenSet;
Aws::String m_constantInitializationVector;
bool m_constantInitializationVectorHasBeenSet;
Aws::String m_deviceId;
bool m_deviceIdHasBeenSet;
KeyType m_keyType;
bool m_keyTypeHasBeenSet;
Aws::String m_region;
bool m_regionHasBeenSet;
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
Aws::String m_secretArn;
bool m_secretArnHasBeenSet;
Aws::String m_url;
bool m_urlHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/State.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for source failover<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFailoverConfig">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API UpdateFailoverConfig
{
public:
UpdateFailoverConfig();
UpdateFailoverConfig(Aws::Utils::Json::JsonView jsonValue);
UpdateFailoverConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Recovery window time to look for dash-7 packets
*/
inline int GetRecoveryWindow() const{ return m_recoveryWindow; }
/**
* Recovery window time to look for dash-7 packets
*/
inline bool RecoveryWindowHasBeenSet() const { return m_recoveryWindowHasBeenSet; }
/**
* Recovery window time to look for dash-7 packets
*/
inline void SetRecoveryWindow(int value) { m_recoveryWindowHasBeenSet = true; m_recoveryWindow = value; }
/**
* Recovery window time to look for dash-7 packets
*/
inline UpdateFailoverConfig& WithRecoveryWindow(int value) { SetRecoveryWindow(value); return *this;}
inline const State& GetState() const{ return m_state; }
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
inline UpdateFailoverConfig& WithState(const State& value) { SetState(value); return *this;}
inline UpdateFailoverConfig& WithState(State&& value) { SetState(std::move(value)); return *this;}
private:
int m_recoveryWindow;
bool m_recoveryWindowHasBeenSet;
State m_state;
bool m_stateHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,352 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/UpdateEncryption.h>
#include <aws/mediaconnect/model/EntitlementStatus.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* The entitlement fields that you want to update.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlementRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API UpdateFlowEntitlementRequest : public MediaConnectRequest
{
public:
UpdateFlowEntitlementRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowEntitlement"; }
Aws::String SerializePayload() const override;
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline UpdateFlowEntitlementRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline UpdateFlowEntitlementRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the entitlement. This description appears only on the AWS
* Elemental MediaConnect console and will not be seen by the subscriber or end
* user.
*/
inline UpdateFlowEntitlementRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The type of encryption that will be used on the output associated with this
* entitlement.
*/
inline const UpdateEncryption& GetEncryption() const{ return m_encryption; }
/**
* The type of encryption that will be used on the output associated with this
* entitlement.
*/
inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
/**
* The type of encryption that will be used on the output associated with this
* entitlement.
*/
inline void SetEncryption(const UpdateEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
/**
* The type of encryption that will be used on the output associated with this
* entitlement.
*/
inline void SetEncryption(UpdateEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
/**
* The type of encryption that will be used on the output associated with this
* entitlement.
*/
inline UpdateFlowEntitlementRequest& WithEncryption(const UpdateEncryption& value) { SetEncryption(value); return *this;}
/**
* The type of encryption that will be used on the output associated with this
* entitlement.
*/
inline UpdateFlowEntitlementRequest& WithEncryption(UpdateEncryption&& value) { SetEncryption(std::move(value)); return *this;}
/**
* The ARN of the entitlement that you want to update.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement that you want to update.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement that you want to update.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement that you want to update.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement that you want to update.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement that you want to update.
*/
inline UpdateFlowEntitlementRequest& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement that you want to update.
*/
inline UpdateFlowEntitlementRequest& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement that you want to update.
*/
inline UpdateFlowEntitlementRequest& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* An indication of whether you want to enable the entitlement to allow access, or
* disable it to stop streaming content to the subscribers flow temporarily. If
* you dont specify the entitlementStatus field in your request, MediaConnect
* leaves the value unchanged.
*/
inline const EntitlementStatus& GetEntitlementStatus() const{ return m_entitlementStatus; }
/**
* An indication of whether you want to enable the entitlement to allow access, or
* disable it to stop streaming content to the subscribers flow temporarily. If
* you dont specify the entitlementStatus field in your request, MediaConnect
* leaves the value unchanged.
*/
inline bool EntitlementStatusHasBeenSet() const { return m_entitlementStatusHasBeenSet; }
/**
* An indication of whether you want to enable the entitlement to allow access, or
* disable it to stop streaming content to the subscribers flow temporarily. If
* you dont specify the entitlementStatus field in your request, MediaConnect
* leaves the value unchanged.
*/
inline void SetEntitlementStatus(const EntitlementStatus& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = value; }
/**
* An indication of whether you want to enable the entitlement to allow access, or
* disable it to stop streaming content to the subscribers flow temporarily. If
* you dont specify the entitlementStatus field in your request, MediaConnect
* leaves the value unchanged.
*/
inline void SetEntitlementStatus(EntitlementStatus&& value) { m_entitlementStatusHasBeenSet = true; m_entitlementStatus = std::move(value); }
/**
* An indication of whether you want to enable the entitlement to allow access, or
* disable it to stop streaming content to the subscribers flow temporarily. If
* you dont specify the entitlementStatus field in your request, MediaConnect
* leaves the value unchanged.
*/
inline UpdateFlowEntitlementRequest& WithEntitlementStatus(const EntitlementStatus& value) { SetEntitlementStatus(value); return *this;}
/**
* An indication of whether you want to enable the entitlement to allow access, or
* disable it to stop streaming content to the subscribers flow temporarily. If
* you dont specify the entitlementStatus field in your request, MediaConnect
* leaves the value unchanged.
*/
inline UpdateFlowEntitlementRequest& WithEntitlementStatus(EntitlementStatus&& value) { SetEntitlementStatus(std::move(value)); return *this;}
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline UpdateFlowEntitlementRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline UpdateFlowEntitlementRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that is associated with the entitlement that you want to update.
*/
inline UpdateFlowEntitlementRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline const Aws::Vector<Aws::String>& GetSubscribers() const{ return m_subscribers; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline bool SubscribersHasBeenSet() const { return m_subscribersHasBeenSet; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline void SetSubscribers(const Aws::Vector<Aws::String>& value) { m_subscribersHasBeenSet = true; m_subscribers = value; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline void SetSubscribers(Aws::Vector<Aws::String>&& value) { m_subscribersHasBeenSet = true; m_subscribers = std::move(value); }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline UpdateFlowEntitlementRequest& WithSubscribers(const Aws::Vector<Aws::String>& value) { SetSubscribers(value); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline UpdateFlowEntitlementRequest& WithSubscribers(Aws::Vector<Aws::String>&& value) { SetSubscribers(std::move(value)); return *this;}
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline UpdateFlowEntitlementRequest& AddSubscribers(const Aws::String& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline UpdateFlowEntitlementRequest& AddSubscribers(Aws::String&& value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(std::move(value)); return *this; }
/**
* The AWS account IDs that you want to share your content with. The receiving
* accounts (subscribers) will be allowed to create their own flow using your
* content as the source.
*/
inline UpdateFlowEntitlementRequest& AddSubscribers(const char* value) { m_subscribersHasBeenSet = true; m_subscribers.push_back(value); return *this; }
private:
Aws::String m_description;
bool m_descriptionHasBeenSet;
UpdateEncryption m_encryption;
bool m_encryptionHasBeenSet;
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
EntitlementStatus m_entitlementStatus;
bool m_entitlementStatusHasBeenSet;
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
Aws::Vector<Aws::String> m_subscribers;
bool m_subscribersHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,96 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Entitlement.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API UpdateFlowEntitlementResult
{
public:
UpdateFlowEntitlementResult();
UpdateFlowEntitlementResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateFlowEntitlementResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
inline const Entitlement& GetEntitlement() const{ return m_entitlement; }
inline void SetEntitlement(const Entitlement& value) { m_entitlement = value; }
inline void SetEntitlement(Entitlement&& value) { m_entitlement = std::move(value); }
inline UpdateFlowEntitlementResult& WithEntitlement(const Entitlement& value) { SetEntitlement(value); return *this;}
inline UpdateFlowEntitlementResult& WithEntitlement(Entitlement&& value) { SetEntitlement(std::move(value)); return *this;}
/**
* The ARN of the flow that this entitlement was granted on.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that this entitlement was granted on.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that this entitlement was granted on.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that this entitlement was granted on.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that this entitlement was granted on.
*/
inline UpdateFlowEntitlementResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that this entitlement was granted on.
*/
inline UpdateFlowEntitlementResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that this entitlement was granted on.
*/
inline UpdateFlowEntitlementResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
private:
Entitlement m_entitlement;
Aws::String m_flowArn;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,573 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/UpdateEncryption.h>
#include <aws/mediaconnect/model/Protocol.h>
#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* The fields that you want to update in the output.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API UpdateFlowOutputRequest : public MediaConnectRequest
{
public:
UpdateFlowOutputRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowOutput"; }
Aws::String SerializePayload() const override;
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline const Aws::Vector<Aws::String>& GetCidrAllowList() const{ return m_cidrAllowList; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline bool CidrAllowListHasBeenSet() const { return m_cidrAllowListHasBeenSet; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetCidrAllowList(const Aws::Vector<Aws::String>& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = value; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetCidrAllowList(Aws::Vector<Aws::String>&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = std::move(value); }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowOutputRequest& WithCidrAllowList(const Aws::Vector<Aws::String>& value) { SetCidrAllowList(value); return *this;}
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowOutputRequest& WithCidrAllowList(Aws::Vector<Aws::String>&& value) { SetCidrAllowList(std::move(value)); return *this;}
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowOutputRequest& AddCidrAllowList(const Aws::String& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowOutputRequest& AddCidrAllowList(Aws::String&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(std::move(value)); return *this; }
/**
* The range of IP addresses that should be allowed to initiate output requests to
* this flow. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowOutputRequest& AddCidrAllowList(const char* value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline UpdateFlowOutputRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline UpdateFlowOutputRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description of the output. This description appears only on the AWS Elemental
* MediaConnect console and will not be seen by the end user.
*/
inline UpdateFlowOutputRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The IP address where you want to send the output.
*/
inline const Aws::String& GetDestination() const{ return m_destination; }
/**
* The IP address where you want to send the output.
*/
inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
/**
* The IP address where you want to send the output.
*/
inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
/**
* The IP address where you want to send the output.
*/
inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
/**
* The IP address where you want to send the output.
*/
inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
/**
* The IP address where you want to send the output.
*/
inline UpdateFlowOutputRequest& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
/**
* The IP address where you want to send the output.
*/
inline UpdateFlowOutputRequest& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
/**
* The IP address where you want to send the output.
*/
inline UpdateFlowOutputRequest& WithDestination(const char* value) { SetDestination(value); return *this;}
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline const UpdateEncryption& GetEncryption() const{ return m_encryption; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline void SetEncryption(const UpdateEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline void SetEncryption(UpdateEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline UpdateFlowOutputRequest& WithEncryption(const UpdateEncryption& value) { SetEncryption(value); return *this;}
/**
* The type of key used for the encryption. If no keyType is provided, the service
* will use the default setting (static-key).
*/
inline UpdateFlowOutputRequest& WithEncryption(UpdateEncryption&& value) { SetEncryption(std::move(value)); return *this;}
/**
* The flow that is associated with the output that you want to update.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that is associated with the output that you want to update.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that is associated with the output that you want to update.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that is associated with the output that you want to update.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that is associated with the output that you want to update.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that is associated with the output that you want to update.
*/
inline UpdateFlowOutputRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that is associated with the output that you want to update.
*/
inline UpdateFlowOutputRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that is associated with the output that you want to update.
*/
inline UpdateFlowOutputRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline int GetMaxLatency() const{ return m_maxLatency; }
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
/**
* The maximum latency in milliseconds for Zixi-based streams.
*/
inline UpdateFlowOutputRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
/**
* The ARN of the output that you want to update.
*/
inline const Aws::String& GetOutputArn() const{ return m_outputArn; }
/**
* The ARN of the output that you want to update.
*/
inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
/**
* The ARN of the output that you want to update.
*/
inline void SetOutputArn(const Aws::String& value) { m_outputArnHasBeenSet = true; m_outputArn = value; }
/**
* The ARN of the output that you want to update.
*/
inline void SetOutputArn(Aws::String&& value) { m_outputArnHasBeenSet = true; m_outputArn = std::move(value); }
/**
* The ARN of the output that you want to update.
*/
inline void SetOutputArn(const char* value) { m_outputArnHasBeenSet = true; m_outputArn.assign(value); }
/**
* The ARN of the output that you want to update.
*/
inline UpdateFlowOutputRequest& WithOutputArn(const Aws::String& value) { SetOutputArn(value); return *this;}
/**
* The ARN of the output that you want to update.
*/
inline UpdateFlowOutputRequest& WithOutputArn(Aws::String&& value) { SetOutputArn(std::move(value)); return *this;}
/**
* The ARN of the output that you want to update.
*/
inline UpdateFlowOutputRequest& WithOutputArn(const char* value) { SetOutputArn(value); return *this;}
/**
* The port to use when content is distributed to this output.
*/
inline int GetPort() const{ return m_port; }
/**
* The port to use when content is distributed to this output.
*/
inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
/**
* The port to use when content is distributed to this output.
*/
inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
/**
* The port to use when content is distributed to this output.
*/
inline UpdateFlowOutputRequest& WithPort(int value) { SetPort(value); return *this;}
/**
* The protocol to use for the output.
*/
inline const Protocol& GetProtocol() const{ return m_protocol; }
/**
* The protocol to use for the output.
*/
inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
/**
* The protocol to use for the output.
*/
inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
/**
* The protocol to use for the output.
*/
inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
/**
* The protocol to use for the output.
*/
inline UpdateFlowOutputRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
/**
* The protocol to use for the output.
*/
inline UpdateFlowOutputRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
/**
* The remote ID for the Zixi-pull stream.
*/
inline const Aws::String& GetRemoteId() const{ return m_remoteId; }
/**
* The remote ID for the Zixi-pull stream.
*/
inline bool RemoteIdHasBeenSet() const { return m_remoteIdHasBeenSet; }
/**
* The remote ID for the Zixi-pull stream.
*/
inline void SetRemoteId(const Aws::String& value) { m_remoteIdHasBeenSet = true; m_remoteId = value; }
/**
* The remote ID for the Zixi-pull stream.
*/
inline void SetRemoteId(Aws::String&& value) { m_remoteIdHasBeenSet = true; m_remoteId = std::move(value); }
/**
* The remote ID for the Zixi-pull stream.
*/
inline void SetRemoteId(const char* value) { m_remoteIdHasBeenSet = true; m_remoteId.assign(value); }
/**
* The remote ID for the Zixi-pull stream.
*/
inline UpdateFlowOutputRequest& WithRemoteId(const Aws::String& value) { SetRemoteId(value); return *this;}
/**
* The remote ID for the Zixi-pull stream.
*/
inline UpdateFlowOutputRequest& WithRemoteId(Aws::String&& value) { SetRemoteId(std::move(value)); return *this;}
/**
* The remote ID for the Zixi-pull stream.
*/
inline UpdateFlowOutputRequest& WithRemoteId(const char* value) { SetRemoteId(value); return *this;}
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline int GetSmoothingLatency() const{ return m_smoothingLatency; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline bool SmoothingLatencyHasBeenSet() const { return m_smoothingLatencyHasBeenSet; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline void SetSmoothingLatency(int value) { m_smoothingLatencyHasBeenSet = true; m_smoothingLatency = value; }
/**
* The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
*/
inline UpdateFlowOutputRequest& WithSmoothingLatency(int value) { SetSmoothingLatency(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline const Aws::String& GetStreamId() const{ return m_streamId; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline UpdateFlowOutputRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline UpdateFlowOutputRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline UpdateFlowOutputRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
/**
* The name of the VPC interface attachment to use for this output.
*/
inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const{ return m_vpcInterfaceAttachment; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline void SetVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = value; }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline void SetVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::move(value); }
/**
* The name of the VPC interface attachment to use for this output.
*/
inline UpdateFlowOutputRequest& WithVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { SetVpcInterfaceAttachment(value); return *this;}
/**
* The name of the VPC interface attachment to use for this output.
*/
inline UpdateFlowOutputRequest& WithVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { SetVpcInterfaceAttachment(std::move(value)); return *this;}
private:
Aws::Vector<Aws::String> m_cidrAllowList;
bool m_cidrAllowListHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_destination;
bool m_destinationHasBeenSet;
UpdateEncryption m_encryption;
bool m_encryptionHasBeenSet;
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
int m_maxLatency;
bool m_maxLatencyHasBeenSet;
Aws::String m_outputArn;
bool m_outputArnHasBeenSet;
int m_port;
bool m_portHasBeenSet;
Protocol m_protocol;
bool m_protocolHasBeenSet;
Aws::String m_remoteId;
bool m_remoteIdHasBeenSet;
int m_smoothingLatency;
bool m_smoothingLatencyHasBeenSet;
Aws::String m_streamId;
bool m_streamIdHasBeenSet;
VpcInterfaceAttachment m_vpcInterfaceAttachment;
bool m_vpcInterfaceAttachmentHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,96 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Output.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API UpdateFlowOutputResult
{
public:
UpdateFlowOutputResult();
UpdateFlowOutputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateFlowOutputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that is associated with the updated output.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that is associated with the updated output.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that is associated with the updated output.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that is associated with the updated output.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that is associated with the updated output.
*/
inline UpdateFlowOutputResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that is associated with the updated output.
*/
inline UpdateFlowOutputResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that is associated with the updated output.
*/
inline UpdateFlowOutputResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
inline const Output& GetOutput() const{ return m_output; }
inline void SetOutput(const Output& value) { m_output = value; }
inline void SetOutput(Output&& value) { m_output = std::move(value); }
inline UpdateFlowOutputResult& WithOutput(const Output& value) { SetOutput(value); return *this;}
inline UpdateFlowOutputResult& WithOutput(Output&& value) { SetOutput(std::move(value)); return *this;}
private:
Aws::String m_flowArn;
Output m_output;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,109 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/UpdateFailoverConfig.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* A request to update flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API UpdateFlowRequest : public MediaConnectRequest
{
public:
UpdateFlowRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateFlow"; }
Aws::String SerializePayload() const override;
/**
* The flow that you want to update.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that you want to update.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that you want to update.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that you want to update.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that you want to update.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that you want to update.
*/
inline UpdateFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that you want to update.
*/
inline UpdateFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that you want to update.
*/
inline UpdateFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
inline const UpdateFailoverConfig& GetSourceFailoverConfig() const{ return m_sourceFailoverConfig; }
inline bool SourceFailoverConfigHasBeenSet() const { return m_sourceFailoverConfigHasBeenSet; }
inline void SetSourceFailoverConfig(const UpdateFailoverConfig& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = value; }
inline void SetSourceFailoverConfig(UpdateFailoverConfig&& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = std::move(value); }
inline UpdateFlowRequest& WithSourceFailoverConfig(const UpdateFailoverConfig& value) { SetSourceFailoverConfig(value); return *this;}
inline UpdateFlowRequest& WithSourceFailoverConfig(UpdateFailoverConfig&& value) { SetSourceFailoverConfig(std::move(value)); return *this;}
private:
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
UpdateFailoverConfig m_sourceFailoverConfig;
bool m_sourceFailoverConfigHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,57 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/model/Flow.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API UpdateFlowResult
{
public:
UpdateFlowResult();
UpdateFlowResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateFlowResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
inline const Flow& GetFlow() const{ return m_flow; }
inline void SetFlow(const Flow& value) { m_flow = value; }
inline void SetFlow(Flow&& value) { m_flow = std::move(value); }
inline UpdateFlowResult& WithFlow(const Flow& value) { SetFlow(value); return *this;}
inline UpdateFlowResult& WithFlow(Flow&& value) { SetFlow(std::move(value)); return *this;}
private:
Flow m_flow;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,544 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/mediaconnect/MediaConnectRequest.h>
#include <aws/mediaconnect/model/UpdateEncryption.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Protocol.h>
#include <utility>
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* A request to update the source of a flow.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSourceRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API UpdateFlowSourceRequest : public MediaConnectRequest
{
public:
UpdateFlowSourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowSource"; }
Aws::String SerializePayload() const override;
/**
* The type of encryption used on the content ingested from this source.
*/
inline const UpdateEncryption& GetDecryption() const{ return m_decryption; }
/**
* The type of encryption used on the content ingested from this source.
*/
inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
/**
* The type of encryption used on the content ingested from this source.
*/
inline void SetDecryption(const UpdateEncryption& value) { m_decryptionHasBeenSet = true; m_decryption = value; }
/**
* The type of encryption used on the content ingested from this source.
*/
inline void SetDecryption(UpdateEncryption&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); }
/**
* The type of encryption used on the content ingested from this source.
*/
inline UpdateFlowSourceRequest& WithDecryption(const UpdateEncryption& value) { SetDecryption(value); return *this;}
/**
* The type of encryption used on the content ingested from this source.
*/
inline UpdateFlowSourceRequest& WithDecryption(UpdateEncryption&& value) { SetDecryption(std::move(value)); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline UpdateFlowSourceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline UpdateFlowSourceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* A description for the source. This value is not used or seen outside of the
* current AWS Elemental MediaConnect account.
*/
inline UpdateFlowSourceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline UpdateFlowSourceRequest& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline UpdateFlowSourceRequest& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
/**
* The ARN of the entitlement that allows you to subscribe to this flow. The
* entitlement is set by the flow originator, and the ARN is generated as part of
* the originator's flow.
*/
inline UpdateFlowSourceRequest& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
/**
* The flow that is associated with the source that you want to update.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The flow that is associated with the source that you want to update.
*/
inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
/**
* The flow that is associated with the source that you want to update.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
/**
* The flow that is associated with the source that you want to update.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
/**
* The flow that is associated with the source that you want to update.
*/
inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
/**
* The flow that is associated with the source that you want to update.
*/
inline UpdateFlowSourceRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The flow that is associated with the source that you want to update.
*/
inline UpdateFlowSourceRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The flow that is associated with the source that you want to update.
*/
inline UpdateFlowSourceRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The port that the flow will be listening on for incoming content.
*/
inline int GetIngestPort() const{ return m_ingestPort; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline bool IngestPortHasBeenSet() const { return m_ingestPortHasBeenSet; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline void SetIngestPort(int value) { m_ingestPortHasBeenSet = true; m_ingestPort = value; }
/**
* The port that the flow will be listening on for incoming content.
*/
inline UpdateFlowSourceRequest& WithIngestPort(int value) { SetIngestPort(value); return *this;}
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline int GetMaxBitrate() const{ return m_maxBitrate; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
/**
* The smoothing max bitrate for RIST, RTP, and RTP-FEC streams.
*/
inline UpdateFlowSourceRequest& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline int GetMaxLatency() const{ return m_maxLatency; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
/**
* The maximum latency in milliseconds. This parameter applies only to RIST-based
* and Zixi-based streams.
*/
inline UpdateFlowSourceRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
/**
* The protocol that is used by the source.
*/
inline const Protocol& GetProtocol() const{ return m_protocol; }
/**
* The protocol that is used by the source.
*/
inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
/**
* The protocol that is used by the source.
*/
inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
/**
* The protocol that is used by the source.
*/
inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
/**
* The protocol that is used by the source.
*/
inline UpdateFlowSourceRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
/**
* The protocol that is used by the source.
*/
inline UpdateFlowSourceRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
/**
* The ARN of the source that you want to update.
*/
inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
/**
* The ARN of the source that you want to update.
*/
inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
/**
* The ARN of the source that you want to update.
*/
inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
/**
* The ARN of the source that you want to update.
*/
inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
/**
* The ARN of the source that you want to update.
*/
inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
/**
* The ARN of the source that you want to update.
*/
inline UpdateFlowSourceRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
/**
* The ARN of the source that you want to update.
*/
inline UpdateFlowSourceRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
/**
* The ARN of the source that you want to update.
*/
inline UpdateFlowSourceRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline const Aws::String& GetStreamId() const{ return m_streamId; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline UpdateFlowSourceRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline UpdateFlowSourceRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
/**
* The stream ID that you want to use for this transport. This parameter applies
* only to Zixi-based streams.
*/
inline UpdateFlowSourceRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
/**
* The name of the VPC Interface to configure this Source with.
*/
inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; }
/**
* The name of the VPC Interface to configure this Source with.
*/
inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
/**
* The name of the VPC Interface to configure this Source with.
*/
inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = value; }
/**
* The name of the VPC Interface to configure this Source with.
*/
inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::move(value); }
/**
* The name of the VPC Interface to configure this Source with.
*/
inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName.assign(value); }
/**
* The name of the VPC Interface to configure this Source with.
*/
inline UpdateFlowSourceRequest& WithVpcInterfaceName(const Aws::String& value) { SetVpcInterfaceName(value); return *this;}
/**
* The name of the VPC Interface to configure this Source with.
*/
inline UpdateFlowSourceRequest& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;}
/**
* The name of the VPC Interface to configure this Source with.
*/
inline UpdateFlowSourceRequest& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline const Aws::String& GetWhitelistCidr() const{ return m_whitelistCidr; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline bool WhitelistCidrHasBeenSet() const { return m_whitelistCidrHasBeenSet; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(const Aws::String& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = value; }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(Aws::String&& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = std::move(value); }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline void SetWhitelistCidr(const char* value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr.assign(value); }
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowSourceRequest& WithWhitelistCidr(const Aws::String& value) { SetWhitelistCidr(value); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowSourceRequest& WithWhitelistCidr(Aws::String&& value) { SetWhitelistCidr(std::move(value)); return *this;}
/**
* The range of IP addresses that should be allowed to contribute content to your
* source. These IP addresses should be in the form of a Classless Inter-Domain
* Routing (CIDR) block; for example, 10.0.0.0/16.
*/
inline UpdateFlowSourceRequest& WithWhitelistCidr(const char* value) { SetWhitelistCidr(value); return *this;}
private:
UpdateEncryption m_decryption;
bool m_decryptionHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_entitlementArn;
bool m_entitlementArnHasBeenSet;
Aws::String m_flowArn;
bool m_flowArnHasBeenSet;
int m_ingestPort;
bool m_ingestPortHasBeenSet;
int m_maxBitrate;
bool m_maxBitrateHasBeenSet;
int m_maxLatency;
bool m_maxLatencyHasBeenSet;
Protocol m_protocol;
bool m_protocolHasBeenSet;
Aws::String m_sourceArn;
bool m_sourceArnHasBeenSet;
Aws::String m_streamId;
bool m_streamIdHasBeenSet;
Aws::String m_vpcInterfaceName;
bool m_vpcInterfaceNameHasBeenSet;
Aws::String m_whitelistCidr;
bool m_whitelistCidrHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,106 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediaconnect/model/Source.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
class AWS_MEDIACONNECT_API UpdateFlowSourceResult
{
public:
UpdateFlowSourceResult();
UpdateFlowSourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateFlowSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* The ARN of the flow that you want to update.
*/
inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
/**
* The ARN of the flow that you want to update.
*/
inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
/**
* The ARN of the flow that you want to update.
*/
inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
/**
* The ARN of the flow that you want to update.
*/
inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
/**
* The ARN of the flow that you want to update.
*/
inline UpdateFlowSourceResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
/**
* The ARN of the flow that you want to update.
*/
inline UpdateFlowSourceResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
/**
* The ARN of the flow that you want to update.
*/
inline UpdateFlowSourceResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
/**
* The settings for the source of the flow.
*/
inline const Source& GetSource() const{ return m_source; }
/**
* The settings for the source of the flow.
*/
inline void SetSource(const Source& value) { m_source = value; }
/**
* The settings for the source of the flow.
*/
inline void SetSource(Source&& value) { m_source = std::move(value); }
/**
* The settings for the source of the flow.
*/
inline UpdateFlowSourceResult& WithSource(const Source& value) { SetSource(value); return *this;}
/**
* The settings for the source of the flow.
*/
inline UpdateFlowSourceResult& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
private:
Aws::String m_flowArn;
Source m_source;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,275 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for a VPC Source.<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterface">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API VpcInterface
{
public:
VpcInterface();
VpcInterface(Aws::Utils::Json::JsonView jsonValue);
VpcInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline VpcInterface& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline VpcInterface& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* Immutable and has to be a unique against other VpcInterfaces in this Flow
*/
inline VpcInterface& WithName(const char* value) { SetName(value); return *this;}
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const{ return m_networkInterfaceIds; }
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline void SetNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = value; }
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline void SetNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::move(value); }
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline VpcInterface& WithNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { SetNetworkInterfaceIds(value); return *this;}
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline VpcInterface& WithNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { SetNetworkInterfaceIds(std::move(value)); return *this;}
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline VpcInterface& AddNetworkInterfaceIds(const Aws::String& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline VpcInterface& AddNetworkInterfaceIds(Aws::String&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(std::move(value)); return *this; }
/**
* IDs of the network interfaces created in customer's account by MediaConnect.
*/
inline VpcInterface& AddNetworkInterfaceIds(const char* value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline VpcInterface& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline VpcInterface& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline VpcInterface& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* Security Group IDs to be used on ENI.
*/
inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
/**
* Security Group IDs to be used on ENI.
*/
inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
/**
* Security Group IDs to be used on ENI.
*/
inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
/**
* Security Group IDs to be used on ENI.
*/
inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterface& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterface& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterface& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterface& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterface& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
/**
* Subnet must be in the AZ of the Flow
*/
inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
/**
* Subnet must be in the AZ of the Flow
*/
inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
/**
* Subnet must be in the AZ of the Flow
*/
inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
/**
* Subnet must be in the AZ of the Flow
*/
inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
/**
* Subnet must be in the AZ of the Flow
*/
inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
/**
* Subnet must be in the AZ of the Flow
*/
inline VpcInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
/**
* Subnet must be in the AZ of the Flow
*/
inline VpcInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
/**
* Subnet must be in the AZ of the Flow
*/
inline VpcInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<Aws::String> m_networkInterfaceIds;
bool m_networkInterfaceIdsHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
Aws::Vector<Aws::String> m_securityGroupIds;
bool m_securityGroupIdsHasBeenSet;
Aws::String m_subnetId;
bool m_subnetIdHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* The settings for attaching a VPC interface to an output.<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterfaceAttachment">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API VpcInterfaceAttachment
{
public:
VpcInterfaceAttachment();
VpcInterfaceAttachment(Aws::Utils::Json::JsonView jsonValue);
VpcInterfaceAttachment& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The name of the VPC interface to use for this output.
*/
inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; }
/**
* The name of the VPC interface to use for this output.
*/
inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
/**
* The name of the VPC interface to use for this output.
*/
inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = value; }
/**
* The name of the VPC interface to use for this output.
*/
inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::move(value); }
/**
* The name of the VPC interface to use for this output.
*/
inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName.assign(value); }
/**
* The name of the VPC interface to use for this output.
*/
inline VpcInterfaceAttachment& WithVpcInterfaceName(const Aws::String& value) { SetVpcInterfaceName(value); return *this;}
/**
* The name of the VPC interface to use for this output.
*/
inline VpcInterfaceAttachment& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;}
/**
* The name of the VPC interface to use for this output.
*/
inline VpcInterfaceAttachment& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;}
private:
Aws::String m_vpcInterfaceName;
bool m_vpcInterfaceNameHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws

View File

@@ -0,0 +1,234 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaConnect
{
namespace Model
{
/**
* Desired VPC Interface for a Flow<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterfaceRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIACONNECT_API VpcInterfaceRequest
{
public:
VpcInterfaceRequest();
VpcInterfaceRequest(Aws::Utils::Json::JsonView jsonValue);
VpcInterfaceRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline VpcInterfaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline VpcInterfaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* The name of the VPC Interface. This value must be unique within the current
* flow.
*/
inline VpcInterfaceRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline VpcInterfaceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline VpcInterfaceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* Role Arn MediaConnect can assumes to create ENIs in customer's account
*/
inline VpcInterfaceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* Security Group IDs to be used on ENI.
*/
inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
/**
* Security Group IDs to be used on ENI.
*/
inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
/**
* Security Group IDs to be used on ENI.
*/
inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
/**
* Security Group IDs to be used on ENI.
*/
inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterfaceRequest& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterfaceRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterfaceRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterfaceRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
/**
* Security Group IDs to be used on ENI.
*/
inline VpcInterfaceRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
/**
* Subnet must be in the AZ of the Flow
*/
inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
/**
* Subnet must be in the AZ of the Flow
*/
inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
/**
* Subnet must be in the AZ of the Flow
*/
inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
/**
* Subnet must be in the AZ of the Flow
*/
inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
/**
* Subnet must be in the AZ of the Flow
*/
inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
/**
* Subnet must be in the AZ of the Flow
*/
inline VpcInterfaceRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
/**
* Subnet must be in the AZ of the Flow
*/
inline VpcInterfaceRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
/**
* Subnet must be in the AZ of the Flow
*/
inline VpcInterfaceRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
Aws::Vector<Aws::String> m_securityGroupIds;
bool m_securityGroupIdsHasBeenSet;
Aws::String m_subnetId;
bool m_subnetIdHasBeenSet;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws