AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ReferenceLineValueLabelConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NumericFormatConfiguration.h>
9#include <aws/quicksight/model/ReferenceLineValueLabelRelativePosition.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
30 public:
31 AWS_QUICKSIGHT_API ReferenceLineValueLabelConfiguration() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline ReferenceLineValueLabelRelativePosition GetRelativePosition() const { return m_relativePosition; }
43 inline bool RelativePositionHasBeenSet() const { return m_relativePositionHasBeenSet; }
45 m_relativePositionHasBeenSet = true;
46 m_relativePosition = value;
47 }
50 return *this;
51 }
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) {
62 m_formatConfigurationHasBeenSet = true;
63 m_formatConfiguration = std::forward<FormatConfigurationT>(value);
64 }
65 template <typename FormatConfigurationT = NumericFormatConfiguration>
67 SetFormatConfiguration(std::forward<FormatConfigurationT>(value));
68 return *this;
69 }
71 private:
73
74 NumericFormatConfiguration m_formatConfiguration;
75 bool m_relativePositionHasBeenSet = false;
76 bool m_formatConfigurationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // 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