AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
49 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
50 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
51 inline PivotTableFieldOption& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
52 inline PivotTableFieldOption& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
53 inline PivotTableFieldOption& WithFieldId(const char* value) { SetFieldId(value); return *this;}
55
57
60 inline const Aws::String& GetCustomLabel() const{ return m_customLabel; }
61 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
62 inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; }
63 inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); }
64 inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); }
65 inline PivotTableFieldOption& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;}
66 inline PivotTableFieldOption& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;}
67 inline PivotTableFieldOption& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;}
69
71
74 inline const Visibility& GetVisibility() const{ return m_visibility; }
75 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
76 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
77 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
78 inline PivotTableFieldOption& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
79 inline PivotTableFieldOption& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_fieldId;
84 bool m_fieldIdHasBeenSet = false;
85
86 Aws::String m_customLabel;
87 bool m_customLabelHasBeenSet = false;
88
89 Visibility m_visibility;
90 bool m_visibilityHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
PivotTableFieldOption & WithVisibility(Visibility &&value)
PivotTableFieldOption & WithCustomLabel(const Aws::String &value)
PivotTableFieldOption & WithFieldId(Aws::String &&value)
AWS_QUICKSIGHT_API PivotTableFieldOption(Aws::Utils::Json::JsonView jsonValue)
PivotTableFieldOption & WithCustomLabel(Aws::String &&value)
AWS_QUICKSIGHT_API PivotTableFieldOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableFieldOption & WithFieldId(const char *value)
PivotTableFieldOption & WithFieldId(const Aws::String &value)
PivotTableFieldOption & WithCustomLabel(const char *value)
PivotTableFieldOption & WithVisibility(const Visibility &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue