/** * 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 configuration of spacing (often a margin or padding).

See * Also:

AWS * API Reference

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

Define the top spacing.

*/ inline const Aws::String& GetTop() const{ return m_top; } /** *

Define the top spacing.

*/ inline bool TopHasBeenSet() const { return m_topHasBeenSet; } /** *

Define the top spacing.

*/ inline void SetTop(const Aws::String& value) { m_topHasBeenSet = true; m_top = value; } /** *

Define the top spacing.

*/ inline void SetTop(Aws::String&& value) { m_topHasBeenSet = true; m_top = std::move(value); } /** *

Define the top spacing.

*/ inline void SetTop(const char* value) { m_topHasBeenSet = true; m_top.assign(value); } /** *

Define the top spacing.

*/ inline Spacing& WithTop(const Aws::String& value) { SetTop(value); return *this;} /** *

Define the top spacing.

*/ inline Spacing& WithTop(Aws::String&& value) { SetTop(std::move(value)); return *this;} /** *

Define the top spacing.

*/ inline Spacing& WithTop(const char* value) { SetTop(value); return *this;} /** *

Define the bottom spacing.

*/ inline const Aws::String& GetBottom() const{ return m_bottom; } /** *

Define the bottom spacing.

*/ inline bool BottomHasBeenSet() const { return m_bottomHasBeenSet; } /** *

Define the bottom spacing.

*/ inline void SetBottom(const Aws::String& value) { m_bottomHasBeenSet = true; m_bottom = value; } /** *

Define the bottom spacing.

*/ inline void SetBottom(Aws::String&& value) { m_bottomHasBeenSet = true; m_bottom = std::move(value); } /** *

Define the bottom spacing.

*/ inline void SetBottom(const char* value) { m_bottomHasBeenSet = true; m_bottom.assign(value); } /** *

Define the bottom spacing.

*/ inline Spacing& WithBottom(const Aws::String& value) { SetBottom(value); return *this;} /** *

Define the bottom spacing.

*/ inline Spacing& WithBottom(Aws::String&& value) { SetBottom(std::move(value)); return *this;} /** *

Define the bottom spacing.

*/ inline Spacing& WithBottom(const char* value) { SetBottom(value); return *this;} /** *

Define the left spacing.

*/ inline const Aws::String& GetLeft() const{ return m_left; } /** *

Define the left spacing.

*/ inline bool LeftHasBeenSet() const { return m_leftHasBeenSet; } /** *

Define the left spacing.

*/ inline void SetLeft(const Aws::String& value) { m_leftHasBeenSet = true; m_left = value; } /** *

Define the left spacing.

*/ inline void SetLeft(Aws::String&& value) { m_leftHasBeenSet = true; m_left = std::move(value); } /** *

Define the left spacing.

*/ inline void SetLeft(const char* value) { m_leftHasBeenSet = true; m_left.assign(value); } /** *

Define the left spacing.

*/ inline Spacing& WithLeft(const Aws::String& value) { SetLeft(value); return *this;} /** *

Define the left spacing.

*/ inline Spacing& WithLeft(Aws::String&& value) { SetLeft(std::move(value)); return *this;} /** *

Define the left spacing.

*/ inline Spacing& WithLeft(const char* value) { SetLeft(value); return *this;} /** *

Define the right spacing.

*/ inline const Aws::String& GetRight() const{ return m_right; } /** *

Define the right spacing.

*/ inline bool RightHasBeenSet() const { return m_rightHasBeenSet; } /** *

Define the right spacing.

*/ inline void SetRight(const Aws::String& value) { m_rightHasBeenSet = true; m_right = value; } /** *

Define the right spacing.

*/ inline void SetRight(Aws::String&& value) { m_rightHasBeenSet = true; m_right = std::move(value); } /** *

Define the right spacing.

*/ inline void SetRight(const char* value) { m_rightHasBeenSet = true; m_right.assign(value); } /** *

Define the right spacing.

*/ inline Spacing& WithRight(const Aws::String& value) { SetRight(value); return *this;} /** *

Define the right spacing.

*/ inline Spacing& WithRight(Aws::String&& value) { SetRight(std::move(value)); return *this;} /** *

Define the right spacing.

*/ inline Spacing& WithRight(const char* value) { SetRight(value); return *this;} private: Aws::String m_top; bool m_topHasBeenSet = false; Aws::String m_bottom; bool m_bottomHasBeenSet = false; Aws::String m_left; bool m_leftHasBeenSet = false; Aws::String m_right; bool m_rightHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws