AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
54 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
55 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
56 inline LogicalTable& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
57 inline LogicalTable& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
58 inline LogicalTable& WithAlias(const char* value) { SetAlias(value); return *this;}
60
62
66 inline const Aws::Vector<TransformOperation>& GetDataTransforms() const{ return m_dataTransforms; }
67 inline bool DataTransformsHasBeenSet() const { return m_dataTransformsHasBeenSet; }
68 inline void SetDataTransforms(const Aws::Vector<TransformOperation>& value) { m_dataTransformsHasBeenSet = true; m_dataTransforms = value; }
69 inline void SetDataTransforms(Aws::Vector<TransformOperation>&& value) { m_dataTransformsHasBeenSet = true; m_dataTransforms = std::move(value); }
71 inline LogicalTable& WithDataTransforms(Aws::Vector<TransformOperation>&& value) { SetDataTransforms(std::move(value)); return *this;}
72 inline LogicalTable& AddDataTransforms(const TransformOperation& value) { m_dataTransformsHasBeenSet = true; m_dataTransforms.push_back(value); return *this; }
73 inline LogicalTable& AddDataTransforms(TransformOperation&& value) { m_dataTransformsHasBeenSet = true; m_dataTransforms.push_back(std::move(value)); return *this; }
75
77
80 inline const LogicalTableSource& GetSource() const{ return m_source; }
81 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
82 inline void SetSource(const LogicalTableSource& value) { m_sourceHasBeenSet = true; m_source = value; }
83 inline void SetSource(LogicalTableSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
84 inline LogicalTable& WithSource(const LogicalTableSource& value) { SetSource(value); return *this;}
85 inline LogicalTable& WithSource(LogicalTableSource&& value) { SetSource(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_alias;
90 bool m_aliasHasBeenSet = false;
91
92 Aws::Vector<TransformOperation> m_dataTransforms;
93 bool m_dataTransformsHasBeenSet = false;
94
95 LogicalTableSource m_source;
96 bool m_sourceHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
void SetSource(const LogicalTableSource &value)
LogicalTable & WithDataTransforms(Aws::Vector< TransformOperation > &&value)
LogicalTable & WithSource(LogicalTableSource &&value)
void SetAlias(const Aws::String &value)
void SetSource(LogicalTableSource &&value)
const Aws::String & GetAlias() const
void SetAlias(const char *value)
LogicalTable & WithAlias(const Aws::String &value)
LogicalTable & AddDataTransforms(const TransformOperation &value)
AWS_QUICKSIGHT_API LogicalTable(Aws::Utils::Json::JsonView jsonValue)
void SetDataTransforms(Aws::Vector< TransformOperation > &&value)
LogicalTable & WithAlias(Aws::String &&value)
LogicalTable & WithSource(const LogicalTableSource &value)
void SetDataTransforms(const Aws::Vector< TransformOperation > &value)
LogicalTable & WithAlias(const char *value)
LogicalTable & WithDataTransforms(const Aws::Vector< TransformOperation > &value)
void SetAlias(Aws::String &&value)
const LogicalTableSource & GetSource() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API LogicalTable & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TransformOperation > & GetDataTransforms() const
LogicalTable & AddDataTransforms(TransformOperation &&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