AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
DataPrepConfiguration.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/DestinationTable.h>
11#include <aws/quicksight/model/SourceTable.h>
12#include <aws/quicksight/model/TransformStep.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
34 public:
35 AWS_QUICKSIGHT_API DataPrepConfiguration() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Map<Aws::String, SourceTable>& GetSourceTableMap() const { return m_sourceTableMap; }
45 inline bool SourceTableMapHasBeenSet() const { return m_sourceTableMapHasBeenSet; }
46 template <typename SourceTableMapT = Aws::Map<Aws::String, SourceTable>>
47 void SetSourceTableMap(SourceTableMapT&& value) {
48 m_sourceTableMapHasBeenSet = true;
49 m_sourceTableMap = std::forward<SourceTableMapT>(value);
50 }
51 template <typename SourceTableMapT = Aws::Map<Aws::String, SourceTable>>
52 DataPrepConfiguration& WithSourceTableMap(SourceTableMapT&& value) {
53 SetSourceTableMap(std::forward<SourceTableMapT>(value));
54 return *this;
55 }
56 template <typename SourceTableMapKeyT = Aws::String, typename SourceTableMapValueT = SourceTable>
57 DataPrepConfiguration& AddSourceTableMap(SourceTableMapKeyT&& key, SourceTableMapValueT&& value) {
58 m_sourceTableMapHasBeenSet = true;
59 m_sourceTableMap.emplace(std::forward<SourceTableMapKeyT>(key), std::forward<SourceTableMapValueT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Map<Aws::String, TransformStep>& GetTransformStepMap() const { return m_transformStepMap; }
69 inline bool TransformStepMapHasBeenSet() const { return m_transformStepMapHasBeenSet; }
70 template <typename TransformStepMapT = Aws::Map<Aws::String, TransformStep>>
71 void SetTransformStepMap(TransformStepMapT&& value) {
72 m_transformStepMapHasBeenSet = true;
73 m_transformStepMap = std::forward<TransformStepMapT>(value);
74 }
75 template <typename TransformStepMapT = Aws::Map<Aws::String, TransformStep>>
76 DataPrepConfiguration& WithTransformStepMap(TransformStepMapT&& value) {
77 SetTransformStepMap(std::forward<TransformStepMapT>(value));
78 return *this;
79 }
80 template <typename TransformStepMapKeyT = Aws::String, typename TransformStepMapValueT = TransformStep>
81 DataPrepConfiguration& AddTransformStepMap(TransformStepMapKeyT&& key, TransformStepMapValueT&& value) {
82 m_transformStepMapHasBeenSet = true;
83 m_transformStepMap.emplace(std::forward<TransformStepMapKeyT>(key), std::forward<TransformStepMapValueT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Map<Aws::String, DestinationTable>& GetDestinationTableMap() const { return m_destinationTableMap; }
93 inline bool DestinationTableMapHasBeenSet() const { return m_destinationTableMapHasBeenSet; }
94 template <typename DestinationTableMapT = Aws::Map<Aws::String, DestinationTable>>
95 void SetDestinationTableMap(DestinationTableMapT&& value) {
96 m_destinationTableMapHasBeenSet = true;
97 m_destinationTableMap = std::forward<DestinationTableMapT>(value);
98 }
99 template <typename DestinationTableMapT = Aws::Map<Aws::String, DestinationTable>>
100 DataPrepConfiguration& WithDestinationTableMap(DestinationTableMapT&& value) {
101 SetDestinationTableMap(std::forward<DestinationTableMapT>(value));
102 return *this;
103 }
104 template <typename DestinationTableMapKeyT = Aws::String, typename DestinationTableMapValueT = DestinationTable>
105 DataPrepConfiguration& AddDestinationTableMap(DestinationTableMapKeyT&& key, DestinationTableMapValueT&& value) {
106 m_destinationTableMapHasBeenSet = true;
107 m_destinationTableMap.emplace(std::forward<DestinationTableMapKeyT>(key), std::forward<DestinationTableMapValueT>(value));
108 return *this;
109 }
111 private:
112 Aws::Map<Aws::String, SourceTable> m_sourceTableMap;
113
114 Aws::Map<Aws::String, TransformStep> m_transformStepMap;
115
116 Aws::Map<Aws::String, DestinationTable> m_destinationTableMap;
117 bool m_sourceTableMapHasBeenSet = false;
118 bool m_transformStepMapHasBeenSet = false;
119 bool m_destinationTableMapHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace QuickSight
124} // namespace Aws
DataPrepConfiguration & WithDestinationTableMap(DestinationTableMapT &&value)
DataPrepConfiguration & AddSourceTableMap(SourceTableMapKeyT &&key, SourceTableMapValueT &&value)
void SetDestinationTableMap(DestinationTableMapT &&value)
AWS_QUICKSIGHT_API DataPrepConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, TransformStep > & GetTransformStepMap() const
DataPrepConfiguration & AddTransformStepMap(TransformStepMapKeyT &&key, TransformStepMapValueT &&value)
void SetTransformStepMap(TransformStepMapT &&value)
DataPrepConfiguration & WithSourceTableMap(SourceTableMapT &&value)
const Aws::Map< Aws::String, SourceTable > & GetSourceTableMap() const
const Aws::Map< Aws::String, DestinationTable > & GetDestinationTableMap() const
AWS_QUICKSIGHT_API DataPrepConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataPrepConfiguration()=default
DataPrepConfiguration & AddDestinationTableMap(DestinationTableMapKeyT &&key, DestinationTableMapValueT &&value)
DataPrepConfiguration & WithTransformStepMap(TransformStepMapT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue