AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlueDataCatalogConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_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 Appflow
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_APPFLOW_API GlueDataCatalogConfig();
42 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
54 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
55 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
56 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
57 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
58 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
59 inline GlueDataCatalogConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
60 inline GlueDataCatalogConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
61 inline GlueDataCatalogConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
63
65
72 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
73 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
74 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
75 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
76 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
77 inline GlueDataCatalogConfig& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
78 inline GlueDataCatalogConfig& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
79 inline GlueDataCatalogConfig& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
81
83
88 inline const Aws::String& GetTablePrefix() const{ return m_tablePrefix; }
89 inline bool TablePrefixHasBeenSet() const { return m_tablePrefixHasBeenSet; }
90 inline void SetTablePrefix(const Aws::String& value) { m_tablePrefixHasBeenSet = true; m_tablePrefix = value; }
91 inline void SetTablePrefix(Aws::String&& value) { m_tablePrefixHasBeenSet = true; m_tablePrefix = std::move(value); }
92 inline void SetTablePrefix(const char* value) { m_tablePrefixHasBeenSet = true; m_tablePrefix.assign(value); }
93 inline GlueDataCatalogConfig& WithTablePrefix(const Aws::String& value) { SetTablePrefix(value); return *this;}
94 inline GlueDataCatalogConfig& WithTablePrefix(Aws::String&& value) { SetTablePrefix(std::move(value)); return *this;}
95 inline GlueDataCatalogConfig& WithTablePrefix(const char* value) { SetTablePrefix(value); return *this;}
97 private:
98
99 Aws::String m_roleArn;
100 bool m_roleArnHasBeenSet = false;
101
102 Aws::String m_databaseName;
103 bool m_databaseNameHasBeenSet = false;
104
105 Aws::String m_tablePrefix;
106 bool m_tablePrefixHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Appflow
111} // namespace Aws
GlueDataCatalogConfig & WithTablePrefix(const char *value)
AWS_APPFLOW_API GlueDataCatalogConfig(Aws::Utils::Json::JsonView jsonValue)
GlueDataCatalogConfig & WithRoleArn(const Aws::String &value)
AWS_APPFLOW_API GlueDataCatalogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
GlueDataCatalogConfig & WithTablePrefix(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
GlueDataCatalogConfig & WithRoleArn(Aws::String &&value)
GlueDataCatalogConfig & WithDatabaseName(const Aws::String &value)
GlueDataCatalogConfig & WithTablePrefix(const Aws::String &value)
void SetTablePrefix(const Aws::String &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
GlueDataCatalogConfig & WithDatabaseName(const char *value)
GlueDataCatalogConfig & WithDatabaseName(Aws::String &&value)
GlueDataCatalogConfig & WithRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue