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

See Also:

AWS * API Reference

*/ class ThumbnailConfiguration { public: AWS_MEDIALIVE_API ThumbnailConfiguration(); AWS_MEDIALIVE_API ThumbnailConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API ThumbnailConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Whether Thumbnail is enabled. */ inline const ThumbnailState& GetState() const{ return m_state; } /** * Whether Thumbnail is enabled. */ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** * Whether Thumbnail is enabled. */ inline void SetState(const ThumbnailState& value) { m_stateHasBeenSet = true; m_state = value; } /** * Whether Thumbnail is enabled. */ inline void SetState(ThumbnailState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** * Whether Thumbnail is enabled. */ inline ThumbnailConfiguration& WithState(const ThumbnailState& value) { SetState(value); return *this;} /** * Whether Thumbnail is enabled. */ inline ThumbnailConfiguration& WithState(ThumbnailState&& value) { SetState(std::move(value)); return *this;} private: ThumbnailState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws