AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatabaseOutput.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/databrew/model/DatabaseTableOutputOptions.h>
10#include <aws/databrew/model/DatabaseOutputMode.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 GlueDataBrew
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUEDATABREW_API DatabaseOutput();
38 AWS_GLUEDATABREW_API DatabaseOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API DatabaseOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetGlueConnectionName() const{ return m_glueConnectionName; }
49 inline bool GlueConnectionNameHasBeenSet() const { return m_glueConnectionNameHasBeenSet; }
50 inline void SetGlueConnectionName(const Aws::String& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = value; }
51 inline void SetGlueConnectionName(Aws::String&& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = std::move(value); }
52 inline void SetGlueConnectionName(const char* value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName.assign(value); }
53 inline DatabaseOutput& WithGlueConnectionName(const Aws::String& value) { SetGlueConnectionName(value); return *this;}
54 inline DatabaseOutput& WithGlueConnectionName(Aws::String&& value) { SetGlueConnectionName(std::move(value)); return *this;}
55 inline DatabaseOutput& WithGlueConnectionName(const char* value) { SetGlueConnectionName(value); return *this;}
57
59
63 inline const DatabaseTableOutputOptions& GetDatabaseOptions() const{ return m_databaseOptions; }
64 inline bool DatabaseOptionsHasBeenSet() const { return m_databaseOptionsHasBeenSet; }
65 inline void SetDatabaseOptions(const DatabaseTableOutputOptions& value) { m_databaseOptionsHasBeenSet = true; m_databaseOptions = value; }
66 inline void SetDatabaseOptions(DatabaseTableOutputOptions&& value) { m_databaseOptionsHasBeenSet = true; m_databaseOptions = std::move(value); }
68 inline DatabaseOutput& WithDatabaseOptions(DatabaseTableOutputOptions&& value) { SetDatabaseOptions(std::move(value)); return *this;}
70
72
76 inline const DatabaseOutputMode& GetDatabaseOutputMode() const{ return m_databaseOutputMode; }
77 inline bool DatabaseOutputModeHasBeenSet() const { return m_databaseOutputModeHasBeenSet; }
78 inline void SetDatabaseOutputMode(const DatabaseOutputMode& value) { m_databaseOutputModeHasBeenSet = true; m_databaseOutputMode = value; }
79 inline void SetDatabaseOutputMode(DatabaseOutputMode&& value) { m_databaseOutputModeHasBeenSet = true; m_databaseOutputMode = std::move(value); }
81 inline DatabaseOutput& WithDatabaseOutputMode(DatabaseOutputMode&& value) { SetDatabaseOutputMode(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_glueConnectionName;
86 bool m_glueConnectionNameHasBeenSet = false;
87
88 DatabaseTableOutputOptions m_databaseOptions;
89 bool m_databaseOptionsHasBeenSet = false;
90
91 DatabaseOutputMode m_databaseOutputMode;
92 bool m_databaseOutputModeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace GlueDataBrew
97} // namespace Aws
DatabaseOutput & WithGlueConnectionName(const char *value)
void SetGlueConnectionName(const Aws::String &value)
DatabaseOutput & WithDatabaseOutputMode(DatabaseOutputMode &&value)
const DatabaseOutputMode & GetDatabaseOutputMode() const
void SetDatabaseOptions(DatabaseTableOutputOptions &&value)
AWS_GLUEDATABREW_API DatabaseOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API DatabaseOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseOutputMode(const DatabaseOutputMode &value)
void SetGlueConnectionName(Aws::String &&value)
const DatabaseTableOutputOptions & GetDatabaseOptions() const
const Aws::String & GetGlueConnectionName() const
DatabaseOutput & WithGlueConnectionName(const Aws::String &value)
DatabaseOutput & WithDatabaseOptions(const DatabaseTableOutputOptions &value)
void SetDatabaseOptions(const DatabaseTableOutputOptions &value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
DatabaseOutput & WithDatabaseOutputMode(const DatabaseOutputMode &value)
void SetGlueConnectionName(const char *value)
void SetDatabaseOutputMode(DatabaseOutputMode &&value)
DatabaseOutput & WithGlueConnectionName(Aws::String &&value)
DatabaseOutput & WithDatabaseOptions(DatabaseTableOutputOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue