/** * 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 QuickSight { namespace Model { /** *

The options that determine the sizing of the canvas used in a free-form * layout.

See Also:

AWS * API Reference

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

The width that the view port will be optimized for when the layout * renders.

*/ inline const Aws::String& GetOptimizedViewPortWidth() const{ return m_optimizedViewPortWidth; } /** *

The width that the view port will be optimized for when the layout * renders.

*/ inline bool OptimizedViewPortWidthHasBeenSet() const { return m_optimizedViewPortWidthHasBeenSet; } /** *

The width that the view port will be optimized for when the layout * renders.

*/ inline void SetOptimizedViewPortWidth(const Aws::String& value) { m_optimizedViewPortWidthHasBeenSet = true; m_optimizedViewPortWidth = value; } /** *

The width that the view port will be optimized for when the layout * renders.

*/ inline void SetOptimizedViewPortWidth(Aws::String&& value) { m_optimizedViewPortWidthHasBeenSet = true; m_optimizedViewPortWidth = std::move(value); } /** *

The width that the view port will be optimized for when the layout * renders.

*/ inline void SetOptimizedViewPortWidth(const char* value) { m_optimizedViewPortWidthHasBeenSet = true; m_optimizedViewPortWidth.assign(value); } /** *

The width that the view port will be optimized for when the layout * renders.

*/ inline FreeFormLayoutScreenCanvasSizeOptions& WithOptimizedViewPortWidth(const Aws::String& value) { SetOptimizedViewPortWidth(value); return *this;} /** *

The width that the view port will be optimized for when the layout * renders.

*/ inline FreeFormLayoutScreenCanvasSizeOptions& WithOptimizedViewPortWidth(Aws::String&& value) { SetOptimizedViewPortWidth(std::move(value)); return *this;} /** *

The width that the view port will be optimized for when the layout * renders.

*/ inline FreeFormLayoutScreenCanvasSizeOptions& WithOptimizedViewPortWidth(const char* value) { SetOptimizedViewPortWidth(value); return *this;} private: Aws::String m_optimizedViewPortWidth; bool m_optimizedViewPortWidthHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws