AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RedshiftDataShareDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dataexchange/DataExchange_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataExchange {
20namespace Model {
21
29 public:
30 AWS_DATAEXCHANGE_API RedshiftDataShareDetails() = default;
33 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDatabase() const { return m_database; }
60 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
61 template <typename DatabaseT = Aws::String>
62 void SetDatabase(DatabaseT&& value) {
63 m_databaseHasBeenSet = true;
64 m_database = std::forward<DatabaseT>(value);
65 }
66 template <typename DatabaseT = Aws::String>
68 SetDatabase(std::forward<DatabaseT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetFunction() const { return m_function; }
79 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
80 template <typename FunctionT = Aws::String>
81 void SetFunction(FunctionT&& value) {
82 m_functionHasBeenSet = true;
83 m_function = std::forward<FunctionT>(value);
84 }
85 template <typename FunctionT = Aws::String>
87 SetFunction(std::forward<FunctionT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetTable() const { return m_table; }
98 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
99 template <typename TableT = Aws::String>
100 void SetTable(TableT&& value) {
101 m_tableHasBeenSet = true;
102 m_table = std::forward<TableT>(value);
103 }
104 template <typename TableT = Aws::String>
106 SetTable(std::forward<TableT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetSchema() const { return m_schema; }
117 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
118 template <typename SchemaT = Aws::String>
119 void SetSchema(SchemaT&& value) {
120 m_schemaHasBeenSet = true;
121 m_schema = std::forward<SchemaT>(value);
122 }
123 template <typename SchemaT = Aws::String>
125 SetSchema(std::forward<SchemaT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetView() const { return m_view; }
136 inline bool ViewHasBeenSet() const { return m_viewHasBeenSet; }
137 template <typename ViewT = Aws::String>
138 void SetView(ViewT&& value) {
139 m_viewHasBeenSet = true;
140 m_view = std::forward<ViewT>(value);
141 }
142 template <typename ViewT = Aws::String>
144 SetView(std::forward<ViewT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_arn;
150
151 Aws::String m_database;
152
153 Aws::String m_function;
154
155 Aws::String m_table;
156
157 Aws::String m_schema;
158
159 Aws::String m_view;
160 bool m_arnHasBeenSet = false;
161 bool m_databaseHasBeenSet = false;
162 bool m_functionHasBeenSet = false;
163 bool m_tableHasBeenSet = false;
164 bool m_schemaHasBeenSet = false;
165 bool m_viewHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace DataExchange
170} // namespace Aws
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDataShareDetails & WithArn(ArnT &&value)
AWS_DATAEXCHANGE_API RedshiftDataShareDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API RedshiftDataShareDetails()=default
AWS_DATAEXCHANGE_API RedshiftDataShareDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataShareDetails & WithFunction(FunctionT &&value)
RedshiftDataShareDetails & WithTable(TableT &&value)
RedshiftDataShareDetails & WithView(ViewT &&value)
RedshiftDataShareDetails & WithDatabase(DatabaseT &&value)
RedshiftDataShareDetails & WithSchema(SchemaT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue