AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PivotTableFieldOption.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/Visibility.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 PivotTableFieldOption() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldId() const { return m_fieldId; }
47 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
48 template<typename FieldIdT = Aws::String>
49 void SetFieldId(FieldIdT&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::forward<FieldIdT>(value); }
50 template<typename FieldIdT = Aws::String>
51 PivotTableFieldOption& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCustomLabel() const { return m_customLabel; }
59 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
60 template<typename CustomLabelT = Aws::String>
61 void SetCustomLabel(CustomLabelT&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::forward<CustomLabelT>(value); }
62 template<typename CustomLabelT = Aws::String>
63 PivotTableFieldOption& WithCustomLabel(CustomLabelT&& value) { SetCustomLabel(std::forward<CustomLabelT>(value)); return *this;}
65
67
70 inline Visibility GetVisibility() const { return m_visibility; }
71 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
72 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
73 inline PivotTableFieldOption& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
75 private:
76
77 Aws::String m_fieldId;
78 bool m_fieldIdHasBeenSet = false;
79
80 Aws::String m_customLabel;
81 bool m_customLabelHasBeenSet = false;
82
83 Visibility m_visibility{Visibility::NOT_SET};
84 bool m_visibilityHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
PivotTableFieldOption & WithFieldId(FieldIdT &&value)
PivotTableFieldOption & WithCustomLabel(CustomLabelT &&value)
AWS_QUICKSIGHT_API PivotTableFieldOption(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API PivotTableFieldOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableFieldOption & WithVisibility(Visibility value)
AWS_QUICKSIGHT_API PivotTableFieldOption()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue