AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GlobalTableBorderOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TableBorderOptions.h>
9#include <aws/quicksight/model/TableSideBorderOptions.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 GlobalTableBorderOptions() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const TableBorderOptions& GetUniformBorder() const { return m_uniformBorder; }
41 inline bool UniformBorderHasBeenSet() const { return m_uniformBorderHasBeenSet; }
42 template <typename UniformBorderT = TableBorderOptions>
43 void SetUniformBorder(UniformBorderT&& value) {
44 m_uniformBorderHasBeenSet = true;
45 m_uniformBorder = std::forward<UniformBorderT>(value);
46 }
47 template <typename UniformBorderT = TableBorderOptions>
49 SetUniformBorder(std::forward<UniformBorderT>(value));
50 return *this;
51 }
53
55
58 inline const TableSideBorderOptions& GetSideSpecificBorder() const { return m_sideSpecificBorder; }
59 inline bool SideSpecificBorderHasBeenSet() const { return m_sideSpecificBorderHasBeenSet; }
60 template <typename SideSpecificBorderT = TableSideBorderOptions>
61 void SetSideSpecificBorder(SideSpecificBorderT&& value) {
62 m_sideSpecificBorderHasBeenSet = true;
63 m_sideSpecificBorder = std::forward<SideSpecificBorderT>(value);
64 }
65 template <typename SideSpecificBorderT = TableSideBorderOptions>
66 GlobalTableBorderOptions& WithSideSpecificBorder(SideSpecificBorderT&& value) {
67 SetSideSpecificBorder(std::forward<SideSpecificBorderT>(value));
68 return *this;
69 }
71 private:
72 TableBorderOptions m_uniformBorder;
73
74 TableSideBorderOptions m_sideSpecificBorder;
75 bool m_uniformBorderHasBeenSet = false;
76 bool m_sideSpecificBorderHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API GlobalTableBorderOptions()=default
AWS_QUICKSIGHT_API GlobalTableBorderOptions(Aws::Utils::Json::JsonView jsonValue)
GlobalTableBorderOptions & WithSideSpecificBorder(SideSpecificBorderT &&value)
AWS_QUICKSIGHT_API GlobalTableBorderOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const TableSideBorderOptions & GetSideSpecificBorder() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GlobalTableBorderOptions & WithUniformBorder(UniformBorderT &&value)
Aws::Utils::Json::JsonValue JsonValue