AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableFieldOption.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 <aws/quicksight/model/TableFieldURLConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API TableFieldOption() = default;
37 AWS_QUICKSIGHT_API TableFieldOption(Aws::Utils::Json::JsonView jsonValue);
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 TableFieldOption& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetWidth() const { return m_width; }
59 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
60 template<typename WidthT = Aws::String>
61 void SetWidth(WidthT&& value) { m_widthHasBeenSet = true; m_width = std::forward<WidthT>(value); }
62 template<typename WidthT = Aws::String>
63 TableFieldOption& WithWidth(WidthT&& value) { SetWidth(std::forward<WidthT>(value)); return *this;}
65
67
70 inline const Aws::String& GetCustomLabel() const { return m_customLabel; }
71 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
72 template<typename CustomLabelT = Aws::String>
73 void SetCustomLabel(CustomLabelT&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::forward<CustomLabelT>(value); }
74 template<typename CustomLabelT = Aws::String>
75 TableFieldOption& WithCustomLabel(CustomLabelT&& value) { SetCustomLabel(std::forward<CustomLabelT>(value)); return *this;}
77
79
82 inline Visibility GetVisibility() const { return m_visibility; }
83 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
84 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
85 inline TableFieldOption& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
87
89
92 inline const TableFieldURLConfiguration& GetURLStyling() const { return m_uRLStyling; }
93 inline bool URLStylingHasBeenSet() const { return m_uRLStylingHasBeenSet; }
94 template<typename URLStylingT = TableFieldURLConfiguration>
95 void SetURLStyling(URLStylingT&& value) { m_uRLStylingHasBeenSet = true; m_uRLStyling = std::forward<URLStylingT>(value); }
96 template<typename URLStylingT = TableFieldURLConfiguration>
97 TableFieldOption& WithURLStyling(URLStylingT&& value) { SetURLStyling(std::forward<URLStylingT>(value)); return *this;}
99 private:
100
101 Aws::String m_fieldId;
102 bool m_fieldIdHasBeenSet = false;
103
104 Aws::String m_width;
105 bool m_widthHasBeenSet = false;
106
107 Aws::String m_customLabel;
108 bool m_customLabelHasBeenSet = false;
109
110 Visibility m_visibility{Visibility::NOT_SET};
111 bool m_visibilityHasBeenSet = false;
112
113 TableFieldURLConfiguration m_uRLStyling;
114 bool m_uRLStylingHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
const TableFieldURLConfiguration & GetURLStyling() const
void SetCustomLabel(CustomLabelT &&value)
const Aws::String & GetCustomLabel() const
AWS_QUICKSIGHT_API TableFieldOption()=default
TableFieldOption & WithFieldId(FieldIdT &&value)
TableFieldOption & WithCustomLabel(CustomLabelT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableFieldOption & WithURLStyling(URLStylingT &&value)
AWS_QUICKSIGHT_API TableFieldOption(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFieldId() const
TableFieldOption & WithVisibility(Visibility value)
AWS_QUICKSIGHT_API TableFieldOption & operator=(Aws::Utils::Json::JsonView jsonValue)
TableFieldOption & WithWidth(WidthT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue