/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ChimeSDKMediaPipelines { namespace Model { /** */ class UpdateMediaInsightsPipelineStatusRequest : public ChimeSDKMediaPipelinesRequest { public: AWS_CHIMESDKMEDIAPIPELINES_API UpdateMediaInsightsPipelineStatusRequest(); // 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 "UpdateMediaInsightsPipelineStatus"; } AWS_CHIMESDKMEDIAPIPELINES_API Aws::String SerializePayload() const override; /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The requested status of the media insights pipeline.

*/ inline const MediaPipelineStatusUpdate& GetUpdateStatus() const{ return m_updateStatus; } /** *

The requested status of the media insights pipeline.

*/ inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; } /** *

The requested status of the media insights pipeline.

*/ inline void SetUpdateStatus(const MediaPipelineStatusUpdate& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; } /** *

The requested status of the media insights pipeline.

*/ inline void SetUpdateStatus(MediaPipelineStatusUpdate&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); } /** *

The requested status of the media insights pipeline.

*/ inline UpdateMediaInsightsPipelineStatusRequest& WithUpdateStatus(const MediaPipelineStatusUpdate& value) { SetUpdateStatus(value); return *this;} /** *

The requested status of the media insights pipeline.

*/ inline UpdateMediaInsightsPipelineStatusRequest& WithUpdateStatus(MediaPipelineStatusUpdate&& value) { SetUpdateStatus(std::move(value)); return *this;} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; MediaPipelineStatusUpdate m_updateStatus; bool m_updateStatusHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws