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

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline UpdateMediaInsightsPipelineConfigurationRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline UpdateMediaInsightsPipelineConfigurationRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

The unique identifier for the resource to be updated. Valid values include * the name and ARN of the media insights pipeline configuration.

*/ inline UpdateMediaInsightsPipelineConfigurationRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

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

The ARN of the role used by the service to access Amazon Web Services * resources.

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

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ 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.

*/ 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.

*/ 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.

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

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline UpdateMediaInsightsPipelineConfigurationRequest& 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.

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline UpdateMediaInsightsPipelineConfigurationRequest& 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 UpdateMediaInsightsPipelineConfigurationRequest& 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 UpdateMediaInsightsPipelineConfigurationRequest& 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 UpdateMediaInsightsPipelineConfigurationRequest& 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 UpdateMediaInsightsPipelineConfigurationRequest& AddElements(MediaInsightsPipelineConfigurationElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; } private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; Aws::String m_resourceAccessRoleArn; bool m_resourceAccessRoleArnHasBeenSet = false; RealTimeAlertConfiguration m_realTimeAlertConfiguration; bool m_realTimeAlertConfigurationHasBeenSet = false; Aws::Vector m_elements; bool m_elementsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws