/** * 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 Chime { namespace Model { /** *

A media capture pipeline object consisting of an ID, source type, source ARN, * a sink type, a sink ARN, and a configuration object.

See Also:

* AWS * API Reference

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

The ID of a media capture pipeline.

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

The ID of a media capture pipeline.

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

The ID of a media capture pipeline.

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

The ID of a media capture pipeline.

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

The ID of a media capture pipeline.

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

The ID of a media capture pipeline.

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

The ID of a media capture pipeline.

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

The ID of a media capture pipeline.

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

Source type from which media artifacts are saved. You must use * ChimeMeeting.

*/ inline const MediaPipelineSourceType& GetSourceType() const{ return m_sourceType; } /** *

Source type from which media artifacts are saved. You must use * ChimeMeeting.

*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *

Source type from which media artifacts are saved. You must use * ChimeMeeting.

*/ inline void SetSourceType(const MediaPipelineSourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *

Source type from which media artifacts are saved. You must use * ChimeMeeting.

*/ inline void SetSourceType(MediaPipelineSourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *

Source type from which media artifacts are saved. You must use * ChimeMeeting.

*/ inline MediaCapturePipeline& WithSourceType(const MediaPipelineSourceType& value) { SetSourceType(value); return *this;} /** *

Source type from which media artifacts are saved. You must use * ChimeMeeting.

*/ inline MediaCapturePipeline& WithSourceType(MediaPipelineSourceType&& value) { SetSourceType(std::move(value)); return *this;} /** *

ARN of the source from which the media artifacts will be saved.

*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *

ARN of the source from which the media artifacts will be saved.

*/ inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } /** *

ARN of the source from which the media artifacts will be saved.

*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } /** *

ARN of the source from which the media artifacts will be saved.

*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } /** *

ARN of the source from which the media artifacts will be saved.

*/ inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } /** *

ARN of the source from which the media artifacts will be saved.

*/ inline MediaCapturePipeline& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *

ARN of the source from which the media artifacts will be saved.

*/ inline MediaCapturePipeline& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *

ARN of the source from which the media artifacts will be saved.

*/ inline MediaCapturePipeline& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *

The status of the media capture pipeline.

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

The status of the media capture pipeline.

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

The status of the media capture pipeline.

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

The status of the media capture pipeline.

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

The status of the media capture pipeline.

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

The status of the media capture pipeline.

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

Destination type to which the media artifacts are saved. You must use an S3 * Bucket.

*/ inline const MediaPipelineSinkType& GetSinkType() const{ return m_sinkType; } /** *

Destination type to which the media artifacts are saved. You must use an S3 * Bucket.

*/ inline bool SinkTypeHasBeenSet() const { return m_sinkTypeHasBeenSet; } /** *

Destination type to which the media artifacts are saved. You must use an S3 * Bucket.

*/ inline void SetSinkType(const MediaPipelineSinkType& value) { m_sinkTypeHasBeenSet = true; m_sinkType = value; } /** *

Destination type to which the media artifacts are saved. You must use an S3 * Bucket.

*/ inline void SetSinkType(MediaPipelineSinkType&& value) { m_sinkTypeHasBeenSet = true; m_sinkType = std::move(value); } /** *

Destination type to which the media artifacts are saved. You must use an S3 * Bucket.

*/ inline MediaCapturePipeline& WithSinkType(const MediaPipelineSinkType& value) { SetSinkType(value); return *this;} /** *

Destination type to which the media artifacts are saved. You must use an S3 * Bucket.

*/ inline MediaCapturePipeline& WithSinkType(MediaPipelineSinkType&& value) { SetSinkType(std::move(value)); return *this;} /** *

ARN of the destination to which the media artifacts are saved.

*/ inline const Aws::String& GetSinkArn() const{ return m_sinkArn; } /** *

ARN of the destination to which the media artifacts are saved.

*/ inline bool SinkArnHasBeenSet() const { return m_sinkArnHasBeenSet; } /** *

ARN of the destination to which the media artifacts are saved.

*/ inline void SetSinkArn(const Aws::String& value) { m_sinkArnHasBeenSet = true; m_sinkArn = value; } /** *

ARN of the destination to which the media artifacts are saved.

*/ inline void SetSinkArn(Aws::String&& value) { m_sinkArnHasBeenSet = true; m_sinkArn = std::move(value); } /** *

ARN of the destination to which the media artifacts are saved.

*/ inline void SetSinkArn(const char* value) { m_sinkArnHasBeenSet = true; m_sinkArn.assign(value); } /** *

ARN of the destination to which the media artifacts are saved.

*/ inline MediaCapturePipeline& WithSinkArn(const Aws::String& value) { SetSinkArn(value); return *this;} /** *

ARN of the destination to which the media artifacts are saved.

*/ inline MediaCapturePipeline& WithSinkArn(Aws::String&& value) { SetSinkArn(std::move(value)); return *this;} /** *

ARN of the destination to which the media artifacts are saved.

*/ inline MediaCapturePipeline& WithSinkArn(const char* value) { SetSinkArn(value); return *this;} /** *

The time at which the capture pipeline was created, in ISO 8601 format.

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

The time at which the capture pipeline was created, in ISO 8601 format.

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

The time at which the capture pipeline was created, in ISO 8601 format.

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

The time at which the capture pipeline was created, in ISO 8601 format.

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

The time at which the capture pipeline was created, in ISO 8601 format.

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

The time at which the capture pipeline was created, in ISO 8601 format.

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

The time at which the capture pipeline was updated, in ISO 8601 format.

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

The time at which the capture pipeline was updated, in ISO 8601 format.

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

The time at which the capture pipeline was updated, in ISO 8601 format.

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

The time at which the capture pipeline was updated, in ISO 8601 format.

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

The time at which the capture pipeline was updated, in ISO 8601 format.

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

The time at which the capture pipeline was updated, in ISO 8601 format.

*/ inline MediaCapturePipeline& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;} /** *

The configuration for a specified media capture pipeline. * SourceType must be ChimeSdkMeeting.

*/ inline const ChimeSdkMeetingConfiguration& GetChimeSdkMeetingConfiguration() const{ return m_chimeSdkMeetingConfiguration; } /** *

The configuration for a specified media capture pipeline. * SourceType must be ChimeSdkMeeting.

*/ inline bool ChimeSdkMeetingConfigurationHasBeenSet() const { return m_chimeSdkMeetingConfigurationHasBeenSet; } /** *

The configuration for a specified media capture pipeline. * SourceType must be ChimeSdkMeeting.

*/ inline void SetChimeSdkMeetingConfiguration(const ChimeSdkMeetingConfiguration& value) { m_chimeSdkMeetingConfigurationHasBeenSet = true; m_chimeSdkMeetingConfiguration = value; } /** *

The configuration for a specified media capture pipeline. * SourceType must be ChimeSdkMeeting.

*/ inline void SetChimeSdkMeetingConfiguration(ChimeSdkMeetingConfiguration&& value) { m_chimeSdkMeetingConfigurationHasBeenSet = true; m_chimeSdkMeetingConfiguration = std::move(value); } /** *

The configuration for a specified media capture pipeline. * SourceType must be ChimeSdkMeeting.

*/ inline MediaCapturePipeline& WithChimeSdkMeetingConfiguration(const ChimeSdkMeetingConfiguration& value) { SetChimeSdkMeetingConfiguration(value); return *this;} /** *

The configuration for a specified media capture pipeline. * SourceType must be ChimeSdkMeeting.

*/ inline MediaCapturePipeline& WithChimeSdkMeetingConfiguration(ChimeSdkMeetingConfiguration&& value) { SetChimeSdkMeetingConfiguration(std::move(value)); return *this;} private: Aws::String m_mediaPipelineId; bool m_mediaPipelineIdHasBeenSet = false; MediaPipelineSourceType m_sourceType; bool m_sourceTypeHasBeenSet = false; Aws::String m_sourceArn; bool m_sourceArnHasBeenSet = false; MediaPipelineStatus m_status; bool m_statusHasBeenSet = false; MediaPipelineSinkType m_sinkType; bool m_sinkTypeHasBeenSet = false; Aws::String m_sinkArn; bool m_sinkArnHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_updatedTimestamp; bool m_updatedTimestampHasBeenSet = false; ChimeSdkMeetingConfiguration m_chimeSdkMeetingConfiguration; bool m_chimeSdkMeetingConfigurationHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws