AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline RedshiftDataShareDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline RedshiftDataShareDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline RedshiftDataShareDetails& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::String& GetDatabase() const{ return m_database; }
62 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
63 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
64 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
65 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
66 inline RedshiftDataShareDetails& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
67 inline RedshiftDataShareDetails& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
68 inline RedshiftDataShareDetails& WithDatabase(const char* value) { SetDatabase(value); return *this;}
70
72
76 inline const Aws::String& GetFunction() const{ return m_function; }
77 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
78 inline void SetFunction(const Aws::String& value) { m_functionHasBeenSet = true; m_function = value; }
79 inline void SetFunction(Aws::String&& value) { m_functionHasBeenSet = true; m_function = std::move(value); }
80 inline void SetFunction(const char* value) { m_functionHasBeenSet = true; m_function.assign(value); }
81 inline RedshiftDataShareDetails& WithFunction(const Aws::String& value) { SetFunction(value); return *this;}
82 inline RedshiftDataShareDetails& WithFunction(Aws::String&& value) { SetFunction(std::move(value)); return *this;}
83 inline RedshiftDataShareDetails& WithFunction(const char* value) { SetFunction(value); return *this;}
85
87
91 inline const Aws::String& GetTable() const{ return m_table; }
92 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
93 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
94 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
95 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
96 inline RedshiftDataShareDetails& WithTable(const Aws::String& value) { SetTable(value); return *this;}
97 inline RedshiftDataShareDetails& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
98 inline RedshiftDataShareDetails& WithTable(const char* value) { SetTable(value); return *this;}
100
102
106 inline const Aws::String& GetSchema() const{ return m_schema; }
107 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
108 inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
109 inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
110 inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
111 inline RedshiftDataShareDetails& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
112 inline RedshiftDataShareDetails& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
113 inline RedshiftDataShareDetails& WithSchema(const char* value) { SetSchema(value); return *this;}
115
117
121 inline const Aws::String& GetView() const{ return m_view; }
122 inline bool ViewHasBeenSet() const { return m_viewHasBeenSet; }
123 inline void SetView(const Aws::String& value) { m_viewHasBeenSet = true; m_view = value; }
124 inline void SetView(Aws::String&& value) { m_viewHasBeenSet = true; m_view = std::move(value); }
125 inline void SetView(const char* value) { m_viewHasBeenSet = true; m_view.assign(value); }
126 inline RedshiftDataShareDetails& WithView(const Aws::String& value) { SetView(value); return *this;}
127 inline RedshiftDataShareDetails& WithView(Aws::String&& value) { SetView(std::move(value)); return *this;}
128 inline RedshiftDataShareDetails& WithView(const char* value) { SetView(value); return *this;}
130 private:
131
132 Aws::String m_arn;
133 bool m_arnHasBeenSet = false;
134
135 Aws::String m_database;
136 bool m_databaseHasBeenSet = false;
137
138 Aws::String m_function;
139 bool m_functionHasBeenSet = false;
140
141 Aws::String m_table;
142 bool m_tableHasBeenSet = false;
143
144 Aws::String m_schema;
145 bool m_schemaHasBeenSet = false;
146
147 Aws::String m_view;
148 bool m_viewHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace DataExchange
153} // namespace Aws
RedshiftDataShareDetails & WithFunction(const char *value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDataShareDetails & WithFunction(const Aws::String &value)
RedshiftDataShareDetails & WithSchema(Aws::String &&value)
RedshiftDataShareDetails & WithTable(Aws::String &&value)
AWS_DATAEXCHANGE_API RedshiftDataShareDetails(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataShareDetails & WithFunction(Aws::String &&value)
RedshiftDataShareDetails & WithDatabase(Aws::String &&value)
RedshiftDataShareDetails & WithArn(Aws::String &&value)
RedshiftDataShareDetails & WithTable(const Aws::String &value)
RedshiftDataShareDetails & WithSchema(const char *value)
RedshiftDataShareDetails & WithArn(const Aws::String &value)
RedshiftDataShareDetails & WithView(Aws::String &&value)
RedshiftDataShareDetails & WithView(const Aws::String &value)
AWS_DATAEXCHANGE_API RedshiftDataShareDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataShareDetails & WithSchema(const Aws::String &value)
RedshiftDataShareDetails & WithTable(const char *value)
RedshiftDataShareDetails & WithView(const char *value)
RedshiftDataShareDetails & WithDatabase(const Aws::String &value)
RedshiftDataShareDetails & WithArn(const char *value)
RedshiftDataShareDetails & WithDatabase(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue