AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
50 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
51 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
52 inline DataFieldSeriesItem& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
53 inline DataFieldSeriesItem& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
54 inline DataFieldSeriesItem& WithFieldId(const char* value) { SetFieldId(value); return *this;}
56
58
61 inline const Aws::String& GetFieldValue() const{ return m_fieldValue; }
62 inline bool FieldValueHasBeenSet() const { return m_fieldValueHasBeenSet; }
63 inline void SetFieldValue(const Aws::String& value) { m_fieldValueHasBeenSet = true; m_fieldValue = value; }
64 inline void SetFieldValue(Aws::String&& value) { m_fieldValueHasBeenSet = true; m_fieldValue = std::move(value); }
65 inline void SetFieldValue(const char* value) { m_fieldValueHasBeenSet = true; m_fieldValue.assign(value); }
66 inline DataFieldSeriesItem& WithFieldValue(const Aws::String& value) { SetFieldValue(value); return *this;}
67 inline DataFieldSeriesItem& WithFieldValue(Aws::String&& value) { SetFieldValue(std::move(value)); return *this;}
68 inline DataFieldSeriesItem& WithFieldValue(const char* value) { SetFieldValue(value); return *this;}
70
72
75 inline const AxisBinding& GetAxisBinding() const{ return m_axisBinding; }
76 inline bool AxisBindingHasBeenSet() const { return m_axisBindingHasBeenSet; }
77 inline void SetAxisBinding(const AxisBinding& value) { m_axisBindingHasBeenSet = true; m_axisBinding = value; }
78 inline void SetAxisBinding(AxisBinding&& value) { m_axisBindingHasBeenSet = true; m_axisBinding = std::move(value); }
79 inline DataFieldSeriesItem& WithAxisBinding(const AxisBinding& value) { SetAxisBinding(value); return *this;}
80 inline DataFieldSeriesItem& WithAxisBinding(AxisBinding&& value) { SetAxisBinding(std::move(value)); return *this;}
82
84
88 inline const LineChartSeriesSettings& GetSettings() const{ return m_settings; }
89 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
90 inline void SetSettings(const LineChartSeriesSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
91 inline void SetSettings(LineChartSeriesSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
92 inline DataFieldSeriesItem& WithSettings(const LineChartSeriesSettings& value) { SetSettings(value); return *this;}
93 inline DataFieldSeriesItem& WithSettings(LineChartSeriesSettings&& value) { SetSettings(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_fieldId;
98 bool m_fieldIdHasBeenSet = false;
99
100 Aws::String m_fieldValue;
101 bool m_fieldValueHasBeenSet = false;
102
103 AxisBinding m_axisBinding;
104 bool m_axisBindingHasBeenSet = false;
105
106 LineChartSeriesSettings m_settings;
107 bool m_settingsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
AWS_QUICKSIGHT_API DataFieldSeriesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAxisBinding(const AxisBinding &value)
void SetSettings(LineChartSeriesSettings &&value)
const LineChartSeriesSettings & GetSettings() const
DataFieldSeriesItem & WithFieldId(Aws::String &&value)
DataFieldSeriesItem & WithFieldId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DataFieldSeriesItem(Aws::Utils::Json::JsonView jsonValue)
DataFieldSeriesItem & WithSettings(LineChartSeriesSettings &&value)
DataFieldSeriesItem & WithSettings(const LineChartSeriesSettings &value)
void SetFieldValue(const Aws::String &value)
void SetSettings(const LineChartSeriesSettings &value)
DataFieldSeriesItem & WithFieldValue(const Aws::String &value)
DataFieldSeriesItem & WithFieldValue(Aws::String &&value)
DataFieldSeriesItem & WithAxisBinding(AxisBinding &&value)
DataFieldSeriesItem & WithFieldId(const char *value)
DataFieldSeriesItem & WithAxisBinding(const AxisBinding &value)
DataFieldSeriesItem & WithFieldValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue