/** * 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 CreateMediaInsightsPipelineConfigurationRequest : public ChimeSDKMediaPipelinesRequest { public: AWS_CHIMESDKMEDIAPIPELINES_API CreateMediaInsightsPipelineConfigurationRequest(); // 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 "CreateMediaInsightsPipelineConfiguration"; } AWS_CHIMESDKMEDIAPIPELINES_API Aws::String SerializePayload() const override; /** *

The name of the media insights pipeline configuration.

*/ inline const Aws::String& GetMediaInsightsPipelineConfigurationName() const{ return m_mediaInsightsPipelineConfigurationName; } /** *

The name of the media insights pipeline configuration.

*/ inline bool MediaInsightsPipelineConfigurationNameHasBeenSet() const { return m_mediaInsightsPipelineConfigurationNameHasBeenSet; } /** *

The name of the media insights pipeline configuration.

*/ inline void SetMediaInsightsPipelineConfigurationName(const Aws::String& value) { m_mediaInsightsPipelineConfigurationNameHasBeenSet = true; m_mediaInsightsPipelineConfigurationName = value; } /** *

The name of the media insights pipeline configuration.

*/ inline void SetMediaInsightsPipelineConfigurationName(Aws::String&& value) { m_mediaInsightsPipelineConfigurationNameHasBeenSet = true; m_mediaInsightsPipelineConfigurationName = std::move(value); } /** *

The name of the media insights pipeline configuration.

*/ inline void SetMediaInsightsPipelineConfigurationName(const char* value) { m_mediaInsightsPipelineConfigurationNameHasBeenSet = true; m_mediaInsightsPipelineConfigurationName.assign(value); } /** *

The name of the media insights pipeline configuration.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithMediaInsightsPipelineConfigurationName(const Aws::String& value) { SetMediaInsightsPipelineConfigurationName(value); return *this;} /** *

The name of the media insights pipeline configuration.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithMediaInsightsPipelineConfigurationName(Aws::String&& value) { SetMediaInsightsPipelineConfigurationName(std::move(value)); return *this;} /** *

The name of the media insights pipeline configuration.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithMediaInsightsPipelineConfigurationName(const char* value) { SetMediaInsightsPipelineConfigurationName(value); return *this;} /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline const Aws::String& GetResourceAccessRoleArn() const{ return m_resourceAccessRoleArn; } /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline bool ResourceAccessRoleArnHasBeenSet() const { return m_resourceAccessRoleArnHasBeenSet; } /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline void SetResourceAccessRoleArn(const Aws::String& value) { m_resourceAccessRoleArnHasBeenSet = true; m_resourceAccessRoleArn = value; } /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline void SetResourceAccessRoleArn(Aws::String&& value) { m_resourceAccessRoleArnHasBeenSet = true; m_resourceAccessRoleArn = std::move(value); } /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline void SetResourceAccessRoleArn(const char* value) { m_resourceAccessRoleArnHasBeenSet = true; m_resourceAccessRoleArn.assign(value); } /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithResourceAccessRoleArn(const Aws::String& value) { SetResourceAccessRoleArn(value); return *this;} /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithResourceAccessRoleArn(Aws::String&& value) { SetResourceAccessRoleArn(std::move(value)); return *this;} /** *

The ARN of the role used by the service to access Amazon Web Services * resources, including Transcribe and Transcribe Call * Analytics, on the caller’s behalf.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithResourceAccessRoleArn(const char* value) { SetResourceAccessRoleArn(value); return *this;} /** *

The configuration settings for the real-time alerts in a media insights * pipeline configuration.

*/ inline const RealTimeAlertConfiguration& GetRealTimeAlertConfiguration() const{ return m_realTimeAlertConfiguration; } /** *

The configuration settings for the real-time alerts in a media insights * pipeline configuration.

*/ inline bool RealTimeAlertConfigurationHasBeenSet() const { return m_realTimeAlertConfigurationHasBeenSet; } /** *

The configuration settings for the real-time alerts in a media insights * pipeline configuration.

*/ inline void SetRealTimeAlertConfiguration(const RealTimeAlertConfiguration& value) { m_realTimeAlertConfigurationHasBeenSet = true; m_realTimeAlertConfiguration = value; } /** *

The configuration settings for the real-time alerts in a media insights * pipeline configuration.

*/ inline void SetRealTimeAlertConfiguration(RealTimeAlertConfiguration&& value) { m_realTimeAlertConfigurationHasBeenSet = true; m_realTimeAlertConfiguration = std::move(value); } /** *

The configuration settings for the real-time alerts in a media insights * pipeline configuration.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithRealTimeAlertConfiguration(const RealTimeAlertConfiguration& value) { SetRealTimeAlertConfiguration(value); return *this;} /** *

The configuration settings for the real-time alerts in a media insights * pipeline configuration.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithRealTimeAlertConfiguration(RealTimeAlertConfiguration&& value) { SetRealTimeAlertConfiguration(std::move(value)); return *this;} /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline const Aws::Vector& GetElements() const{ return m_elements; } /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; } /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline void SetElements(const Aws::Vector& value) { m_elementsHasBeenSet = true; m_elements = value; } /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline void SetElements(Aws::Vector&& value) { m_elementsHasBeenSet = true; m_elements = std::move(value); } /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithElements(const Aws::Vector& value) { SetElements(value); return *this;} /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithElements(Aws::Vector&& value) { SetElements(std::move(value)); return *this;} /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& AddElements(const MediaInsightsPipelineConfigurationElement& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; } /** *

The elements in the request, such as a processor for Amazon Transcribe or a * sink for a Kinesis Data Stream.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& AddElements(MediaInsightsPipelineConfigurationElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; } /** *

The tags assigned to the media insights pipeline configuration.

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

The tags assigned to the media insights pipeline configuration.

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

The tags assigned to the media insights pipeline configuration.

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

The tags assigned to the media insights pipeline configuration.

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

The tags assigned to the media insights pipeline configuration.

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

The tags assigned to the media insights pipeline configuration.

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

The tags assigned to the media insights pipeline configuration.

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

The tags assigned to the media insights pipeline configuration.

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

The unique identifier for the media insights pipeline configuration * request.

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

The unique identifier for the media insights pipeline configuration * request.

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

The unique identifier for the media insights pipeline configuration * request.

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

The unique identifier for the media insights pipeline configuration * request.

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

The unique identifier for the media insights pipeline configuration * request.

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

The unique identifier for the media insights pipeline configuration * request.

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

The unique identifier for the media insights pipeline configuration * request.

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

The unique identifier for the media insights pipeline configuration * request.

*/ inline CreateMediaInsightsPipelineConfigurationRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_mediaInsightsPipelineConfigurationName; bool m_mediaInsightsPipelineConfigurationNameHasBeenSet = false; Aws::String m_resourceAccessRoleArn; bool m_resourceAccessRoleArnHasBeenSet = false; RealTimeAlertConfiguration m_realTimeAlertConfiguration; bool m_realTimeAlertConfigurationHasBeenSet = false; Aws::Vector m_elements; bool m_elementsHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws