AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DataFieldComboSeriesItem.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/ComboChartSeriesSettings.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API DataFieldComboSeriesItem() = default;
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>
49 SetFieldId(std::forward<FieldIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetFieldValue() const { return m_fieldValue; }
60 inline bool FieldValueHasBeenSet() const { return m_fieldValueHasBeenSet; }
61 template <typename FieldValueT = Aws::String>
62 void SetFieldValue(FieldValueT&& value) {
63 m_fieldValueHasBeenSet = true;
64 m_fieldValue = std::forward<FieldValueT>(value);
65 }
66 template <typename FieldValueT = Aws::String>
68 SetFieldValue(std::forward<FieldValueT>(value));
69 return *this;
70 }
72
74
78 inline const ComboChartSeriesSettings& GetSettings() const { return m_settings; }
79 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
80 template <typename SettingsT = ComboChartSeriesSettings>
81 void SetSettings(SettingsT&& value) {
82 m_settingsHasBeenSet = true;
83 m_settings = std::forward<SettingsT>(value);
84 }
85 template <typename SettingsT = ComboChartSeriesSettings>
87 SetSettings(std::forward<SettingsT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_fieldId;
93
94 Aws::String m_fieldValue;
95
96 ComboChartSeriesSettings m_settings;
97 bool m_fieldIdHasBeenSet = false;
98 bool m_fieldValueHasBeenSet = false;
99 bool m_settingsHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace QuickSight
104} // namespace Aws
DataFieldComboSeriesItem & WithFieldId(FieldIdT &&value)
DataFieldComboSeriesItem & WithSettings(SettingsT &&value)
AWS_QUICKSIGHT_API DataFieldComboSeriesItem()=default
const ComboChartSeriesSettings & GetSettings() const
DataFieldComboSeriesItem & WithFieldValue(FieldValueT &&value)
AWS_QUICKSIGHT_API DataFieldComboSeriesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataFieldComboSeriesItem(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue