AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
FieldSeriesItem.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 FieldSeriesItem() = default;
33 AWS_QUICKSIGHT_API FieldSeriesItem(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 FieldSeriesItem& WithFieldId(FieldIdT&& value) {
50 SetFieldId(std::forward<FieldIdT>(value));
51 return *this;
52 }
54
56
59 inline AxisBinding GetAxisBinding() const { return m_axisBinding; }
60 inline bool AxisBindingHasBeenSet() const { return m_axisBindingHasBeenSet; }
61 inline void SetAxisBinding(AxisBinding value) {
62 m_axisBindingHasBeenSet = true;
63 m_axisBinding = value;
64 }
66 SetAxisBinding(value);
67 return *this;
68 }
70
72
76 inline const LineChartSeriesSettings& GetSettings() const { return m_settings; }
77 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
78 template <typename SettingsT = LineChartSeriesSettings>
79 void SetSettings(SettingsT&& value) {
80 m_settingsHasBeenSet = true;
81 m_settings = std::forward<SettingsT>(value);
82 }
83 template <typename SettingsT = LineChartSeriesSettings>
84 FieldSeriesItem& WithSettings(SettingsT&& value) {
85 SetSettings(std::forward<SettingsT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_fieldId;
91
92 AxisBinding m_axisBinding{AxisBinding::NOT_SET};
93
94 LineChartSeriesSettings m_settings;
95 bool m_fieldIdHasBeenSet = false;
96 bool m_axisBindingHasBeenSet = false;
97 bool m_settingsHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
FieldSeriesItem & WithSettings(SettingsT &&value)
AWS_QUICKSIGHT_API FieldSeriesItem()=default
AWS_QUICKSIGHT_API FieldSeriesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldSeriesItem & WithAxisBinding(AxisBinding value)
const LineChartSeriesSettings & GetSettings() const
AWS_QUICKSIGHT_API FieldSeriesItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFieldId() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FieldSeriesItem & WithFieldId(FieldIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue