AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RedshiftDataShareDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataExchange
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATAEXCHANGE_API RedshiftDataShareDetails() = default;
38 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 RedshiftDataShareDetails& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
63 template<typename DatabaseT = Aws::String>
64 RedshiftDataShareDetails& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
66
68
72 inline const Aws::String& GetFunction() const { return m_function; }
73 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
74 template<typename FunctionT = Aws::String>
75 void SetFunction(FunctionT&& value) { m_functionHasBeenSet = true; m_function = std::forward<FunctionT>(value); }
76 template<typename FunctionT = Aws::String>
77 RedshiftDataShareDetails& WithFunction(FunctionT&& value) { SetFunction(std::forward<FunctionT>(value)); return *this;}
79
81
85 inline const Aws::String& GetTable() const { return m_table; }
86 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
87 template<typename TableT = Aws::String>
88 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
89 template<typename TableT = Aws::String>
90 RedshiftDataShareDetails& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
92
94
98 inline const Aws::String& GetSchema() const { return m_schema; }
99 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
100 template<typename SchemaT = Aws::String>
101 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
102 template<typename SchemaT = Aws::String>
103 RedshiftDataShareDetails& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
105
107
111 inline const Aws::String& GetView() const { return m_view; }
112 inline bool ViewHasBeenSet() const { return m_viewHasBeenSet; }
113 template<typename ViewT = Aws::String>
114 void SetView(ViewT&& value) { m_viewHasBeenSet = true; m_view = std::forward<ViewT>(value); }
115 template<typename ViewT = Aws::String>
116 RedshiftDataShareDetails& WithView(ViewT&& value) { SetView(std::forward<ViewT>(value)); return *this;}
118 private:
119
120 Aws::String m_arn;
121 bool m_arnHasBeenSet = false;
122
123 Aws::String m_database;
124 bool m_databaseHasBeenSet = false;
125
126 Aws::String m_function;
127 bool m_functionHasBeenSet = false;
128
129 Aws::String m_table;
130 bool m_tableHasBeenSet = false;
131
132 Aws::String m_schema;
133 bool m_schemaHasBeenSet = false;
134
135 Aws::String m_view;
136 bool m_viewHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace DataExchange
141} // 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