AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LogicalTable.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/LogicalTableSource.h>
11#include <aws/quicksight/model/TransformOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_QUICKSIGHT_API LogicalTable() = default;
42 AWS_QUICKSIGHT_API LogicalTable(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API LogicalTable& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetAlias() const { return m_alias; }
52 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
53 template<typename AliasT = Aws::String>
54 void SetAlias(AliasT&& value) { m_aliasHasBeenSet = true; m_alias = std::forward<AliasT>(value); }
55 template<typename AliasT = Aws::String>
56 LogicalTable& WithAlias(AliasT&& value) { SetAlias(std::forward<AliasT>(value)); return *this;}
58
60
64 inline const Aws::Vector<TransformOperation>& GetDataTransforms() const { return m_dataTransforms; }
65 inline bool DataTransformsHasBeenSet() const { return m_dataTransformsHasBeenSet; }
66 template<typename DataTransformsT = Aws::Vector<TransformOperation>>
67 void SetDataTransforms(DataTransformsT&& value) { m_dataTransformsHasBeenSet = true; m_dataTransforms = std::forward<DataTransformsT>(value); }
68 template<typename DataTransformsT = Aws::Vector<TransformOperation>>
69 LogicalTable& WithDataTransforms(DataTransformsT&& value) { SetDataTransforms(std::forward<DataTransformsT>(value)); return *this;}
70 template<typename DataTransformsT = TransformOperation>
71 LogicalTable& AddDataTransforms(DataTransformsT&& value) { m_dataTransformsHasBeenSet = true; m_dataTransforms.emplace_back(std::forward<DataTransformsT>(value)); return *this; }
73
75
78 inline const LogicalTableSource& GetSource() const { return m_source; }
79 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
80 template<typename SourceT = LogicalTableSource>
81 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
82 template<typename SourceT = LogicalTableSource>
83 LogicalTable& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
85 private:
86
87 Aws::String m_alias;
88 bool m_aliasHasBeenSet = false;
89
90 Aws::Vector<TransformOperation> m_dataTransforms;
91 bool m_dataTransformsHasBeenSet = false;
92
93 LogicalTableSource m_source;
94 bool m_sourceHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace QuickSight
99} // namespace Aws
void SetDataTransforms(DataTransformsT &&value)
LogicalTable & WithAlias(AliasT &&value)
AWS_QUICKSIGHT_API LogicalTable()=default
const Aws::String & GetAlias() const
AWS_QUICKSIGHT_API LogicalTable(Aws::Utils::Json::JsonView jsonValue)
LogicalTable & WithDataTransforms(DataTransformsT &&value)
const LogicalTableSource & GetSource() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
LogicalTable & WithSource(SourceT &&value)
AWS_QUICKSIGHT_API LogicalTable & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TransformOperation > & GetDataTransforms() const
LogicalTable & AddDataTransforms(DataTransformsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue