AWS SDK for C++

AWS SDK for C++ Version 1.11.810

Loading...
Searching...
No Matches
SemanticModelConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/DataSetSemanticMetadata.h>
12#include <aws/quicksight/model/SemanticTable.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
33 public:
34 AWS_QUICKSIGHT_API SemanticModelConfiguration() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Map<Aws::String, SemanticTable>& GetTableMap() const { return m_tableMap; }
44 inline bool TableMapHasBeenSet() const { return m_tableMapHasBeenSet; }
45 template <typename TableMapT = Aws::Map<Aws::String, SemanticTable>>
46 void SetTableMap(TableMapT&& value) {
47 m_tableMapHasBeenSet = true;
48 m_tableMap = std::forward<TableMapT>(value);
49 }
50 template <typename TableMapT = Aws::Map<Aws::String, SemanticTable>>
52 SetTableMap(std::forward<TableMapT>(value));
53 return *this;
54 }
55 template <typename TableMapKeyT = Aws::String, typename TableMapValueT = SemanticTable>
56 SemanticModelConfiguration& AddTableMap(TableMapKeyT&& key, TableMapValueT&& value) {
57 m_tableMapHasBeenSet = true;
58 m_tableMap.emplace(std::forward<TableMapKeyT>(key), std::forward<TableMapValueT>(value));
59 return *this;
60 }
62
64
68 inline const Aws::Vector<DataSetSemanticMetadata>& GetSemanticMetadata() const { return m_semanticMetadata; }
69 inline bool SemanticMetadataHasBeenSet() const { return m_semanticMetadataHasBeenSet; }
70 template <typename SemanticMetadataT = Aws::Vector<DataSetSemanticMetadata>>
71 void SetSemanticMetadata(SemanticMetadataT&& value) {
72 m_semanticMetadataHasBeenSet = true;
73 m_semanticMetadata = std::forward<SemanticMetadataT>(value);
74 }
75 template <typename SemanticMetadataT = Aws::Vector<DataSetSemanticMetadata>>
77 SetSemanticMetadata(std::forward<SemanticMetadataT>(value));
78 return *this;
79 }
80 template <typename SemanticMetadataT = DataSetSemanticMetadata>
81 SemanticModelConfiguration& AddSemanticMetadata(SemanticMetadataT&& value) {
82 m_semanticMetadataHasBeenSet = true;
83 m_semanticMetadata.emplace_back(std::forward<SemanticMetadataT>(value));
84 return *this;
85 }
87 private:
89
90 Aws::Vector<DataSetSemanticMetadata> m_semanticMetadata;
91 bool m_tableMapHasBeenSet = false;
92 bool m_semanticMetadataHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
SemanticModelConfiguration & WithTableMap(TableMapT &&value)
const Aws::Map< Aws::String, SemanticTable > & GetTableMap() const
AWS_QUICKSIGHT_API SemanticModelConfiguration()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SemanticModelConfiguration & AddTableMap(TableMapKeyT &&key, TableMapValueT &&value)
SemanticModelConfiguration & AddSemanticMetadata(SemanticMetadataT &&value)
AWS_QUICKSIGHT_API SemanticModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DataSetSemanticMetadata > & GetSemanticMetadata() const
SemanticModelConfiguration & WithSemanticMetadata(SemanticMetadataT &&value)
AWS_QUICKSIGHT_API SemanticModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue