/** * 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 KinesisVideo { namespace Model { /** */ class UpdateMediaStorageConfigurationRequest : public KinesisVideoRequest { public: AWS_KINESISVIDEO_API UpdateMediaStorageConfigurationRequest(); // 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 "UpdateMediaStorageConfiguration"; } AWS_KINESISVIDEO_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline const Aws::String& GetChannelARN() const{ return m_channelARN; } /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; } /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline UpdateMediaStorageConfigurationRequest& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline UpdateMediaStorageConfigurationRequest& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the channel.

*/ inline UpdateMediaStorageConfigurationRequest& WithChannelARN(const char* value) { SetChannelARN(value); return *this;} /** *

A structure that encapsulates, or contains, the media storage configuration * properties.

*/ inline const MediaStorageConfiguration& GetMediaStorageConfiguration() const{ return m_mediaStorageConfiguration; } /** *

A structure that encapsulates, or contains, the media storage configuration * properties.

*/ inline bool MediaStorageConfigurationHasBeenSet() const { return m_mediaStorageConfigurationHasBeenSet; } /** *

A structure that encapsulates, or contains, the media storage configuration * properties.

*/ inline void SetMediaStorageConfiguration(const MediaStorageConfiguration& value) { m_mediaStorageConfigurationHasBeenSet = true; m_mediaStorageConfiguration = value; } /** *

A structure that encapsulates, or contains, the media storage configuration * properties.

*/ inline void SetMediaStorageConfiguration(MediaStorageConfiguration&& value) { m_mediaStorageConfigurationHasBeenSet = true; m_mediaStorageConfiguration = std::move(value); } /** *

A structure that encapsulates, or contains, the media storage configuration * properties.

*/ inline UpdateMediaStorageConfigurationRequest& WithMediaStorageConfiguration(const MediaStorageConfiguration& value) { SetMediaStorageConfiguration(value); return *this;} /** *

A structure that encapsulates, or contains, the media storage configuration * properties.

*/ inline UpdateMediaStorageConfigurationRequest& WithMediaStorageConfiguration(MediaStorageConfiguration&& value) { SetMediaStorageConfiguration(std::move(value)); return *this;} private: Aws::String m_channelARN; bool m_channelARNHasBeenSet = false; MediaStorageConfiguration m_mediaStorageConfiguration; bool m_mediaStorageConfigurationHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws