AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatabaseInputDefinition.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/S3Location.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GlueDataBrew
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUEDATABREW_API DatabaseInputDefinition();
37 AWS_GLUEDATABREW_API DatabaseInputDefinition(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetGlueConnectionName() const{ return m_glueConnectionName; }
48 inline bool GlueConnectionNameHasBeenSet() const { return m_glueConnectionNameHasBeenSet; }
49 inline void SetGlueConnectionName(const Aws::String& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = value; }
50 inline void SetGlueConnectionName(Aws::String&& value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName = std::move(value); }
51 inline void SetGlueConnectionName(const char* value) { m_glueConnectionNameHasBeenSet = true; m_glueConnectionName.assign(value); }
53 inline DatabaseInputDefinition& WithGlueConnectionName(Aws::String&& value) { SetGlueConnectionName(std::move(value)); return *this;}
54 inline DatabaseInputDefinition& WithGlueConnectionName(const char* value) { SetGlueConnectionName(value); return *this;}
56
58
61 inline const Aws::String& GetDatabaseTableName() const{ return m_databaseTableName; }
62 inline bool DatabaseTableNameHasBeenSet() const { return m_databaseTableNameHasBeenSet; }
63 inline void SetDatabaseTableName(const Aws::String& value) { m_databaseTableNameHasBeenSet = true; m_databaseTableName = value; }
64 inline void SetDatabaseTableName(Aws::String&& value) { m_databaseTableNameHasBeenSet = true; m_databaseTableName = std::move(value); }
65 inline void SetDatabaseTableName(const char* value) { m_databaseTableNameHasBeenSet = true; m_databaseTableName.assign(value); }
67 inline DatabaseInputDefinition& WithDatabaseTableName(Aws::String&& value) { SetDatabaseTableName(std::move(value)); return *this;}
68 inline DatabaseInputDefinition& WithDatabaseTableName(const char* value) { SetDatabaseTableName(value); return *this;}
70
72
73 inline const S3Location& GetTempDirectory() const{ return m_tempDirectory; }
74 inline bool TempDirectoryHasBeenSet() const { return m_tempDirectoryHasBeenSet; }
75 inline void SetTempDirectory(const S3Location& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = value; }
76 inline void SetTempDirectory(S3Location&& value) { m_tempDirectoryHasBeenSet = true; m_tempDirectory = std::move(value); }
77 inline DatabaseInputDefinition& WithTempDirectory(const S3Location& value) { SetTempDirectory(value); return *this;}
78 inline DatabaseInputDefinition& WithTempDirectory(S3Location&& value) { SetTempDirectory(std::move(value)); return *this;}
80
82
86 inline const Aws::String& GetQueryString() const{ return m_queryString; }
87 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
88 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
89 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
90 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
91 inline DatabaseInputDefinition& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
92 inline DatabaseInputDefinition& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
93 inline DatabaseInputDefinition& WithQueryString(const char* value) { SetQueryString(value); return *this;}
95 private:
96
97 Aws::String m_glueConnectionName;
98 bool m_glueConnectionNameHasBeenSet = false;
99
100 Aws::String m_databaseTableName;
101 bool m_databaseTableNameHasBeenSet = false;
102
103 S3Location m_tempDirectory;
104 bool m_tempDirectoryHasBeenSet = false;
105
106 Aws::String m_queryString;
107 bool m_queryStringHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace GlueDataBrew
112} // namespace Aws
DatabaseInputDefinition & WithQueryString(Aws::String &&value)
AWS_GLUEDATABREW_API DatabaseInputDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
DatabaseInputDefinition & WithDatabaseTableName(const Aws::String &value)
DatabaseInputDefinition & WithGlueConnectionName(const Aws::String &value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API DatabaseInputDefinition(Aws::Utils::Json::JsonView jsonValue)
DatabaseInputDefinition & WithDatabaseTableName(const char *value)
DatabaseInputDefinition & WithGlueConnectionName(const char *value)
DatabaseInputDefinition & WithQueryString(const char *value)
DatabaseInputDefinition & WithTempDirectory(const S3Location &value)
DatabaseInputDefinition & WithTempDirectory(S3Location &&value)
DatabaseInputDefinition & WithGlueConnectionName(Aws::String &&value)
DatabaseInputDefinition & WithDatabaseTableName(Aws::String &&value)
DatabaseInputDefinition & WithQueryString(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue