AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ReferenceLineStyleConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ReferenceLinePatternType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API ReferenceLineStyleConfiguration() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline ReferenceLinePatternType GetPattern() const { return m_pattern; }
48 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
49 inline void SetPattern(ReferenceLinePatternType value) { m_patternHasBeenSet = true; m_pattern = value; }
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) { m_colorHasBeenSet = true; m_color = std::forward<ColorT>(value); }
61 template<typename ColorT = Aws::String>
62 ReferenceLineStyleConfiguration& WithColor(ColorT&& value) { SetColor(std::forward<ColorT>(value)); return *this;}
64 private:
65
67 bool m_patternHasBeenSet = false;
68
69 Aws::String m_color;
70 bool m_colorHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QuickSight
75} // 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