/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The options that determine the sizing of the canvas used in a free-form
* layout.See Also:
AWS
* API Reference
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