AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ColumnConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ColumnIdentifier.h>
9#include <aws/quicksight/model/FormatConfiguration.h>
10#include <aws/quicksight/model/ColumnRole.h>
11#include <aws/quicksight/model/ColorsConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API ColumnConfiguration() = default;
38 AWS_QUICKSIGHT_API ColumnConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ColumnIdentifier& GetColumn() const { return m_column; }
48 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
49 template<typename ColumnT = ColumnIdentifier>
50 void SetColumn(ColumnT&& value) { m_columnHasBeenSet = true; m_column = std::forward<ColumnT>(value); }
51 template<typename ColumnT = ColumnIdentifier>
52 ColumnConfiguration& WithColumn(ColumnT&& value) { SetColumn(std::forward<ColumnT>(value)); return *this;}
54
56
59 inline const FormatConfiguration& GetFormatConfiguration() const { return m_formatConfiguration; }
60 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
61 template<typename FormatConfigurationT = FormatConfiguration>
62 void SetFormatConfiguration(FormatConfigurationT&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::forward<FormatConfigurationT>(value); }
63 template<typename FormatConfigurationT = FormatConfiguration>
64 ColumnConfiguration& WithFormatConfiguration(FormatConfigurationT&& value) { SetFormatConfiguration(std::forward<FormatConfigurationT>(value)); return *this;}
66
68
71 inline ColumnRole GetRole() const { return m_role; }
72 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
73 inline void SetRole(ColumnRole value) { m_roleHasBeenSet = true; m_role = value; }
74 inline ColumnConfiguration& WithRole(ColumnRole value) { SetRole(value); return *this;}
76
78
81 inline const ColorsConfiguration& GetColorsConfiguration() const { return m_colorsConfiguration; }
82 inline bool ColorsConfigurationHasBeenSet() const { return m_colorsConfigurationHasBeenSet; }
83 template<typename ColorsConfigurationT = ColorsConfiguration>
84 void SetColorsConfiguration(ColorsConfigurationT&& value) { m_colorsConfigurationHasBeenSet = true; m_colorsConfiguration = std::forward<ColorsConfigurationT>(value); }
85 template<typename ColorsConfigurationT = ColorsConfiguration>
86 ColumnConfiguration& WithColorsConfiguration(ColorsConfigurationT&& value) { SetColorsConfiguration(std::forward<ColorsConfigurationT>(value)); return *this;}
88 private:
89
90 ColumnIdentifier m_column;
91 bool m_columnHasBeenSet = false;
92
93 FormatConfiguration m_formatConfiguration;
94 bool m_formatConfigurationHasBeenSet = false;
95
97 bool m_roleHasBeenSet = false;
98
99 ColorsConfiguration m_colorsConfiguration;
100 bool m_colorsConfigurationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace QuickSight
105} // 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
ColumnConfiguration & WithColorsConfiguration(ColorsConfigurationT &&value)
const ColorsConfiguration & GetColorsConfiguration() const
Aws::Utils::Json::JsonValue JsonValue