AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataCatalogOutput.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/S3TableOutputOptions.h>
10#include <aws/databrew/model/DatabaseTableOutputOptions.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
36 {
37 public:
38 AWS_GLUEDATABREW_API DataCatalogOutput();
39 AWS_GLUEDATABREW_API DataCatalogOutput(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API DataCatalogOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
50 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
51 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
52 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
53 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
54 inline DataCatalogOutput& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
55 inline DataCatalogOutput& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
56 inline DataCatalogOutput& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
58
60
63 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
64 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
65 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
66 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
67 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
68 inline DataCatalogOutput& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
69 inline DataCatalogOutput& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
70 inline DataCatalogOutput& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
72
74
77 inline const Aws::String& GetTableName() const{ return m_tableName; }
78 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
79 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
80 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
81 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
82 inline DataCatalogOutput& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
83 inline DataCatalogOutput& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
84 inline DataCatalogOutput& WithTableName(const char* value) { SetTableName(value); return *this;}
86
88
92 inline const S3TableOutputOptions& GetS3Options() const{ return m_s3Options; }
93 inline bool S3OptionsHasBeenSet() const { return m_s3OptionsHasBeenSet; }
94 inline void SetS3Options(const S3TableOutputOptions& value) { m_s3OptionsHasBeenSet = true; m_s3Options = value; }
95 inline void SetS3Options(S3TableOutputOptions&& value) { m_s3OptionsHasBeenSet = true; m_s3Options = std::move(value); }
96 inline DataCatalogOutput& WithS3Options(const S3TableOutputOptions& value) { SetS3Options(value); return *this;}
97 inline DataCatalogOutput& WithS3Options(S3TableOutputOptions&& value) { SetS3Options(std::move(value)); return *this;}
99
101
105 inline const DatabaseTableOutputOptions& GetDatabaseOptions() const{ return m_databaseOptions; }
106 inline bool DatabaseOptionsHasBeenSet() const { return m_databaseOptionsHasBeenSet; }
107 inline void SetDatabaseOptions(const DatabaseTableOutputOptions& value) { m_databaseOptionsHasBeenSet = true; m_databaseOptions = value; }
108 inline void SetDatabaseOptions(DatabaseTableOutputOptions&& value) { m_databaseOptionsHasBeenSet = true; m_databaseOptions = std::move(value); }
110 inline DataCatalogOutput& WithDatabaseOptions(DatabaseTableOutputOptions&& value) { SetDatabaseOptions(std::move(value)); return *this;}
112
114
118 inline bool GetOverwrite() const{ return m_overwrite; }
119 inline bool OverwriteHasBeenSet() const { return m_overwriteHasBeenSet; }
120 inline void SetOverwrite(bool value) { m_overwriteHasBeenSet = true; m_overwrite = value; }
121 inline DataCatalogOutput& WithOverwrite(bool value) { SetOverwrite(value); return *this;}
123 private:
124
125 Aws::String m_catalogId;
126 bool m_catalogIdHasBeenSet = false;
127
128 Aws::String m_databaseName;
129 bool m_databaseNameHasBeenSet = false;
130
131 Aws::String m_tableName;
132 bool m_tableNameHasBeenSet = false;
133
134 S3TableOutputOptions m_s3Options;
135 bool m_s3OptionsHasBeenSet = false;
136
137 DatabaseTableOutputOptions m_databaseOptions;
138 bool m_databaseOptionsHasBeenSet = false;
139
140 bool m_overwrite;
141 bool m_overwriteHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace GlueDataBrew
146} // namespace Aws
DataCatalogOutput & WithCatalogId(Aws::String &&value)
DataCatalogOutput & WithOverwrite(bool value)
DataCatalogOutput & WithS3Options(const S3TableOutputOptions &value)
AWS_GLUEDATABREW_API DataCatalogOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
DataCatalogOutput & WithTableName(Aws::String &&value)
AWS_GLUEDATABREW_API DataCatalogOutput(Aws::Utils::Json::JsonView jsonValue)
DataCatalogOutput & WithDatabaseOptions(DatabaseTableOutputOptions &&value)
void SetS3Options(S3TableOutputOptions &&value)
void SetDatabaseOptions(const DatabaseTableOutputOptions &value)
DataCatalogOutput & WithDatabaseName(Aws::String &&value)
void SetTableName(const Aws::String &value)
void SetCatalogId(const Aws::String &value)
DataCatalogOutput & WithTableName(const Aws::String &value)
const DatabaseTableOutputOptions & GetDatabaseOptions() const
DataCatalogOutput & WithDatabaseOptions(const DatabaseTableOutputOptions &value)
DataCatalogOutput & WithS3Options(S3TableOutputOptions &&value)
const S3TableOutputOptions & GetS3Options() const
DataCatalogOutput & WithCatalogId(const char *value)
void SetDatabaseName(const Aws::String &value)
void SetDatabaseOptions(DatabaseTableOutputOptions &&value)
void SetS3Options(const S3TableOutputOptions &value)
DataCatalogOutput & WithDatabaseName(const Aws::String &value)
DataCatalogOutput & WithDatabaseName(const char *value)
DataCatalogOutput & WithCatalogId(const Aws::String &value)
DataCatalogOutput & WithTableName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue