/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisVideo { namespace Model { /** *

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

See Also:

AWS * API Reference

*/ class MediaStorageConfiguration { public: AWS_KINESISVIDEO_API MediaStorageConfiguration(); AWS_KINESISVIDEO_API MediaStorageConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API MediaStorageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the stream

*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *

The Amazon Resource Name (ARN) of the stream

*/ inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the stream

*/ inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; } /** *

The Amazon Resource Name (ARN) of the stream

*/ inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the stream

*/ inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the stream

*/ inline MediaStorageConfiguration& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the stream

*/ inline MediaStorageConfiguration& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the stream

*/ inline MediaStorageConfiguration& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} /** *

The status of the media storage configuration.

*/ inline const MediaStorageConfigurationStatus& GetStatus() const{ return m_status; } /** *

The status of the media storage configuration.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the media storage configuration.

*/ inline void SetStatus(const MediaStorageConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the media storage configuration.

*/ inline void SetStatus(MediaStorageConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the media storage configuration.

*/ inline MediaStorageConfiguration& WithStatus(const MediaStorageConfigurationStatus& value) { SetStatus(value); return *this;} /** *

The status of the media storage configuration.

*/ inline MediaStorageConfiguration& WithStatus(MediaStorageConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_streamARN; bool m_streamARNHasBeenSet = false; MediaStorageConfigurationStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws