/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration for a grid layout. Also called a tiled layout. Visuals snap to a grid with standard spacing and alignment. Dashboards are
* displayed as designed, with options to fit to screen or view at actual
* size.See Also:
AWS
* API Reference
The elements that are included in a grid layout.
*/ inline const Aws::VectorThe elements that are included in a grid layout.
*/ inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; } /** *The elements that are included in a grid layout.
*/ inline void SetElements(const Aws::VectorThe elements that are included in a grid layout.
*/ inline void SetElements(Aws::VectorThe elements that are included in a grid layout.
*/ inline GridLayoutConfiguration& WithElements(const Aws::VectorThe elements that are included in a grid layout.
*/ inline GridLayoutConfiguration& WithElements(Aws::VectorThe elements that are included in a grid layout.
*/ inline GridLayoutConfiguration& AddElements(const GridLayoutElement& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; } /** *The elements that are included in a grid layout.
*/ inline GridLayoutConfiguration& AddElements(GridLayoutElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; } inline const GridLayoutCanvasSizeOptions& GetCanvasSizeOptions() const{ return m_canvasSizeOptions; } inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; } inline void SetCanvasSizeOptions(const GridLayoutCanvasSizeOptions& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = value; } inline void SetCanvasSizeOptions(GridLayoutCanvasSizeOptions&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::move(value); } inline GridLayoutConfiguration& WithCanvasSizeOptions(const GridLayoutCanvasSizeOptions& value) { SetCanvasSizeOptions(value); return *this;} inline GridLayoutConfiguration& WithCanvasSizeOptions(GridLayoutCanvasSizeOptions&& value) { SetCanvasSizeOptions(std::move(value)); return *this;} private: Aws::Vector