AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GridLayoutElementBackgroundStyle.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/Visibility.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API GridLayoutElementBackgroundStyle() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline Visibility GetVisibility() const { return m_visibility; }
41 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
42 inline void SetVisibility(Visibility value) {
43 m_visibilityHasBeenSet = true;
44 m_visibility = value;
45 }
47 SetVisibility(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetColor() const { return m_color; }
57 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
58 template <typename ColorT = Aws::String>
59 void SetColor(ColorT&& value) {
60 m_colorHasBeenSet = true;
61 m_color = std::forward<ColorT>(value);
62 }
63 template <typename ColorT = Aws::String>
65 SetColor(std::forward<ColorT>(value));
66 return *this;
67 }
69 private:
70 Visibility m_visibility{Visibility::NOT_SET};
71
72 Aws::String m_color;
73 bool m_visibilityHasBeenSet = false;
74 bool m_colorHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
GridLayoutElementBackgroundStyle & WithColor(ColorT &&value)
AWS_QUICKSIGHT_API GridLayoutElementBackgroundStyle(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GridLayoutElementBackgroundStyle()=default
GridLayoutElementBackgroundStyle & WithVisibility(Visibility value)
AWS_QUICKSIGHT_API GridLayoutElementBackgroundStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue