AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GovernedCatalogSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/S3SourceAdditionalOptions.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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API GovernedCatalogSource();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline GovernedCatalogSource& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline GovernedCatalogSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline GovernedCatalogSource& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDatabase() const{ return m_database; }
61 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
62 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
63 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
64 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
65 inline GovernedCatalogSource& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
66 inline GovernedCatalogSource& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
67 inline GovernedCatalogSource& WithDatabase(const char* value) { SetDatabase(value); return *this;}
69
71
74 inline const Aws::String& GetTable() const{ return m_table; }
75 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
76 inline void SetTable(const Aws::String& value) { m_tableHasBeenSet = true; m_table = value; }
77 inline void SetTable(Aws::String&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
78 inline void SetTable(const char* value) { m_tableHasBeenSet = true; m_table.assign(value); }
79 inline GovernedCatalogSource& WithTable(const Aws::String& value) { SetTable(value); return *this;}
80 inline GovernedCatalogSource& WithTable(Aws::String&& value) { SetTable(std::move(value)); return *this;}
81 inline GovernedCatalogSource& WithTable(const char* value) { SetTable(value); return *this;}
83
85
90 inline const Aws::String& GetPartitionPredicate() const{ return m_partitionPredicate; }
91 inline bool PartitionPredicateHasBeenSet() const { return m_partitionPredicateHasBeenSet; }
92 inline void SetPartitionPredicate(const Aws::String& value) { m_partitionPredicateHasBeenSet = true; m_partitionPredicate = value; }
93 inline void SetPartitionPredicate(Aws::String&& value) { m_partitionPredicateHasBeenSet = true; m_partitionPredicate = std::move(value); }
94 inline void SetPartitionPredicate(const char* value) { m_partitionPredicateHasBeenSet = true; m_partitionPredicate.assign(value); }
96 inline GovernedCatalogSource& WithPartitionPredicate(Aws::String&& value) { SetPartitionPredicate(std::move(value)); return *this;}
97 inline GovernedCatalogSource& WithPartitionPredicate(const char* value) { SetPartitionPredicate(value); return *this;}
99
101
104 inline const S3SourceAdditionalOptions& GetAdditionalOptions() const{ return m_additionalOptions; }
105 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
106 inline void SetAdditionalOptions(const S3SourceAdditionalOptions& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
107 inline void SetAdditionalOptions(S3SourceAdditionalOptions&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_database;
117 bool m_databaseHasBeenSet = false;
118
119 Aws::String m_table;
120 bool m_tableHasBeenSet = false;
121
122 Aws::String m_partitionPredicate;
123 bool m_partitionPredicateHasBeenSet = false;
124
125 S3SourceAdditionalOptions m_additionalOptions;
126 bool m_additionalOptionsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Glue
131} // namespace Aws
AWS_GLUE_API GovernedCatalogSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalOptions(S3SourceAdditionalOptions &&value)
GovernedCatalogSource & WithTable(const char *value)
void SetDatabase(const Aws::String &value)
void SetTable(const Aws::String &value)
GovernedCatalogSource & WithAdditionalOptions(const S3SourceAdditionalOptions &value)
GovernedCatalogSource & WithDatabase(const Aws::String &value)
void SetPartitionPredicate(const Aws::String &value)
GovernedCatalogSource & WithPartitionPredicate(const Aws::String &value)
GovernedCatalogSource & WithTable(const Aws::String &value)
GovernedCatalogSource & WithPartitionPredicate(Aws::String &&value)
const Aws::String & GetPartitionPredicate() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const S3SourceAdditionalOptions & GetAdditionalOptions() const
GovernedCatalogSource & WithName(const Aws::String &value)
GovernedCatalogSource & WithName(const char *value)
AWS_GLUE_API GovernedCatalogSource(Aws::Utils::Json::JsonView jsonValue)
GovernedCatalogSource & WithAdditionalOptions(S3SourceAdditionalOptions &&value)
GovernedCatalogSource & WithPartitionPredicate(const char *value)
void SetAdditionalOptions(const S3SourceAdditionalOptions &value)
GovernedCatalogSource & WithTable(Aws::String &&value)
GovernedCatalogSource & WithDatabase(const char *value)
GovernedCatalogSource & WithDatabase(Aws::String &&value)
GovernedCatalogSource & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue