AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 FieldSeriesItem& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
53 inline FieldSeriesItem& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
54 inline FieldSeriesItem& WithFieldId(const char* value) { SetFieldId(value); return *this;}
56
58
61 inline const AxisBinding& GetAxisBinding() const{ return m_axisBinding; }
62 inline bool AxisBindingHasBeenSet() const { return m_axisBindingHasBeenSet; }
63 inline void SetAxisBinding(const AxisBinding& value) { m_axisBindingHasBeenSet = true; m_axisBinding = value; }
64 inline void SetAxisBinding(AxisBinding&& value) { m_axisBindingHasBeenSet = true; m_axisBinding = std::move(value); }
65 inline FieldSeriesItem& WithAxisBinding(const AxisBinding& value) { SetAxisBinding(value); return *this;}
66 inline FieldSeriesItem& WithAxisBinding(AxisBinding&& value) { SetAxisBinding(std::move(value)); return *this;}
68
70
74 inline const LineChartSeriesSettings& GetSettings() const{ return m_settings; }
75 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
76 inline void SetSettings(const LineChartSeriesSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
77 inline void SetSettings(LineChartSeriesSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
78 inline FieldSeriesItem& WithSettings(const LineChartSeriesSettings& value) { SetSettings(value); return *this;}
79 inline FieldSeriesItem& WithSettings(LineChartSeriesSettings&& value) { SetSettings(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_fieldId;
84 bool m_fieldIdHasBeenSet = false;
85
86 AxisBinding m_axisBinding;
87 bool m_axisBindingHasBeenSet = false;
88
89 LineChartSeriesSettings m_settings;
90 bool m_settingsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
void SetSettings(const LineChartSeriesSettings &value)
FieldSeriesItem & WithFieldId(const char *value)
AWS_QUICKSIGHT_API FieldSeriesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldSeriesItem & WithSettings(LineChartSeriesSettings &&value)
void SetSettings(LineChartSeriesSettings &&value)
FieldSeriesItem & WithFieldId(Aws::String &&value)
const AxisBinding & GetAxisBinding() const
FieldSeriesItem & WithAxisBinding(const AxisBinding &value)
void SetAxisBinding(const AxisBinding &value)
const LineChartSeriesSettings & GetSettings() const
AWS_QUICKSIGHT_API FieldSeriesItem(Aws::Utils::Json::JsonView jsonValue)
FieldSeriesItem & WithAxisBinding(AxisBinding &&value)
const Aws::String & GetFieldId() const
FieldSeriesItem & WithSettings(const LineChartSeriesSettings &value)
FieldSeriesItem & WithFieldId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFieldId(const Aws::String &value)
void SetAxisBinding(AxisBinding &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue