AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
FieldBarSeriesItem.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/BarChartSeriesSettings.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API FieldBarSeriesItem() = default;
32 AWS_QUICKSIGHT_API FieldBarSeriesItem(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFieldId() const { return m_fieldId; }
41 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
42 template <typename FieldIdT = Aws::String>
43 void SetFieldId(FieldIdT&& value) {
44 m_fieldIdHasBeenSet = true;
45 m_fieldId = std::forward<FieldIdT>(value);
46 }
47 template <typename FieldIdT = Aws::String>
48 FieldBarSeriesItem& WithFieldId(FieldIdT&& value) {
49 SetFieldId(std::forward<FieldIdT>(value));
50 return *this;
51 }
53
55
59 inline const BarChartSeriesSettings& GetSettings() const { return m_settings; }
60 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
61 template <typename SettingsT = BarChartSeriesSettings>
62 void SetSettings(SettingsT&& value) {
63 m_settingsHasBeenSet = true;
64 m_settings = std::forward<SettingsT>(value);
65 }
66 template <typename SettingsT = BarChartSeriesSettings>
67 FieldBarSeriesItem& WithSettings(SettingsT&& value) {
68 SetSettings(std::forward<SettingsT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_fieldId;
74
75 BarChartSeriesSettings m_settings;
76 bool m_fieldIdHasBeenSet = false;
77 bool m_settingsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
FieldBarSeriesItem & WithSettings(SettingsT &&value)
const BarChartSeriesSettings & GetSettings() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API FieldBarSeriesItem()=default
AWS_QUICKSIGHT_API FieldBarSeriesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API FieldBarSeriesItem(Aws::Utils::Json::JsonView jsonValue)
FieldBarSeriesItem & WithFieldId(FieldIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue