AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UnaggregatedField.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ColumnIdentifier.h>
10#include <aws/quicksight/model/FormatConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API UnaggregatedField() = default;
37 AWS_QUICKSIGHT_API UnaggregatedField(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldId() const { return m_fieldId; }
47 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
48 template<typename FieldIdT = Aws::String>
49 void SetFieldId(FieldIdT&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::forward<FieldIdT>(value); }
50 template<typename FieldIdT = Aws::String>
51 UnaggregatedField& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
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) { m_columnHasBeenSet = true; m_column = std::forward<ColumnT>(value); }
62 template<typename ColumnT = ColumnIdentifier>
63 UnaggregatedField& WithColumn(ColumnT&& value) { SetColumn(std::forward<ColumnT>(value)); return *this;}
65
67
70 inline const FormatConfiguration& GetFormatConfiguration() const { return m_formatConfiguration; }
71 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
72 template<typename FormatConfigurationT = FormatConfiguration>
73 void SetFormatConfiguration(FormatConfigurationT&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::forward<FormatConfigurationT>(value); }
74 template<typename FormatConfigurationT = FormatConfiguration>
75 UnaggregatedField& WithFormatConfiguration(FormatConfigurationT&& value) { SetFormatConfiguration(std::forward<FormatConfigurationT>(value)); return *this;}
77 private:
78
79 Aws::String m_fieldId;
80 bool m_fieldIdHasBeenSet = false;
81
82 ColumnIdentifier m_column;
83 bool m_columnHasBeenSet = false;
84
85 FormatConfiguration m_formatConfiguration;
86 bool m_formatConfigurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // 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