/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace ChimeSDKMediaPipelines { namespace Model { /** */ class CreateMediaLiveConnectorPipelineRequest : public ChimeSDKMediaPipelinesRequest { public: AWS_CHIMESDKMEDIAPIPELINES_API CreateMediaLiveConnectorPipelineRequest(); // 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 "CreateMediaLiveConnectorPipeline"; } AWS_CHIMESDKMEDIAPIPELINES_API Aws::String SerializePayload() const override; /** *

The media live connector pipeline's data sources.

*/ inline const Aws::Vector& GetSources() const{ return m_sources; } /** *

The media live connector pipeline's data sources.

*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *

The media live connector pipeline's data sources.

*/ inline void SetSources(const Aws::Vector& value) { m_sourcesHasBeenSet = true; m_sources = value; } /** *

The media live connector pipeline's data sources.

*/ inline void SetSources(Aws::Vector&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); } /** *

The media live connector pipeline's data sources.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** *

The media live connector pipeline's data sources.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithSources(Aws::Vector&& value) { SetSources(std::move(value)); return *this;} /** *

The media live connector pipeline's data sources.

*/ inline CreateMediaLiveConnectorPipelineRequest& AddSources(const LiveConnectorSourceConfiguration& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *

The media live connector pipeline's data sources.

*/ inline CreateMediaLiveConnectorPipelineRequest& AddSources(LiveConnectorSourceConfiguration&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } /** *

The media live connector pipeline's data sinks.

*/ inline const Aws::Vector& GetSinks() const{ return m_sinks; } /** *

The media live connector pipeline's data sinks.

*/ inline bool SinksHasBeenSet() const { return m_sinksHasBeenSet; } /** *

The media live connector pipeline's data sinks.

*/ inline void SetSinks(const Aws::Vector& value) { m_sinksHasBeenSet = true; m_sinks = value; } /** *

The media live connector pipeline's data sinks.

*/ inline void SetSinks(Aws::Vector&& value) { m_sinksHasBeenSet = true; m_sinks = std::move(value); } /** *

The media live connector pipeline's data sinks.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithSinks(const Aws::Vector& value) { SetSinks(value); return *this;} /** *

The media live connector pipeline's data sinks.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithSinks(Aws::Vector&& value) { SetSinks(std::move(value)); return *this;} /** *

The media live connector pipeline's data sinks.

*/ inline CreateMediaLiveConnectorPipelineRequest& AddSinks(const LiveConnectorSinkConfiguration& value) { m_sinksHasBeenSet = true; m_sinks.push_back(value); return *this; } /** *

The media live connector pipeline's data sinks.

*/ inline CreateMediaLiveConnectorPipelineRequest& AddSinks(LiveConnectorSinkConfiguration&& value) { m_sinksHasBeenSet = true; m_sinks.push_back(std::move(value)); return *this; } /** *

The token assigned to the client making the request.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

The token assigned to the client making the request.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

The token assigned to the client making the request.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

The token assigned to the client making the request.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

The token assigned to the client making the request.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

The token assigned to the client making the request.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

The token assigned to the client making the request.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

The token assigned to the client making the request.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The tags associated with the media live connector pipeline.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags associated with the media live connector pipeline.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags associated with the media live connector pipeline.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags associated with the media live connector pipeline.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags associated with the media live connector pipeline.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags associated with the media live connector pipeline.

*/ inline CreateMediaLiveConnectorPipelineRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags associated with the media live connector pipeline.

*/ inline CreateMediaLiveConnectorPipelineRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags associated with the media live connector pipeline.

*/ inline CreateMediaLiveConnectorPipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::Vector m_sources; bool m_sourcesHasBeenSet = false; Aws::Vector m_sinks; bool m_sinksHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws