AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DataBarsOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QUICKSIGHT_API DataBarsOptions() = default;
35 AWS_QUICKSIGHT_API DataBarsOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFieldId() const { return m_fieldId; }
45 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
46 template<typename FieldIdT = Aws::String>
47 void SetFieldId(FieldIdT&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::forward<FieldIdT>(value); }
48 template<typename FieldIdT = Aws::String>
49 DataBarsOptions& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
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) { m_positiveColorHasBeenSet = true; m_positiveColor = std::forward<PositiveColorT>(value); }
60 template<typename PositiveColorT = Aws::String>
61 DataBarsOptions& WithPositiveColor(PositiveColorT&& value) { SetPositiveColor(std::forward<PositiveColorT>(value)); return *this;}
63
65
68 inline const Aws::String& GetNegativeColor() const { return m_negativeColor; }
69 inline bool NegativeColorHasBeenSet() const { return m_negativeColorHasBeenSet; }
70 template<typename NegativeColorT = Aws::String>
71 void SetNegativeColor(NegativeColorT&& value) { m_negativeColorHasBeenSet = true; m_negativeColor = std::forward<NegativeColorT>(value); }
72 template<typename NegativeColorT = Aws::String>
73 DataBarsOptions& WithNegativeColor(NegativeColorT&& value) { SetNegativeColor(std::forward<NegativeColorT>(value)); return *this;}
75 private:
76
77 Aws::String m_fieldId;
78 bool m_fieldIdHasBeenSet = false;
79
80 Aws::String m_positiveColor;
81 bool m_positiveColorHasBeenSet = false;
82
83 Aws::String m_negativeColor;
84 bool m_negativeColorHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // 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