/** * 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 #include #include namespace Aws { namespace ChimeSDKMediaPipelines { namespace Model { /** */ class CreateMediaInsightsPipelineRequest : public ChimeSDKMediaPipelinesRequest { public: AWS_CHIMESDKMEDIAPIPELINES_API CreateMediaInsightsPipelineRequest(); // 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 "CreateMediaInsightsPipeline"; } AWS_CHIMESDKMEDIAPIPELINES_API Aws::String SerializePayload() const override; /** *

The ARN of the pipeline's configuration.

*/ inline const Aws::String& GetMediaInsightsPipelineConfigurationArn() const{ return m_mediaInsightsPipelineConfigurationArn; } /** *

The ARN of the pipeline's configuration.

*/ inline bool MediaInsightsPipelineConfigurationArnHasBeenSet() const { return m_mediaInsightsPipelineConfigurationArnHasBeenSet; } /** *

The ARN of the pipeline's configuration.

*/ inline void SetMediaInsightsPipelineConfigurationArn(const Aws::String& value) { m_mediaInsightsPipelineConfigurationArnHasBeenSet = true; m_mediaInsightsPipelineConfigurationArn = value; } /** *

The ARN of the pipeline's configuration.

*/ inline void SetMediaInsightsPipelineConfigurationArn(Aws::String&& value) { m_mediaInsightsPipelineConfigurationArnHasBeenSet = true; m_mediaInsightsPipelineConfigurationArn = std::move(value); } /** *

The ARN of the pipeline's configuration.

*/ inline void SetMediaInsightsPipelineConfigurationArn(const char* value) { m_mediaInsightsPipelineConfigurationArnHasBeenSet = true; m_mediaInsightsPipelineConfigurationArn.assign(value); } /** *

The ARN of the pipeline's configuration.

*/ inline CreateMediaInsightsPipelineRequest& WithMediaInsightsPipelineConfigurationArn(const Aws::String& value) { SetMediaInsightsPipelineConfigurationArn(value); return *this;} /** *

The ARN of the pipeline's configuration.

*/ inline CreateMediaInsightsPipelineRequest& WithMediaInsightsPipelineConfigurationArn(Aws::String&& value) { SetMediaInsightsPipelineConfigurationArn(std::move(value)); return *this;} /** *

The ARN of the pipeline's configuration.

*/ inline CreateMediaInsightsPipelineRequest& WithMediaInsightsPipelineConfigurationArn(const char* value) { SetMediaInsightsPipelineConfigurationArn(value); return *this;} /** *

The runtime configuration for the Kinesis video stream source of the media * insights pipeline.

*/ inline const KinesisVideoStreamSourceRuntimeConfiguration& GetKinesisVideoStreamSourceRuntimeConfiguration() const{ return m_kinesisVideoStreamSourceRuntimeConfiguration; } /** *

The runtime configuration for the Kinesis video stream source of the media * insights pipeline.

*/ inline bool KinesisVideoStreamSourceRuntimeConfigurationHasBeenSet() const { return m_kinesisVideoStreamSourceRuntimeConfigurationHasBeenSet; } /** *

The runtime configuration for the Kinesis video stream source of the media * insights pipeline.

*/ inline void SetKinesisVideoStreamSourceRuntimeConfiguration(const KinesisVideoStreamSourceRuntimeConfiguration& value) { m_kinesisVideoStreamSourceRuntimeConfigurationHasBeenSet = true; m_kinesisVideoStreamSourceRuntimeConfiguration = value; } /** *

The runtime configuration for the Kinesis video stream source of the media * insights pipeline.

*/ inline void SetKinesisVideoStreamSourceRuntimeConfiguration(KinesisVideoStreamSourceRuntimeConfiguration&& value) { m_kinesisVideoStreamSourceRuntimeConfigurationHasBeenSet = true; m_kinesisVideoStreamSourceRuntimeConfiguration = std::move(value); } /** *

The runtime configuration for the Kinesis video stream source of the media * insights pipeline.

*/ inline CreateMediaInsightsPipelineRequest& WithKinesisVideoStreamSourceRuntimeConfiguration(const KinesisVideoStreamSourceRuntimeConfiguration& value) { SetKinesisVideoStreamSourceRuntimeConfiguration(value); return *this;} /** *

The runtime configuration for the Kinesis video stream source of the media * insights pipeline.

*/ inline CreateMediaInsightsPipelineRequest& WithKinesisVideoStreamSourceRuntimeConfiguration(KinesisVideoStreamSourceRuntimeConfiguration&& value) { SetKinesisVideoStreamSourceRuntimeConfiguration(std::move(value)); return *this;} /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline const Aws::Map& GetMediaInsightsRuntimeMetadata() const{ return m_mediaInsightsRuntimeMetadata; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline bool MediaInsightsRuntimeMetadataHasBeenSet() const { return m_mediaInsightsRuntimeMetadataHasBeenSet; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline void SetMediaInsightsRuntimeMetadata(const Aws::Map& value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata = value; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline void SetMediaInsightsRuntimeMetadata(Aws::Map&& value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata = std::move(value); } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& WithMediaInsightsRuntimeMetadata(const Aws::Map& value) { SetMediaInsightsRuntimeMetadata(value); return *this;} /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& WithMediaInsightsRuntimeMetadata(Aws::Map&& value) { SetMediaInsightsRuntimeMetadata(std::move(value)); return *this;} /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& AddMediaInsightsRuntimeMetadata(const Aws::String& key, const Aws::String& value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata.emplace(key, value); return *this; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& AddMediaInsightsRuntimeMetadata(Aws::String&& key, const Aws::String& value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata.emplace(std::move(key), value); return *this; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& AddMediaInsightsRuntimeMetadata(const Aws::String& key, Aws::String&& value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata.emplace(key, std::move(value)); return *this; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& AddMediaInsightsRuntimeMetadata(Aws::String&& key, Aws::String&& value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata.emplace(std::move(key), std::move(value)); return *this; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& AddMediaInsightsRuntimeMetadata(const char* key, Aws::String&& value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata.emplace(key, std::move(value)); return *this; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& AddMediaInsightsRuntimeMetadata(Aws::String&& key, const char* value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata.emplace(std::move(key), value); return *this; } /** *

The runtime metadata for the media insights pipeline. Consists of a key-value * map of strings.

*/ inline CreateMediaInsightsPipelineRequest& AddMediaInsightsRuntimeMetadata(const char* key, const char* value) { m_mediaInsightsRuntimeMetadataHasBeenSet = true; m_mediaInsightsRuntimeMetadata.emplace(key, value); return *this; } /** *

The runtime configuration for the Kinesis video recording stream source.

*/ inline const KinesisVideoStreamRecordingSourceRuntimeConfiguration& GetKinesisVideoStreamRecordingSourceRuntimeConfiguration() const{ return m_kinesisVideoStreamRecordingSourceRuntimeConfiguration; } /** *

The runtime configuration for the Kinesis video recording stream source.

*/ inline bool KinesisVideoStreamRecordingSourceRuntimeConfigurationHasBeenSet() const { return m_kinesisVideoStreamRecordingSourceRuntimeConfigurationHasBeenSet; } /** *

The runtime configuration for the Kinesis video recording stream source.

*/ inline void SetKinesisVideoStreamRecordingSourceRuntimeConfiguration(const KinesisVideoStreamRecordingSourceRuntimeConfiguration& value) { m_kinesisVideoStreamRecordingSourceRuntimeConfigurationHasBeenSet = true; m_kinesisVideoStreamRecordingSourceRuntimeConfiguration = value; } /** *

The runtime configuration for the Kinesis video recording stream source.

*/ inline void SetKinesisVideoStreamRecordingSourceRuntimeConfiguration(KinesisVideoStreamRecordingSourceRuntimeConfiguration&& value) { m_kinesisVideoStreamRecordingSourceRuntimeConfigurationHasBeenSet = true; m_kinesisVideoStreamRecordingSourceRuntimeConfiguration = std::move(value); } /** *

The runtime configuration for the Kinesis video recording stream source.

*/ inline CreateMediaInsightsPipelineRequest& WithKinesisVideoStreamRecordingSourceRuntimeConfiguration(const KinesisVideoStreamRecordingSourceRuntimeConfiguration& value) { SetKinesisVideoStreamRecordingSourceRuntimeConfiguration(value); return *this;} /** *

The runtime configuration for the Kinesis video recording stream source.

*/ inline CreateMediaInsightsPipelineRequest& WithKinesisVideoStreamRecordingSourceRuntimeConfiguration(KinesisVideoStreamRecordingSourceRuntimeConfiguration&& value) { SetKinesisVideoStreamRecordingSourceRuntimeConfiguration(std::move(value)); return *this;} /** *

The runtime configuration for the S3 recording sink. If specified, the * settings in this structure override any settings in * S3RecordingSinkConfiguration.

*/ inline const S3RecordingSinkRuntimeConfiguration& GetS3RecordingSinkRuntimeConfiguration() const{ return m_s3RecordingSinkRuntimeConfiguration; } /** *

The runtime configuration for the S3 recording sink. If specified, the * settings in this structure override any settings in * S3RecordingSinkConfiguration.

*/ inline bool S3RecordingSinkRuntimeConfigurationHasBeenSet() const { return m_s3RecordingSinkRuntimeConfigurationHasBeenSet; } /** *

The runtime configuration for the S3 recording sink. If specified, the * settings in this structure override any settings in * S3RecordingSinkConfiguration.

*/ inline void SetS3RecordingSinkRuntimeConfiguration(const S3RecordingSinkRuntimeConfiguration& value) { m_s3RecordingSinkRuntimeConfigurationHasBeenSet = true; m_s3RecordingSinkRuntimeConfiguration = value; } /** *

The runtime configuration for the S3 recording sink. If specified, the * settings in this structure override any settings in * S3RecordingSinkConfiguration.

*/ inline void SetS3RecordingSinkRuntimeConfiguration(S3RecordingSinkRuntimeConfiguration&& value) { m_s3RecordingSinkRuntimeConfigurationHasBeenSet = true; m_s3RecordingSinkRuntimeConfiguration = std::move(value); } /** *

The runtime configuration for the S3 recording sink. If specified, the * settings in this structure override any settings in * S3RecordingSinkConfiguration.

*/ inline CreateMediaInsightsPipelineRequest& WithS3RecordingSinkRuntimeConfiguration(const S3RecordingSinkRuntimeConfiguration& value) { SetS3RecordingSinkRuntimeConfiguration(value); return *this;} /** *

The runtime configuration for the S3 recording sink. If specified, the * settings in this structure override any settings in * S3RecordingSinkConfiguration.

*/ inline CreateMediaInsightsPipelineRequest& WithS3RecordingSinkRuntimeConfiguration(S3RecordingSinkRuntimeConfiguration&& value) { SetS3RecordingSinkRuntimeConfiguration(std::move(value)); return *this;} /** *

The tags assigned to the media insights pipeline.

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

The tags assigned to the media insights pipeline.

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

The tags assigned to the media insights pipeline.

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

The tags assigned to the media insights pipeline.

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

The tags assigned to the media insights pipeline.

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

The tags assigned to the media insights pipeline.

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

The tags assigned to the media insights pipeline.

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

The tags assigned to the media insights pipeline.

*/ inline CreateMediaInsightsPipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The unique identifier for the media insights pipeline request.

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

The unique identifier for the media insights pipeline request.

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

The unique identifier for the media insights pipeline request.

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

The unique identifier for the media insights pipeline request.

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

The unique identifier for the media insights pipeline request.

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

The unique identifier for the media insights pipeline request.

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

The unique identifier for the media insights pipeline request.

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

The unique identifier for the media insights pipeline request.

*/ inline CreateMediaInsightsPipelineRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_mediaInsightsPipelineConfigurationArn; bool m_mediaInsightsPipelineConfigurationArnHasBeenSet = false; KinesisVideoStreamSourceRuntimeConfiguration m_kinesisVideoStreamSourceRuntimeConfiguration; bool m_kinesisVideoStreamSourceRuntimeConfigurationHasBeenSet = false; Aws::Map m_mediaInsightsRuntimeMetadata; bool m_mediaInsightsRuntimeMetadataHasBeenSet = false; KinesisVideoStreamRecordingSourceRuntimeConfiguration m_kinesisVideoStreamRecordingSourceRuntimeConfiguration; bool m_kinesisVideoStreamRecordingSourceRuntimeConfigurationHasBeenSet = false; S3RecordingSinkRuntimeConfiguration m_s3RecordingSinkRuntimeConfiguration; bool m_s3RecordingSinkRuntimeConfigurationHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws