AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 TableFieldOption& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
52 inline TableFieldOption& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
53 inline TableFieldOption& WithFieldId(const char* value) { SetFieldId(value); return *this;}
55
57
60 inline const Aws::String& GetWidth() const{ return m_width; }
61 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
62 inline void SetWidth(const Aws::String& value) { m_widthHasBeenSet = true; m_width = value; }
63 inline void SetWidth(Aws::String&& value) { m_widthHasBeenSet = true; m_width = std::move(value); }
64 inline void SetWidth(const char* value) { m_widthHasBeenSet = true; m_width.assign(value); }
65 inline TableFieldOption& WithWidth(const Aws::String& value) { SetWidth(value); return *this;}
66 inline TableFieldOption& WithWidth(Aws::String&& value) { SetWidth(std::move(value)); return *this;}
67 inline TableFieldOption& WithWidth(const char* value) { SetWidth(value); return *this;}
69
71
74 inline const Aws::String& GetCustomLabel() const{ return m_customLabel; }
75 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
76 inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; }
77 inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); }
78 inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); }
79 inline TableFieldOption& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;}
80 inline TableFieldOption& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;}
81 inline TableFieldOption& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;}
83
85
88 inline const Visibility& GetVisibility() const{ return m_visibility; }
89 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
90 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
91 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
92 inline TableFieldOption& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
93 inline TableFieldOption& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
95
97
100 inline const TableFieldURLConfiguration& GetURLStyling() const{ return m_uRLStyling; }
101 inline bool URLStylingHasBeenSet() const { return m_uRLStylingHasBeenSet; }
102 inline void SetURLStyling(const TableFieldURLConfiguration& value) { m_uRLStylingHasBeenSet = true; m_uRLStyling = value; }
103 inline void SetURLStyling(TableFieldURLConfiguration&& value) { m_uRLStylingHasBeenSet = true; m_uRLStyling = std::move(value); }
104 inline TableFieldOption& WithURLStyling(const TableFieldURLConfiguration& value) { SetURLStyling(value); return *this;}
105 inline TableFieldOption& WithURLStyling(TableFieldURLConfiguration&& value) { SetURLStyling(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_fieldId;
110 bool m_fieldIdHasBeenSet = false;
111
112 Aws::String m_width;
113 bool m_widthHasBeenSet = false;
114
115 Aws::String m_customLabel;
116 bool m_customLabelHasBeenSet = false;
117
118 Visibility m_visibility;
119 bool m_visibilityHasBeenSet = false;
120
121 TableFieldURLConfiguration m_uRLStyling;
122 bool m_uRLStylingHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
const TableFieldURLConfiguration & GetURLStyling() const
TableFieldOption & WithURLStyling(const TableFieldURLConfiguration &value)
TableFieldOption & WithWidth(const char *value)
TableFieldOption & WithCustomLabel(Aws::String &&value)
TableFieldOption & WithWidth(const Aws::String &value)
const Aws::String & GetCustomLabel() const
void SetWidth(const Aws::String &value)
TableFieldOption & WithVisibility(const Visibility &value)
TableFieldOption & WithVisibility(Visibility &&value)
void SetURLStyling(TableFieldURLConfiguration &&value)
TableFieldOption & WithFieldId(const char *value)
TableFieldOption & WithCustomLabel(const Aws::String &value)
TableFieldOption & WithFieldId(Aws::String &&value)
TableFieldOption & WithFieldId(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Visibility & GetVisibility() const
void SetURLStyling(const TableFieldURLConfiguration &value)
void SetVisibility(const Visibility &value)
AWS_QUICKSIGHT_API TableFieldOption(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFieldId() const
void SetCustomLabel(const Aws::String &value)
void SetFieldId(const Aws::String &value)
AWS_QUICKSIGHT_API TableFieldOption & operator=(Aws::Utils::Json::JsonView jsonValue)
TableFieldOption & WithURLStyling(TableFieldURLConfiguration &&value)
TableFieldOption & WithCustomLabel(const char *value)
TableFieldOption & WithWidth(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue