AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DataFieldSeriesItem.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/AxisBinding.h>
10#include <aws/quicksight/model/LineChartSeriesSettings.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
31 public:
32 AWS_QUICKSIGHT_API DataFieldSeriesItem() = default;
33 AWS_QUICKSIGHT_API DataFieldSeriesItem(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFieldId() const { return m_fieldId; }
42 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
43 template <typename FieldIdT = Aws::String>
44 void SetFieldId(FieldIdT&& value) {
45 m_fieldIdHasBeenSet = true;
46 m_fieldId = std::forward<FieldIdT>(value);
47 }
48 template <typename FieldIdT = Aws::String>
49 DataFieldSeriesItem& WithFieldId(FieldIdT&& value) {
50 SetFieldId(std::forward<FieldIdT>(value));
51 return *this;
52 }
54
56
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>
67 DataFieldSeriesItem& WithFieldValue(FieldValueT&& value) {
68 SetFieldValue(std::forward<FieldValueT>(value));
69 return *this;
70 }
72
74
77 inline AxisBinding GetAxisBinding() const { return m_axisBinding; }
78 inline bool AxisBindingHasBeenSet() const { return m_axisBindingHasBeenSet; }
79 inline void SetAxisBinding(AxisBinding value) {
80 m_axisBindingHasBeenSet = true;
81 m_axisBinding = value;
82 }
84 SetAxisBinding(value);
85 return *this;
86 }
88
90
94 inline const LineChartSeriesSettings& GetSettings() const { return m_settings; }
95 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
96 template <typename SettingsT = LineChartSeriesSettings>
97 void SetSettings(SettingsT&& value) {
98 m_settingsHasBeenSet = true;
99 m_settings = std::forward<SettingsT>(value);
100 }
101 template <typename SettingsT = LineChartSeriesSettings>
102 DataFieldSeriesItem& WithSettings(SettingsT&& value) {
103 SetSettings(std::forward<SettingsT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_fieldId;
109
110 Aws::String m_fieldValue;
111
112 AxisBinding m_axisBinding{AxisBinding::NOT_SET};
113
114 LineChartSeriesSettings m_settings;
115 bool m_fieldIdHasBeenSet = false;
116 bool m_fieldValueHasBeenSet = false;
117 bool m_axisBindingHasBeenSet = false;
118 bool m_settingsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
AWS_QUICKSIGHT_API DataFieldSeriesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataFieldSeriesItem()=default
const LineChartSeriesSettings & GetSettings() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DataFieldSeriesItem & WithFieldId(FieldIdT &&value)
AWS_QUICKSIGHT_API DataFieldSeriesItem(Aws::Utils::Json::JsonView jsonValue)
DataFieldSeriesItem & WithSettings(SettingsT &&value)
DataFieldSeriesItem & WithAxisBinding(AxisBinding value)
DataFieldSeriesItem & WithFieldValue(FieldValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue