AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ReferenceLineValueLabelConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ReferenceLineValueLabelRelativePosition.h>
9#include <aws/quicksight/model/NumericFormatConfiguration.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
34 {
35 public:
36 AWS_QUICKSIGHT_API ReferenceLineValueLabelConfiguration() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline ReferenceLineValueLabelRelativePosition GetRelativePosition() const { return m_relativePosition; }
49 inline bool RelativePositionHasBeenSet() const { return m_relativePositionHasBeenSet; }
50 inline void SetRelativePosition(ReferenceLineValueLabelRelativePosition value) { m_relativePositionHasBeenSet = true; m_relativePosition = value; }
53
55
58 inline const NumericFormatConfiguration& GetFormatConfiguration() const { return m_formatConfiguration; }
59 inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; }
60 template<typename FormatConfigurationT = NumericFormatConfiguration>
61 void SetFormatConfiguration(FormatConfigurationT&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::forward<FormatConfigurationT>(value); }
62 template<typename FormatConfigurationT = NumericFormatConfiguration>
63 ReferenceLineValueLabelConfiguration& WithFormatConfiguration(FormatConfigurationT&& value) { SetFormatConfiguration(std::forward<FormatConfigurationT>(value)); return *this;}
65 private:
66
68 bool m_relativePositionHasBeenSet = false;
69
70 NumericFormatConfiguration m_formatConfiguration;
71 bool m_formatConfigurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
ReferenceLineValueLabelConfiguration & WithRelativePosition(ReferenceLineValueLabelRelativePosition value)
AWS_QUICKSIGHT_API ReferenceLineValueLabelConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ReferenceLineValueLabelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineValueLabelConfiguration & WithFormatConfiguration(FormatConfigurationT &&value)
void SetRelativePosition(ReferenceLineValueLabelRelativePosition value)
Aws::Utils::Json::JsonValue JsonValue