AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferenceLineLabelConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ReferenceLineValueLabelConfiguration.h>
9#include <aws/quicksight/model/ReferenceLineCustomLabelConfiguration.h>
10#include <aws/quicksight/model/FontConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/quicksight/model/ReferenceLineLabelHorizontalPosition.h>
13#include <aws/quicksight/model/ReferenceLineLabelVerticalPosition.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_QUICKSIGHT_API ReferenceLineLabelConfiguration();
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ReferenceLineValueLabelConfiguration& GetValueLabelConfiguration() const{ return m_valueLabelConfiguration; }
50 inline bool ValueLabelConfigurationHasBeenSet() const { return m_valueLabelConfigurationHasBeenSet; }
51 inline void SetValueLabelConfiguration(const ReferenceLineValueLabelConfiguration& value) { m_valueLabelConfigurationHasBeenSet = true; m_valueLabelConfiguration = value; }
52 inline void SetValueLabelConfiguration(ReferenceLineValueLabelConfiguration&& value) { m_valueLabelConfigurationHasBeenSet = true; m_valueLabelConfiguration = std::move(value); }
56
58
61 inline const ReferenceLineCustomLabelConfiguration& GetCustomLabelConfiguration() const{ return m_customLabelConfiguration; }
62 inline bool CustomLabelConfigurationHasBeenSet() const { return m_customLabelConfigurationHasBeenSet; }
63 inline void SetCustomLabelConfiguration(const ReferenceLineCustomLabelConfiguration& value) { m_customLabelConfigurationHasBeenSet = true; m_customLabelConfiguration = value; }
64 inline void SetCustomLabelConfiguration(ReferenceLineCustomLabelConfiguration&& value) { m_customLabelConfigurationHasBeenSet = true; m_customLabelConfiguration = std::move(value); }
68
70
73 inline const FontConfiguration& GetFontConfiguration() const{ return m_fontConfiguration; }
74 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
75 inline void SetFontConfiguration(const FontConfiguration& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = value; }
76 inline void SetFontConfiguration(FontConfiguration&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::move(value); }
80
82
85 inline const Aws::String& GetFontColor() const{ return m_fontColor; }
86 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
87 inline void SetFontColor(const Aws::String& value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
88 inline void SetFontColor(Aws::String&& value) { m_fontColorHasBeenSet = true; m_fontColor = std::move(value); }
89 inline void SetFontColor(const char* value) { m_fontColorHasBeenSet = true; m_fontColor.assign(value); }
90 inline ReferenceLineLabelConfiguration& WithFontColor(const Aws::String& value) { SetFontColor(value); return *this;}
91 inline ReferenceLineLabelConfiguration& WithFontColor(Aws::String&& value) { SetFontColor(std::move(value)); return *this;}
92 inline ReferenceLineLabelConfiguration& WithFontColor(const char* value) { SetFontColor(value); return *this;}
94
96
102 inline const ReferenceLineLabelHorizontalPosition& GetHorizontalPosition() const{ return m_horizontalPosition; }
103 inline bool HorizontalPositionHasBeenSet() const { return m_horizontalPositionHasBeenSet; }
104 inline void SetHorizontalPosition(const ReferenceLineLabelHorizontalPosition& value) { m_horizontalPositionHasBeenSet = true; m_horizontalPosition = value; }
105 inline void SetHorizontalPosition(ReferenceLineLabelHorizontalPosition&& value) { m_horizontalPositionHasBeenSet = true; m_horizontalPosition = std::move(value); }
109
111
116 inline const ReferenceLineLabelVerticalPosition& GetVerticalPosition() const{ return m_verticalPosition; }
117 inline bool VerticalPositionHasBeenSet() const { return m_verticalPositionHasBeenSet; }
118 inline void SetVerticalPosition(const ReferenceLineLabelVerticalPosition& value) { m_verticalPositionHasBeenSet = true; m_verticalPosition = value; }
119 inline void SetVerticalPosition(ReferenceLineLabelVerticalPosition&& value) { m_verticalPositionHasBeenSet = true; m_verticalPosition = std::move(value); }
123 private:
124
125 ReferenceLineValueLabelConfiguration m_valueLabelConfiguration;
126 bool m_valueLabelConfigurationHasBeenSet = false;
127
128 ReferenceLineCustomLabelConfiguration m_customLabelConfiguration;
129 bool m_customLabelConfigurationHasBeenSet = false;
130
131 FontConfiguration m_fontConfiguration;
132 bool m_fontConfigurationHasBeenSet = false;
133
134 Aws::String m_fontColor;
135 bool m_fontColorHasBeenSet = false;
136
137 ReferenceLineLabelHorizontalPosition m_horizontalPosition;
138 bool m_horizontalPositionHasBeenSet = false;
139
140 ReferenceLineLabelVerticalPosition m_verticalPosition;
141 bool m_verticalPositionHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace QuickSight
146} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValueLabelConfiguration(ReferenceLineValueLabelConfiguration &&value)
AWS_QUICKSIGHT_API ReferenceLineLabelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVerticalPosition(ReferenceLineLabelVerticalPosition &&value)
ReferenceLineLabelConfiguration & WithFontColor(const Aws::String &value)
ReferenceLineLabelConfiguration & WithHorizontalPosition(const ReferenceLineLabelHorizontalPosition &value)
ReferenceLineLabelConfiguration & WithCustomLabelConfiguration(const ReferenceLineCustomLabelConfiguration &value)
void SetValueLabelConfiguration(const ReferenceLineValueLabelConfiguration &value)
void SetCustomLabelConfiguration(const ReferenceLineCustomLabelConfiguration &value)
void SetHorizontalPosition(const ReferenceLineLabelHorizontalPosition &value)
ReferenceLineLabelConfiguration & WithValueLabelConfiguration(const ReferenceLineValueLabelConfiguration &value)
const ReferenceLineValueLabelConfiguration & GetValueLabelConfiguration() const
const ReferenceLineLabelHorizontalPosition & GetHorizontalPosition() const
ReferenceLineLabelConfiguration & WithVerticalPosition(const ReferenceLineLabelVerticalPosition &value)
void SetVerticalPosition(const ReferenceLineLabelVerticalPosition &value)
ReferenceLineLabelConfiguration & WithFontColor(Aws::String &&value)
ReferenceLineLabelConfiguration & WithHorizontalPosition(ReferenceLineLabelHorizontalPosition &&value)
ReferenceLineLabelConfiguration & WithCustomLabelConfiguration(ReferenceLineCustomLabelConfiguration &&value)
AWS_QUICKSIGHT_API ReferenceLineLabelConfiguration(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineLabelConfiguration & WithVerticalPosition(ReferenceLineLabelVerticalPosition &&value)
ReferenceLineLabelConfiguration & WithFontConfiguration(FontConfiguration &&value)
const ReferenceLineCustomLabelConfiguration & GetCustomLabelConfiguration() const
const ReferenceLineLabelVerticalPosition & GetVerticalPosition() const
void SetCustomLabelConfiguration(ReferenceLineCustomLabelConfiguration &&value)
ReferenceLineLabelConfiguration & WithValueLabelConfiguration(ReferenceLineValueLabelConfiguration &&value)
void SetHorizontalPosition(ReferenceLineLabelHorizontalPosition &&value)
ReferenceLineLabelConfiguration & WithFontConfiguration(const FontConfiguration &value)
ReferenceLineLabelConfiguration & WithFontColor(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue