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

The display options for the layout of tiles on a sheet.

See * Also:

AWS * API Reference

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

The gutter settings that apply between tiles.

*/ inline const GutterStyle& GetGutter() const{ return m_gutter; } /** *

The gutter settings that apply between tiles.

*/ inline bool GutterHasBeenSet() const { return m_gutterHasBeenSet; } /** *

The gutter settings that apply between tiles.

*/ inline void SetGutter(const GutterStyle& value) { m_gutterHasBeenSet = true; m_gutter = value; } /** *

The gutter settings that apply between tiles.

*/ inline void SetGutter(GutterStyle&& value) { m_gutterHasBeenSet = true; m_gutter = std::move(value); } /** *

The gutter settings that apply between tiles.

*/ inline TileLayoutStyle& WithGutter(const GutterStyle& value) { SetGutter(value); return *this;} /** *

The gutter settings that apply between tiles.

*/ inline TileLayoutStyle& WithGutter(GutterStyle&& value) { SetGutter(std::move(value)); return *this;} /** *

The margin settings that apply around the outside edge of sheets.

*/ inline const MarginStyle& GetMargin() const{ return m_margin; } /** *

The margin settings that apply around the outside edge of sheets.

*/ inline bool MarginHasBeenSet() const { return m_marginHasBeenSet; } /** *

The margin settings that apply around the outside edge of sheets.

*/ inline void SetMargin(const MarginStyle& value) { m_marginHasBeenSet = true; m_margin = value; } /** *

The margin settings that apply around the outside edge of sheets.

*/ inline void SetMargin(MarginStyle&& value) { m_marginHasBeenSet = true; m_margin = std::move(value); } /** *

The margin settings that apply around the outside edge of sheets.

*/ inline TileLayoutStyle& WithMargin(const MarginStyle& value) { SetMargin(value); return *this;} /** *

The margin settings that apply around the outside edge of sheets.

*/ inline TileLayoutStyle& WithMargin(MarginStyle&& value) { SetMargin(std::move(value)); return *this;} private: GutterStyle m_gutter; bool m_gutterHasBeenSet = false; MarginStyle m_margin; bool m_marginHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws