AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
DataSetSemanticMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/CustomInstruction.h>
10#include <aws/quicksight/model/DataSetSemanticDescription.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
31 public:
32 AWS_QUICKSIGHT_API DataSetSemanticMetadata() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const DataSetSemanticDescription& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template <typename DescriptionT = DataSetSemanticDescription>
44 void SetDescription(DescriptionT&& value) {
45 m_descriptionHasBeenSet = true;
46 m_description = std::forward<DescriptionT>(value);
47 }
48 template <typename DescriptionT = DataSetSemanticDescription>
50 SetDescription(std::forward<DescriptionT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<CustomInstruction>& GetCustomInstructions() const { return m_customInstructions; }
61 inline bool CustomInstructionsHasBeenSet() const { return m_customInstructionsHasBeenSet; }
62 template <typename CustomInstructionsT = Aws::Vector<CustomInstruction>>
63 void SetCustomInstructions(CustomInstructionsT&& value) {
64 m_customInstructionsHasBeenSet = true;
65 m_customInstructions = std::forward<CustomInstructionsT>(value);
66 }
67 template <typename CustomInstructionsT = Aws::Vector<CustomInstruction>>
68 DataSetSemanticMetadata& WithCustomInstructions(CustomInstructionsT&& value) {
69 SetCustomInstructions(std::forward<CustomInstructionsT>(value));
70 return *this;
71 }
72 template <typename CustomInstructionsT = CustomInstruction>
73 DataSetSemanticMetadata& AddCustomInstructions(CustomInstructionsT&& value) {
74 m_customInstructionsHasBeenSet = true;
75 m_customInstructions.emplace_back(std::forward<CustomInstructionsT>(value));
76 return *this;
77 }
79 private:
80 DataSetSemanticDescription m_description;
81
82 Aws::Vector<CustomInstruction> m_customInstructions;
83 bool m_descriptionHasBeenSet = false;
84 bool m_customInstructionsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
const Aws::Vector< CustomInstruction > & GetCustomInstructions() const
AWS_QUICKSIGHT_API DataSetSemanticMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetCustomInstructions(CustomInstructionsT &&value)
DataSetSemanticMetadata & AddCustomInstructions(CustomInstructionsT &&value)
const DataSetSemanticDescription & GetDescription() const
DataSetSemanticMetadata & WithDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API DataSetSemanticMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataSetSemanticMetadata()=default
DataSetSemanticMetadata & WithCustomInstructions(CustomInstructionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue