AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ColumnSemanticProperty.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AdditionalNotes.h>
9#include <aws/quicksight/model/ColumnDescription.h>
10#include <aws/quicksight/model/ColumnSemanticType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API ColumnSemanticProperty() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const ColumnDescription& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = ColumnDescription>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = ColumnDescription>
48 ColumnSemanticProperty& WithDescription(DescriptionT&& value) {
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
58 inline const AdditionalNotes& GetAdditionalNotes() const { return m_additionalNotes; }
59 inline bool AdditionalNotesHasBeenSet() const { return m_additionalNotesHasBeenSet; }
60 template <typename AdditionalNotesT = AdditionalNotes>
61 void SetAdditionalNotes(AdditionalNotesT&& value) {
62 m_additionalNotesHasBeenSet = true;
63 m_additionalNotes = std::forward<AdditionalNotesT>(value);
64 }
65 template <typename AdditionalNotesT = AdditionalNotes>
66 ColumnSemanticProperty& WithAdditionalNotes(AdditionalNotesT&& value) {
67 SetAdditionalNotes(std::forward<AdditionalNotesT>(value));
68 return *this;
69 }
71
73
76 inline const ColumnSemanticType& GetSemanticType() const { return m_semanticType; }
77 inline bool SemanticTypeHasBeenSet() const { return m_semanticTypeHasBeenSet; }
78 template <typename SemanticTypeT = ColumnSemanticType>
79 void SetSemanticType(SemanticTypeT&& value) {
80 m_semanticTypeHasBeenSet = true;
81 m_semanticType = std::forward<SemanticTypeT>(value);
82 }
83 template <typename SemanticTypeT = ColumnSemanticType>
84 ColumnSemanticProperty& WithSemanticType(SemanticTypeT&& value) {
85 SetSemanticType(std::forward<SemanticTypeT>(value));
86 return *this;
87 }
89 private:
90 ColumnDescription m_description;
91
92 AdditionalNotes m_additionalNotes;
93
94 ColumnSemanticType m_semanticType;
95 bool m_descriptionHasBeenSet = false;
96 bool m_additionalNotesHasBeenSet = false;
97 bool m_semanticTypeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
ColumnSemanticProperty & WithSemanticType(SemanticTypeT &&value)
ColumnSemanticProperty & WithAdditionalNotes(AdditionalNotesT &&value)
AWS_QUICKSIGHT_API ColumnSemanticProperty(Aws::Utils::Json::JsonView jsonValue)
ColumnSemanticProperty & WithDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API ColumnSemanticProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ColumnSemanticProperty()=default
const ColumnSemanticType & GetSemanticType() const
Aws::Utils::Json::JsonValue JsonValue