AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ReferenceLineStyleConfiguration.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/ReferenceLinePatternType.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
29 public:
30 AWS_QUICKSIGHT_API ReferenceLineStyleConfiguration() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline ReferenceLinePatternType GetPattern() const { return m_pattern; }
42 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
44 m_patternHasBeenSet = true;
45 m_pattern = value;
46 }
48 SetPattern(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetColor() const { return m_color; }
58 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
59 template <typename ColorT = Aws::String>
60 void SetColor(ColorT&& value) {
61 m_colorHasBeenSet = true;
62 m_color = std::forward<ColorT>(value);
63 }
64 template <typename ColorT = Aws::String>
66 SetColor(std::forward<ColorT>(value));
67 return *this;
68 }
70 private:
72
73 Aws::String m_color;
74 bool m_patternHasBeenSet = false;
75 bool m_colorHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
AWS_QUICKSIGHT_API ReferenceLineStyleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineStyleConfiguration & WithPattern(ReferenceLinePatternType value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ReferenceLineStyleConfiguration()=default
AWS_QUICKSIGHT_API ReferenceLineStyleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineStyleConfiguration & WithColor(ColorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue