AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const ReferenceLinePatternType& GetPattern() const{ return m_pattern; }
48 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
49 inline void SetPattern(const ReferenceLinePatternType& value) { m_patternHasBeenSet = true; m_pattern = value; }
50 inline void SetPattern(ReferenceLinePatternType&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
52 inline ReferenceLineStyleConfiguration& WithPattern(ReferenceLinePatternType&& value) { SetPattern(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetColor() const{ return m_color; }
60 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
61 inline void SetColor(const Aws::String& value) { m_colorHasBeenSet = true; m_color = value; }
62 inline void SetColor(Aws::String&& value) { m_colorHasBeenSet = true; m_color = std::move(value); }
63 inline void SetColor(const char* value) { m_colorHasBeenSet = true; m_color.assign(value); }
64 inline ReferenceLineStyleConfiguration& WithColor(const Aws::String& value) { SetColor(value); return *this;}
65 inline ReferenceLineStyleConfiguration& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;}
66 inline ReferenceLineStyleConfiguration& WithColor(const char* value) { SetColor(value); return *this;}
68 private:
69
71 bool m_patternHasBeenSet = false;
72
73 Aws::String m_color;
74 bool m_colorHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
ReferenceLineStyleConfiguration & WithPattern(const ReferenceLinePatternType &value)
ReferenceLineStyleConfiguration & WithPattern(ReferenceLinePatternType &&value)
AWS_QUICKSIGHT_API ReferenceLineStyleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineStyleConfiguration & WithColor(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ReferenceLineStyleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineStyleConfiguration & WithColor(Aws::String &&value)
ReferenceLineStyleConfiguration & WithColor(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue