/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKMediaPipelines { namespace Model { /** *

The connector pipeline.

See Also:

AWS * API Reference

*/ class MediaLiveConnectorPipeline { public: AWS_CHIMESDKMEDIAPIPELINES_API MediaLiveConnectorPipeline(); AWS_CHIMESDKMEDIAPIPELINES_API MediaLiveConnectorPipeline(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKMEDIAPIPELINES_API MediaLiveConnectorPipeline& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKMEDIAPIPELINES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The connector pipeline's data sources.

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

The connector pipeline's data sources.

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

The connector pipeline's data sources.

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

The connector pipeline's data sources.

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

The connector pipeline's data sources.

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

The connector pipeline's data sources.

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

The connector pipeline's data sources.

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

The connector pipeline's data sources.

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

The connector pipeline's data sinks.

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

The connector pipeline's data sinks.

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

The connector pipeline's data sinks.

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

The connector pipeline's data sinks.

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

The connector pipeline's data sinks.

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

The connector pipeline's data sinks.

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

The connector pipeline's data sinks.

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

The connector pipeline's data sinks.

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

The connector pipeline's ID.

*/ inline const Aws::String& GetMediaPipelineId() const{ return m_mediaPipelineId; } /** *

The connector pipeline's ID.

*/ inline bool MediaPipelineIdHasBeenSet() const { return m_mediaPipelineIdHasBeenSet; } /** *

The connector pipeline's ID.

*/ inline void SetMediaPipelineId(const Aws::String& value) { m_mediaPipelineIdHasBeenSet = true; m_mediaPipelineId = value; } /** *

The connector pipeline's ID.

*/ inline void SetMediaPipelineId(Aws::String&& value) { m_mediaPipelineIdHasBeenSet = true; m_mediaPipelineId = std::move(value); } /** *

The connector pipeline's ID.

*/ inline void SetMediaPipelineId(const char* value) { m_mediaPipelineIdHasBeenSet = true; m_mediaPipelineId.assign(value); } /** *

The connector pipeline's ID.

*/ inline MediaLiveConnectorPipeline& WithMediaPipelineId(const Aws::String& value) { SetMediaPipelineId(value); return *this;} /** *

The connector pipeline's ID.

*/ inline MediaLiveConnectorPipeline& WithMediaPipelineId(Aws::String&& value) { SetMediaPipelineId(std::move(value)); return *this;} /** *

The connector pipeline's ID.

*/ inline MediaLiveConnectorPipeline& WithMediaPipelineId(const char* value) { SetMediaPipelineId(value); return *this;} /** *

The connector pipeline's ARN.

*/ inline const Aws::String& GetMediaPipelineArn() const{ return m_mediaPipelineArn; } /** *

The connector pipeline's ARN.

*/ inline bool MediaPipelineArnHasBeenSet() const { return m_mediaPipelineArnHasBeenSet; } /** *

The connector pipeline's ARN.

*/ inline void SetMediaPipelineArn(const Aws::String& value) { m_mediaPipelineArnHasBeenSet = true; m_mediaPipelineArn = value; } /** *

The connector pipeline's ARN.

*/ inline void SetMediaPipelineArn(Aws::String&& value) { m_mediaPipelineArnHasBeenSet = true; m_mediaPipelineArn = std::move(value); } /** *

The connector pipeline's ARN.

*/ inline void SetMediaPipelineArn(const char* value) { m_mediaPipelineArnHasBeenSet = true; m_mediaPipelineArn.assign(value); } /** *

The connector pipeline's ARN.

*/ inline MediaLiveConnectorPipeline& WithMediaPipelineArn(const Aws::String& value) { SetMediaPipelineArn(value); return *this;} /** *

The connector pipeline's ARN.

*/ inline MediaLiveConnectorPipeline& WithMediaPipelineArn(Aws::String&& value) { SetMediaPipelineArn(std::move(value)); return *this;} /** *

The connector pipeline's ARN.

*/ inline MediaLiveConnectorPipeline& WithMediaPipelineArn(const char* value) { SetMediaPipelineArn(value); return *this;} /** *

The connector pipeline's status.

*/ inline const MediaPipelineStatus& GetStatus() const{ return m_status; } /** *

The connector pipeline's status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The connector pipeline's status.

*/ inline void SetStatus(const MediaPipelineStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The connector pipeline's status.

*/ inline void SetStatus(MediaPipelineStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The connector pipeline's status.

*/ inline MediaLiveConnectorPipeline& WithStatus(const MediaPipelineStatus& value) { SetStatus(value); return *this;} /** *

The connector pipeline's status.

*/ inline MediaLiveConnectorPipeline& WithStatus(MediaPipelineStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The time at which the connector pipeline was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time at which the connector pipeline was created.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time at which the connector pipeline was created.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time at which the connector pipeline was created.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time at which the connector pipeline was created.

*/ inline MediaLiveConnectorPipeline& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time at which the connector pipeline was created.

*/ inline MediaLiveConnectorPipeline& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The time at which the connector pipeline was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; } /** *

The time at which the connector pipeline was last updated.

*/ inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; } /** *

The time at which the connector pipeline was last updated.

*/ inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; } /** *

The time at which the connector pipeline was last updated.

*/ inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); } /** *

The time at which the connector pipeline was last updated.

*/ inline MediaLiveConnectorPipeline& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;} /** *

The time at which the connector pipeline was last updated.

*/ inline MediaLiveConnectorPipeline& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(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_mediaPipelineId; bool m_mediaPipelineIdHasBeenSet = false; Aws::String m_mediaPipelineArn; bool m_mediaPipelineArnHasBeenSet = false; MediaPipelineStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_updatedTimestamp; bool m_updatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws