AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API TileLayoutStyle() = default;
37 AWS_QUICKSIGHT_API TileLayoutStyle(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const GutterStyle& GetGutter() const { return m_gutter; }
47 inline bool GutterHasBeenSet() const { return m_gutterHasBeenSet; }
48 template<typename GutterT = GutterStyle>
49 void SetGutter(GutterT&& value) { m_gutterHasBeenSet = true; m_gutter = std::forward<GutterT>(value); }
50 template<typename GutterT = GutterStyle>
51 TileLayoutStyle& WithGutter(GutterT&& value) { SetGutter(std::forward<GutterT>(value)); return *this;}
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) { m_marginHasBeenSet = true; m_margin = std::forward<MarginT>(value); }
62 template<typename MarginT = MarginStyle>
63 TileLayoutStyle& WithMargin(MarginT&& value) { SetMargin(std::forward<MarginT>(value)); return *this;}
65 private:
66
67 GutterStyle m_gutter;
68 bool m_gutterHasBeenSet = false;
69
70 MarginStyle m_margin;
71 bool m_marginHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // 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