AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
50 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
51 inline ColumnConfiguration& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
52 inline ColumnConfiguration& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
54
56
59 inline const FormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; }
60 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
61 inline void SetFormatConfiguration(const FormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; }
62 inline void SetFormatConfiguration(FormatConfiguration&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::move(value); }
66
68
71 inline const ColumnRole& GetRole() const{ return m_role; }
72 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
73 inline void SetRole(const ColumnRole& value) { m_roleHasBeenSet = true; m_role = value; }
74 inline void SetRole(ColumnRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
75 inline ColumnConfiguration& WithRole(const ColumnRole& value) { SetRole(value); return *this;}
76 inline ColumnConfiguration& WithRole(ColumnRole&& value) { SetRole(std::move(value)); return *this;}
78
80
83 inline const ColorsConfiguration& GetColorsConfiguration() const{ return m_colorsConfiguration; }
84 inline bool ColorsConfigurationHasBeenSet() const { return m_colorsConfigurationHasBeenSet; }
85 inline void SetColorsConfiguration(const ColorsConfiguration& value) { m_colorsConfigurationHasBeenSet = true; m_colorsConfiguration = value; }
86 inline void SetColorsConfiguration(ColorsConfiguration&& value) { m_colorsConfigurationHasBeenSet = true; m_colorsConfiguration = std::move(value); }
90 private:
91
92 ColumnIdentifier m_column;
93 bool m_columnHasBeenSet = false;
94
95 FormatConfiguration m_formatConfiguration;
96 bool m_formatConfigurationHasBeenSet = false;
97
98 ColumnRole m_role;
99 bool m_roleHasBeenSet = false;
100
101 ColorsConfiguration m_colorsConfiguration;
102 bool m_colorsConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
void SetColorsConfiguration(ColorsConfiguration &&value)
void SetFormatConfiguration(const FormatConfiguration &value)
ColumnConfiguration & WithColumn(ColumnIdentifier &&value)
void SetColorsConfiguration(const ColorsConfiguration &value)
const FormatConfiguration & GetFormatConfiguration() const
ColumnConfiguration & WithFormatConfiguration(FormatConfiguration &&value)
AWS_QUICKSIGHT_API ColumnConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetColumn(const ColumnIdentifier &value)
ColumnConfiguration & WithFormatConfiguration(const FormatConfiguration &value)
AWS_QUICKSIGHT_API ColumnConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ColumnIdentifier & GetColumn() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnConfiguration & WithColorsConfiguration(ColorsConfiguration &&value)
ColumnConfiguration & WithColorsConfiguration(const ColorsConfiguration &value)
const ColorsConfiguration & GetColorsConfiguration() const
ColumnConfiguration & WithColumn(const ColumnIdentifier &value)
ColumnConfiguration & WithRole(ColumnRole &&value)
ColumnConfiguration & WithRole(const ColumnRole &value)
void SetFormatConfiguration(FormatConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue