AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UnaggregatedField.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/ColumnIdentifier.h>
10#include <aws/quicksight/model/FormatConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API UnaggregatedField() = default;
32 AWS_QUICKSIGHT_API UnaggregatedField(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFieldId() const { return m_fieldId; }
41 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
42 template <typename FieldIdT = Aws::String>
43 void SetFieldId(FieldIdT&& value) {
44 m_fieldIdHasBeenSet = true;
45 m_fieldId = std::forward<FieldIdT>(value);
46 }
47 template <typename FieldIdT = Aws::String>
48 UnaggregatedField& WithFieldId(FieldIdT&& value) {
49 SetFieldId(std::forward<FieldIdT>(value));
50 return *this;
51 }
53
55
58 inline const ColumnIdentifier& GetColumn() const { return m_column; }
59 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
60 template <typename ColumnT = ColumnIdentifier>
61 void SetColumn(ColumnT&& value) {
62 m_columnHasBeenSet = true;
63 m_column = std::forward<ColumnT>(value);
64 }
65 template <typename ColumnT = ColumnIdentifier>
66 UnaggregatedField& WithColumn(ColumnT&& value) {
67 SetColumn(std::forward<ColumnT>(value));
68 return *this;
69 }
71
73
76 inline const FormatConfiguration& GetFormatConfiguration() const { return m_formatConfiguration; }
77 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
78 template <typename FormatConfigurationT = FormatConfiguration>
79 void SetFormatConfiguration(FormatConfigurationT&& value) {
80 m_formatConfigurationHasBeenSet = true;
81 m_formatConfiguration = std::forward<FormatConfigurationT>(value);
82 }
83 template <typename FormatConfigurationT = FormatConfiguration>
84 UnaggregatedField& WithFormatConfiguration(FormatConfigurationT&& value) {
85 SetFormatConfiguration(std::forward<FormatConfigurationT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_fieldId;
91
92 ColumnIdentifier m_column;
93
94 FormatConfiguration m_formatConfiguration;
95 bool m_fieldIdHasBeenSet = false;
96 bool m_columnHasBeenSet = false;
97 bool m_formatConfigurationHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
const FormatConfiguration & GetFormatConfiguration() const
UnaggregatedField & WithFieldId(FieldIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
UnaggregatedField & WithColumn(ColumnT &&value)
AWS_QUICKSIGHT_API UnaggregatedField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormatConfiguration(FormatConfigurationT &&value)
const ColumnIdentifier & GetColumn() const
UnaggregatedField & WithFormatConfiguration(FormatConfigurationT &&value)
AWS_QUICKSIGHT_API UnaggregatedField()=default
AWS_QUICKSIGHT_API UnaggregatedField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue