AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
47 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
48 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
49 inline DataBarsOptions& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
50 inline DataBarsOptions& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
51 inline DataBarsOptions& WithFieldId(const char* value) { SetFieldId(value); return *this;}
53
55
58 inline const Aws::String& GetPositiveColor() const{ return m_positiveColor; }
59 inline bool PositiveColorHasBeenSet() const { return m_positiveColorHasBeenSet; }
60 inline void SetPositiveColor(const Aws::String& value) { m_positiveColorHasBeenSet = true; m_positiveColor = value; }
61 inline void SetPositiveColor(Aws::String&& value) { m_positiveColorHasBeenSet = true; m_positiveColor = std::move(value); }
62 inline void SetPositiveColor(const char* value) { m_positiveColorHasBeenSet = true; m_positiveColor.assign(value); }
63 inline DataBarsOptions& WithPositiveColor(const Aws::String& value) { SetPositiveColor(value); return *this;}
64 inline DataBarsOptions& WithPositiveColor(Aws::String&& value) { SetPositiveColor(std::move(value)); return *this;}
65 inline DataBarsOptions& WithPositiveColor(const char* value) { SetPositiveColor(value); return *this;}
67
69
72 inline const Aws::String& GetNegativeColor() const{ return m_negativeColor; }
73 inline bool NegativeColorHasBeenSet() const { return m_negativeColorHasBeenSet; }
74 inline void SetNegativeColor(const Aws::String& value) { m_negativeColorHasBeenSet = true; m_negativeColor = value; }
75 inline void SetNegativeColor(Aws::String&& value) { m_negativeColorHasBeenSet = true; m_negativeColor = std::move(value); }
76 inline void SetNegativeColor(const char* value) { m_negativeColorHasBeenSet = true; m_negativeColor.assign(value); }
77 inline DataBarsOptions& WithNegativeColor(const Aws::String& value) { SetNegativeColor(value); return *this;}
78 inline DataBarsOptions& WithNegativeColor(Aws::String&& value) { SetNegativeColor(std::move(value)); return *this;}
79 inline DataBarsOptions& WithNegativeColor(const char* value) { SetNegativeColor(value); return *this;}
81 private:
82
83 Aws::String m_fieldId;
84 bool m_fieldIdHasBeenSet = false;
85
86 Aws::String m_positiveColor;
87 bool m_positiveColorHasBeenSet = false;
88
89 Aws::String m_negativeColor;
90 bool m_negativeColorHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
DataBarsOptions & WithNegativeColor(const char *value)
const Aws::String & GetFieldId() const
void SetPositiveColor(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNegativeColor(Aws::String &&value)
DataBarsOptions & WithNegativeColor(Aws::String &&value)
DataBarsOptions & WithNegativeColor(const Aws::String &value)
DataBarsOptions & WithFieldId(const Aws::String &value)
const Aws::String & GetNegativeColor() const
DataBarsOptions & WithPositiveColor(Aws::String &&value)
void SetPositiveColor(const Aws::String &value)
AWS_QUICKSIGHT_API DataBarsOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNegativeColor(const Aws::String &value)
const Aws::String & GetPositiveColor() const
void SetFieldId(const Aws::String &value)
DataBarsOptions & WithFieldId(Aws::String &&value)
DataBarsOptions & WithPositiveColor(const char *value)
DataBarsOptions & WithPositiveColor(const Aws::String &value)
DataBarsOptions & WithFieldId(const char *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