AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
DataBarsOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API DataBarsOptions() = default;
30 AWS_QUICKSIGHT_API DataBarsOptions(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetFieldId() const { return m_fieldId; }
39 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
40 template <typename FieldIdT = Aws::String>
41 void SetFieldId(FieldIdT&& value) {
42 m_fieldIdHasBeenSet = true;
43 m_fieldId = std::forward<FieldIdT>(value);
44 }
45 template <typename FieldIdT = Aws::String>
46 DataBarsOptions& WithFieldId(FieldIdT&& value) {
47 SetFieldId(std::forward<FieldIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPositiveColor() const { return m_positiveColor; }
57 inline bool PositiveColorHasBeenSet() const { return m_positiveColorHasBeenSet; }
58 template <typename PositiveColorT = Aws::String>
59 void SetPositiveColor(PositiveColorT&& value) {
60 m_positiveColorHasBeenSet = true;
61 m_positiveColor = std::forward<PositiveColorT>(value);
62 }
63 template <typename PositiveColorT = Aws::String>
64 DataBarsOptions& WithPositiveColor(PositiveColorT&& value) {
65 SetPositiveColor(std::forward<PositiveColorT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetNegativeColor() const { return m_negativeColor; }
75 inline bool NegativeColorHasBeenSet() const { return m_negativeColorHasBeenSet; }
76 template <typename NegativeColorT = Aws::String>
77 void SetNegativeColor(NegativeColorT&& value) {
78 m_negativeColorHasBeenSet = true;
79 m_negativeColor = std::forward<NegativeColorT>(value);
80 }
81 template <typename NegativeColorT = Aws::String>
82 DataBarsOptions& WithNegativeColor(NegativeColorT&& value) {
83 SetNegativeColor(std::forward<NegativeColorT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_fieldId;
89
90 Aws::String m_positiveColor;
91
92 Aws::String m_negativeColor;
93 bool m_fieldIdHasBeenSet = false;
94 bool m_positiveColorHasBeenSet = false;
95 bool m_negativeColorHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace QuickSight
100} // namespace Aws
const Aws::String & GetFieldId() const
DataBarsOptions & WithNegativeColor(NegativeColorT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNegativeColor() const
void SetPositiveColor(PositiveColorT &&value)
AWS_QUICKSIGHT_API DataBarsOptions()=default
AWS_QUICKSIGHT_API DataBarsOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNegativeColor(NegativeColorT &&value)
const Aws::String & GetPositiveColor() const
DataBarsOptions & WithFieldId(FieldIdT &&value)
DataBarsOptions & WithPositiveColor(PositiveColorT &&value)
AWS_QUICKSIGHT_API DataBarsOptions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue