AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataFieldSeriesItem.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/AxisBinding.h>
10#include <aws/quicksight/model/LineChartSeriesSettings.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
35 {
36 public:
37 AWS_QUICKSIGHT_API DataFieldSeriesItem() = default;
38 AWS_QUICKSIGHT_API DataFieldSeriesItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFieldId() const { return m_fieldId; }
48 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
49 template<typename FieldIdT = Aws::String>
50 void SetFieldId(FieldIdT&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::forward<FieldIdT>(value); }
51 template<typename FieldIdT = Aws::String>
52 DataFieldSeriesItem& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
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) { m_fieldValueHasBeenSet = true; m_fieldValue = std::forward<FieldValueT>(value); }
63 template<typename FieldValueT = Aws::String>
64 DataFieldSeriesItem& WithFieldValue(FieldValueT&& value) { SetFieldValue(std::forward<FieldValueT>(value)); return *this;}
66
68
71 inline AxisBinding GetAxisBinding() const { return m_axisBinding; }
72 inline bool AxisBindingHasBeenSet() const { return m_axisBindingHasBeenSet; }
73 inline void SetAxisBinding(AxisBinding value) { m_axisBindingHasBeenSet = true; m_axisBinding = value; }
74 inline DataFieldSeriesItem& WithAxisBinding(AxisBinding value) { SetAxisBinding(value); return *this;}
76
78
82 inline const LineChartSeriesSettings& GetSettings() const { return m_settings; }
83 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
84 template<typename SettingsT = LineChartSeriesSettings>
85 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings = std::forward<SettingsT>(value); }
86 template<typename SettingsT = LineChartSeriesSettings>
87 DataFieldSeriesItem& WithSettings(SettingsT&& value) { SetSettings(std::forward<SettingsT>(value)); return *this;}
89 private:
90
91 Aws::String m_fieldId;
92 bool m_fieldIdHasBeenSet = false;
93
94 Aws::String m_fieldValue;
95 bool m_fieldValueHasBeenSet = false;
96
97 AxisBinding m_axisBinding{AxisBinding::NOT_SET};
98 bool m_axisBindingHasBeenSet = false;
99
100 LineChartSeriesSettings m_settings;
101 bool m_settingsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // 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