AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
TileLayoutStyle.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/GutterStyle.h>
9#include <aws/quicksight/model/MarginStyle.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API TileLayoutStyle() = default;
32 AWS_QUICKSIGHT_API TileLayoutStyle(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const GutterStyle& GetGutter() const { return m_gutter; }
41 inline bool GutterHasBeenSet() const { return m_gutterHasBeenSet; }
42 template <typename GutterT = GutterStyle>
43 void SetGutter(GutterT&& value) {
44 m_gutterHasBeenSet = true;
45 m_gutter = std::forward<GutterT>(value);
46 }
47 template <typename GutterT = GutterStyle>
48 TileLayoutStyle& WithGutter(GutterT&& value) {
49 SetGutter(std::forward<GutterT>(value));
50 return *this;
51 }
53
55
58 inline const MarginStyle& GetMargin() const { return m_margin; }
59 inline bool MarginHasBeenSet() const { return m_marginHasBeenSet; }
60 template <typename MarginT = MarginStyle>
61 void SetMargin(MarginT&& value) {
62 m_marginHasBeenSet = true;
63 m_margin = std::forward<MarginT>(value);
64 }
65 template <typename MarginT = MarginStyle>
66 TileLayoutStyle& WithMargin(MarginT&& value) {
67 SetMargin(std::forward<MarginT>(value));
68 return *this;
69 }
71 private:
72 GutterStyle m_gutter;
73
74 MarginStyle m_margin;
75 bool m_gutterHasBeenSet = false;
76 bool m_marginHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
TileLayoutStyle & WithGutter(GutterT &&value)
AWS_QUICKSIGHT_API TileLayoutStyle()=default
AWS_QUICKSIGHT_API TileLayoutStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
const MarginStyle & GetMargin() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const GutterStyle & GetGutter() const
AWS_QUICKSIGHT_API TileLayoutStyle(Aws::Utils::Json::JsonView jsonValue)
TileLayoutStyle & WithMargin(MarginT &&value)
Aws::Utils::Json::JsonValue JsonValue