/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NimbleStudio { namespace Model { /** *

The configuration for a streaming session’s upload storage.

See * Also:

AWS * API Reference

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

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline const Aws::Vector& GetMode() const{ return m_mode; } /** *

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } /** *

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline void SetMode(const Aws::Vector& value) { m_modeHasBeenSet = true; m_mode = value; } /** *

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline void SetMode(Aws::Vector&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } /** *

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline StreamConfigurationSessionStorage& WithMode(const Aws::Vector& value) { SetMode(value); return *this;} /** *

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline StreamConfigurationSessionStorage& WithMode(Aws::Vector&& value) { SetMode(std::move(value)); return *this;} /** *

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline StreamConfigurationSessionStorage& AddMode(const StreamingSessionStorageMode& value) { m_modeHasBeenSet = true; m_mode.push_back(value); return *this; } /** *

Allows artists to upload files to their workstations. The only valid option * is UPLOAD.

*/ inline StreamConfigurationSessionStorage& AddMode(StreamingSessionStorageMode&& value) { m_modeHasBeenSet = true; m_mode.push_back(std::move(value)); return *this; } /** *

The configuration for the upload storage root of the streaming session.

*/ inline const StreamingSessionStorageRoot& GetRoot() const{ return m_root; } /** *

The configuration for the upload storage root of the streaming session.

*/ inline bool RootHasBeenSet() const { return m_rootHasBeenSet; } /** *

The configuration for the upload storage root of the streaming session.

*/ inline void SetRoot(const StreamingSessionStorageRoot& value) { m_rootHasBeenSet = true; m_root = value; } /** *

The configuration for the upload storage root of the streaming session.

*/ inline void SetRoot(StreamingSessionStorageRoot&& value) { m_rootHasBeenSet = true; m_root = std::move(value); } /** *

The configuration for the upload storage root of the streaming session.

*/ inline StreamConfigurationSessionStorage& WithRoot(const StreamingSessionStorageRoot& value) { SetRoot(value); return *this;} /** *

The configuration for the upload storage root of the streaming session.

*/ inline StreamConfigurationSessionStorage& WithRoot(StreamingSessionStorageRoot&& value) { SetRoot(std::move(value)); return *this;} private: Aws::Vector m_mode; bool m_modeHasBeenSet = false; StreamingSessionStorageRoot m_root; bool m_rootHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws