AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ColumnConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ColorsConfiguration.h>
9#include <aws/quicksight/model/ColumnIdentifier.h>
10#include <aws/quicksight/model/ColumnRole.h>
11#include <aws/quicksight/model/DecalSettingsConfiguration.h>
12#include <aws/quicksight/model/FormatConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
32 public:
33 AWS_QUICKSIGHT_API ColumnConfiguration() = default;
34 AWS_QUICKSIGHT_API ColumnConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const ColumnIdentifier& GetColumn() const { return m_column; }
43 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
44 template <typename ColumnT = ColumnIdentifier>
45 void SetColumn(ColumnT&& value) {
46 m_columnHasBeenSet = true;
47 m_column = std::forward<ColumnT>(value);
48 }
49 template <typename ColumnT = ColumnIdentifier>
50 ColumnConfiguration& WithColumn(ColumnT&& value) {
51 SetColumn(std::forward<ColumnT>(value));
52 return *this;
53 }
55
57
60 inline const FormatConfiguration& GetFormatConfiguration() const { return m_formatConfiguration; }
61 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
62 template <typename FormatConfigurationT = FormatConfiguration>
63 void SetFormatConfiguration(FormatConfigurationT&& value) {
64 m_formatConfigurationHasBeenSet = true;
65 m_formatConfiguration = std::forward<FormatConfigurationT>(value);
66 }
67 template <typename FormatConfigurationT = FormatConfiguration>
68 ColumnConfiguration& WithFormatConfiguration(FormatConfigurationT&& value) {
69 SetFormatConfiguration(std::forward<FormatConfigurationT>(value));
70 return *this;
71 }
73
75
78 inline ColumnRole GetRole() const { return m_role; }
79 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
80 inline void SetRole(ColumnRole value) {
81 m_roleHasBeenSet = true;
82 m_role = value;
83 }
85 SetRole(value);
86 return *this;
87 }
89
91
94 inline const ColorsConfiguration& GetColorsConfiguration() const { return m_colorsConfiguration; }
95 inline bool ColorsConfigurationHasBeenSet() const { return m_colorsConfigurationHasBeenSet; }
96 template <typename ColorsConfigurationT = ColorsConfiguration>
97 void SetColorsConfiguration(ColorsConfigurationT&& value) {
98 m_colorsConfigurationHasBeenSet = true;
99 m_colorsConfiguration = std::forward<ColorsConfigurationT>(value);
100 }
101 template <typename ColorsConfigurationT = ColorsConfiguration>
102 ColumnConfiguration& WithColorsConfiguration(ColorsConfigurationT&& value) {
103 SetColorsConfiguration(std::forward<ColorsConfigurationT>(value));
104 return *this;
105 }
107
109
112 inline const DecalSettingsConfiguration& GetDecalSettingsConfiguration() const { return m_decalSettingsConfiguration; }
113 inline bool DecalSettingsConfigurationHasBeenSet() const { return m_decalSettingsConfigurationHasBeenSet; }
114 template <typename DecalSettingsConfigurationT = DecalSettingsConfiguration>
115 void SetDecalSettingsConfiguration(DecalSettingsConfigurationT&& value) {
116 m_decalSettingsConfigurationHasBeenSet = true;
117 m_decalSettingsConfiguration = std::forward<DecalSettingsConfigurationT>(value);
118 }
119 template <typename DecalSettingsConfigurationT = DecalSettingsConfiguration>
120 ColumnConfiguration& WithDecalSettingsConfiguration(DecalSettingsConfigurationT&& value) {
121 SetDecalSettingsConfiguration(std::forward<DecalSettingsConfigurationT>(value));
122 return *this;
123 }
125 private:
126 ColumnIdentifier m_column;
127
128 FormatConfiguration m_formatConfiguration;
129
131
132 ColorsConfiguration m_colorsConfiguration;
133
134 DecalSettingsConfiguration m_decalSettingsConfiguration;
135 bool m_columnHasBeenSet = false;
136 bool m_formatConfigurationHasBeenSet = false;
137 bool m_roleHasBeenSet = false;
138 bool m_colorsConfigurationHasBeenSet = false;
139 bool m_decalSettingsConfigurationHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
ColumnConfiguration & WithFormatConfiguration(FormatConfigurationT &&value)
const FormatConfiguration & GetFormatConfiguration() const
ColumnConfiguration & WithRole(ColumnRole value)
void SetColorsConfiguration(ColorsConfigurationT &&value)
ColumnConfiguration & WithColumn(ColumnT &&value)
AWS_QUICKSIGHT_API ColumnConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetFormatConfiguration(FormatConfigurationT &&value)
AWS_QUICKSIGHT_API ColumnConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ColumnIdentifier & GetColumn() const
AWS_QUICKSIGHT_API ColumnConfiguration()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const DecalSettingsConfiguration & GetDecalSettingsConfiguration() const
ColumnConfiguration & WithDecalSettingsConfiguration(DecalSettingsConfigurationT &&value)
ColumnConfiguration & WithColorsConfiguration(ColorsConfigurationT &&value)
const ColorsConfiguration & GetColorsConfiguration() const
void SetDecalSettingsConfiguration(DecalSettingsConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue