AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
SheetBackgroundStyle.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 SheetBackgroundStyle() = default;
30 AWS_QUICKSIGHT_API SheetBackgroundStyle(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetColor() const { return m_color; }
39 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
40 template <typename ColorT = Aws::String>
41 void SetColor(ColorT&& value) {
42 m_colorHasBeenSet = true;
43 m_color = std::forward<ColorT>(value);
44 }
45 template <typename ColorT = Aws::String>
47 SetColor(std::forward<ColorT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetGradient() const { return m_gradient; }
57 inline bool GradientHasBeenSet() const { return m_gradientHasBeenSet; }
58 template <typename GradientT = Aws::String>
59 void SetGradient(GradientT&& value) {
60 m_gradientHasBeenSet = true;
61 m_gradient = std::forward<GradientT>(value);
62 }
63 template <typename GradientT = Aws::String>
64 SheetBackgroundStyle& WithGradient(GradientT&& value) {
65 SetGradient(std::forward<GradientT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_color;
71
72 Aws::String m_gradient;
73 bool m_colorHasBeenSet = false;
74 bool m_gradientHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
AWS_QUICKSIGHT_API SheetBackgroundStyle()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SheetBackgroundStyle & WithColor(ColorT &&value)
AWS_QUICKSIGHT_API SheetBackgroundStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
SheetBackgroundStyle & WithGradient(GradientT &&value)
AWS_QUICKSIGHT_API SheetBackgroundStyle(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue