AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KPISparklineOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/KPISparklineType.h>
10#include <aws/core/utils/memory/stl/AWSString.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 KPISparklineOptions();
38 AWS_QUICKSIGHT_API KPISparklineOptions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Visibility& GetVisibility() const{ return m_visibility; }
48 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
49 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
50 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
51 inline KPISparklineOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
52 inline KPISparklineOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
54
56
59 inline const KPISparklineType& GetType() const{ return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 inline void SetType(const KPISparklineType& value) { m_typeHasBeenSet = true; m_type = value; }
62 inline void SetType(KPISparklineType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
63 inline KPISparklineOptions& WithType(const KPISparklineType& value) { SetType(value); return *this;}
64 inline KPISparklineOptions& WithType(KPISparklineType&& value) { SetType(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetColor() const{ return m_color; }
72 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
73 inline void SetColor(const Aws::String& value) { m_colorHasBeenSet = true; m_color = value; }
74 inline void SetColor(Aws::String&& value) { m_colorHasBeenSet = true; m_color = std::move(value); }
75 inline void SetColor(const char* value) { m_colorHasBeenSet = true; m_color.assign(value); }
76 inline KPISparklineOptions& WithColor(const Aws::String& value) { SetColor(value); return *this;}
77 inline KPISparklineOptions& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;}
78 inline KPISparklineOptions& WithColor(const char* value) { SetColor(value); return *this;}
80
82
85 inline const Visibility& GetTooltipVisibility() const{ return m_tooltipVisibility; }
86 inline bool TooltipVisibilityHasBeenSet() const { return m_tooltipVisibilityHasBeenSet; }
87 inline void SetTooltipVisibility(const Visibility& value) { m_tooltipVisibilityHasBeenSet = true; m_tooltipVisibility = value; }
88 inline void SetTooltipVisibility(Visibility&& value) { m_tooltipVisibilityHasBeenSet = true; m_tooltipVisibility = std::move(value); }
89 inline KPISparklineOptions& WithTooltipVisibility(const Visibility& value) { SetTooltipVisibility(value); return *this;}
90 inline KPISparklineOptions& WithTooltipVisibility(Visibility&& value) { SetTooltipVisibility(std::move(value)); return *this;}
92 private:
93
94 Visibility m_visibility;
95 bool m_visibilityHasBeenSet = false;
96
97 KPISparklineType m_type;
98 bool m_typeHasBeenSet = false;
99
100 Aws::String m_color;
101 bool m_colorHasBeenSet = false;
102
103 Visibility m_tooltipVisibility;
104 bool m_tooltipVisibilityHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace QuickSight
109} // namespace Aws
AWS_QUICKSIGHT_API KPISparklineOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
KPISparklineOptions & WithColor(const char *value)
void SetType(const KPISparklineType &value)
KPISparklineOptions & WithVisibility(const Visibility &value)
KPISparklineOptions & WithType(KPISparklineType &&value)
KPISparklineOptions & WithColor(Aws::String &&value)
KPISparklineOptions & WithType(const KPISparklineType &value)
KPISparklineOptions & WithTooltipVisibility(const Visibility &value)
const KPISparklineType & GetType() const
AWS_QUICKSIGHT_API KPISparklineOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
KPISparklineOptions & WithColor(const Aws::String &value)
KPISparklineOptions & WithVisibility(Visibility &&value)
KPISparklineOptions & WithTooltipVisibility(Visibility &&value)
void SetTooltipVisibility(const Visibility &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue