AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
PivotTableRowsLabelOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/Visibility.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
31 public:
32 AWS_QUICKSIGHT_API PivotTableRowsLabelOptions() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline Visibility GetVisibility() const { return m_visibility; }
42 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
43 inline void SetVisibility(Visibility value) {
44 m_visibilityHasBeenSet = true;
45 m_visibility = value;
46 }
48 SetVisibility(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetCustomLabel() const { return m_customLabel; }
58 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
59 template <typename CustomLabelT = Aws::String>
60 void SetCustomLabel(CustomLabelT&& value) {
61 m_customLabelHasBeenSet = true;
62 m_customLabel = std::forward<CustomLabelT>(value);
63 }
64 template <typename CustomLabelT = Aws::String>
66 SetCustomLabel(std::forward<CustomLabelT>(value));
67 return *this;
68 }
70 private:
71 Visibility m_visibility{Visibility::NOT_SET};
72
73 Aws::String m_customLabel;
74 bool m_visibilityHasBeenSet = false;
75 bool m_customLabelHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
AWS_QUICKSIGHT_API PivotTableRowsLabelOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API PivotTableRowsLabelOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API PivotTableRowsLabelOptions()=default
PivotTableRowsLabelOptions & WithCustomLabel(CustomLabelT &&value)
PivotTableRowsLabelOptions & WithVisibility(Visibility value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue