AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/SemanticTable.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 SemanticModelConfiguration() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Map<Aws::String, SemanticTable>& GetTableMap() const { return m_tableMap; }
42 inline bool TableMapHasBeenSet() const { return m_tableMapHasBeenSet; }
43 template <typename TableMapT = Aws::Map<Aws::String, SemanticTable>>
44 void SetTableMap(TableMapT&& value) {
45 m_tableMapHasBeenSet = true;
46 m_tableMap = std::forward<TableMapT>(value);
47 }
48 template <typename TableMapT = Aws::Map<Aws::String, SemanticTable>>
50 SetTableMap(std::forward<TableMapT>(value));
51 return *this;
52 }
53 template <typename TableMapKeyT = Aws::String, typename TableMapValueT = SemanticTable>
54 SemanticModelConfiguration& AddTableMap(TableMapKeyT&& key, TableMapValueT&& value) {
55 m_tableMapHasBeenSet = true;
56 m_tableMap.emplace(std::forward<TableMapKeyT>(key), std::forward<TableMapValueT>(value));
57 return *this;
58 }
60 private:
62 bool m_tableMapHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace QuickSight
67} // 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)
AWS_QUICKSIGHT_API SemanticModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue