AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FieldSeriesItem.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 FieldSeriesItem() = default;
38 AWS_QUICKSIGHT_API FieldSeriesItem(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 FieldSeriesItem& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
54
56
59 inline AxisBinding GetAxisBinding() const { return m_axisBinding; }
60 inline bool AxisBindingHasBeenSet() const { return m_axisBindingHasBeenSet; }
61 inline void SetAxisBinding(AxisBinding value) { m_axisBindingHasBeenSet = true; m_axisBinding = value; }
62 inline FieldSeriesItem& WithAxisBinding(AxisBinding value) { SetAxisBinding(value); return *this;}
64
66
70 inline const LineChartSeriesSettings& GetSettings() const { return m_settings; }
71 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
72 template<typename SettingsT = LineChartSeriesSettings>
73 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings = std::forward<SettingsT>(value); }
74 template<typename SettingsT = LineChartSeriesSettings>
75 FieldSeriesItem& WithSettings(SettingsT&& value) { SetSettings(std::forward<SettingsT>(value)); return *this;}
77 private:
78
79 Aws::String m_fieldId;
80 bool m_fieldIdHasBeenSet = false;
81
82 AxisBinding m_axisBinding{AxisBinding::NOT_SET};
83 bool m_axisBindingHasBeenSet = false;
84
85 LineChartSeriesSettings m_settings;
86 bool m_settingsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // 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