AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelationalTable.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/InputColumn.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API RelationalTable();
38 AWS_QUICKSIGHT_API RelationalTable(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
48 inline bool DataSourceArnHasBeenSet() const { return m_dataSourceArnHasBeenSet; }
49 inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = value; }
50 inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = std::move(value); }
51 inline void SetDataSourceArn(const char* value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn.assign(value); }
52 inline RelationalTable& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
53 inline RelationalTable& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
54 inline RelationalTable& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
56
58
61 inline const Aws::String& GetCatalog() const{ return m_catalog; }
62 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
63 inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
64 inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
65 inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
66 inline RelationalTable& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
67 inline RelationalTable& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
68 inline RelationalTable& WithCatalog(const char* value) { SetCatalog(value); return *this;}
70
72
76 inline const Aws::String& GetSchema() const{ return m_schema; }
77 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
78 inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
79 inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
80 inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
81 inline RelationalTable& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
82 inline RelationalTable& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
83 inline RelationalTable& WithSchema(const char* value) { SetSchema(value); return *this;}
85
87
90 inline const Aws::String& GetName() const{ return m_name; }
91 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
94 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
95 inline RelationalTable& WithName(const Aws::String& value) { SetName(value); return *this;}
96 inline RelationalTable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
97 inline RelationalTable& WithName(const char* value) { SetName(value); return *this;}
99
101
104 inline const Aws::Vector<InputColumn>& GetInputColumns() const{ return m_inputColumns; }
105 inline bool InputColumnsHasBeenSet() const { return m_inputColumnsHasBeenSet; }
106 inline void SetInputColumns(const Aws::Vector<InputColumn>& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = value; }
107 inline void SetInputColumns(Aws::Vector<InputColumn>&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = std::move(value); }
108 inline RelationalTable& WithInputColumns(const Aws::Vector<InputColumn>& value) { SetInputColumns(value); return *this;}
109 inline RelationalTable& WithInputColumns(Aws::Vector<InputColumn>&& value) { SetInputColumns(std::move(value)); return *this;}
110 inline RelationalTable& AddInputColumns(const InputColumn& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(value); return *this; }
111 inline RelationalTable& AddInputColumns(InputColumn&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(std::move(value)); return *this; }
113 private:
114
115 Aws::String m_dataSourceArn;
116 bool m_dataSourceArnHasBeenSet = false;
117
118 Aws::String m_catalog;
119 bool m_catalogHasBeenSet = false;
120
121 Aws::String m_schema;
122 bool m_schemaHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::Vector<InputColumn> m_inputColumns;
128 bool m_inputColumnsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
void SetInputColumns(const Aws::Vector< InputColumn > &value)
void SetDataSourceArn(Aws::String &&value)
RelationalTable & WithCatalog(const Aws::String &value)
RelationalTable & WithSchema(Aws::String &&value)
RelationalTable & WithName(Aws::String &&value)
RelationalTable & WithInputColumns(Aws::Vector< InputColumn > &&value)
RelationalTable & AddInputColumns(InputColumn &&value)
RelationalTable & WithCatalog(const char *value)
const Aws::String & GetSchema() const
RelationalTable & WithInputColumns(const Aws::Vector< InputColumn > &value)
void SetName(const Aws::String &value)
RelationalTable & WithDataSourceArn(const char *value)
AWS_QUICKSIGHT_API RelationalTable & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetDataSourceArn() const
RelationalTable & WithDataSourceArn(const Aws::String &value)
RelationalTable & WithSchema(const Aws::String &value)
AWS_QUICKSIGHT_API RelationalTable(Aws::Utils::Json::JsonView jsonValue)
void SetDataSourceArn(const Aws::String &value)
RelationalTable & AddInputColumns(const InputColumn &value)
void SetSchema(const Aws::String &value)
void SetCatalog(const Aws::String &value)
const Aws::Vector< InputColumn > & GetInputColumns() const
RelationalTable & WithSchema(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalTable & WithDataSourceArn(Aws::String &&value)
RelationalTable & WithName(const char *value)
RelationalTable & WithName(const Aws::String &value)
const Aws::String & GetCatalog() const
RelationalTable & WithCatalog(Aws::String &&value)
void SetInputColumns(Aws::Vector< InputColumn > &&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