AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 GovernedCatalogSource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDatabase() const { return m_database; }
59 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
60 template<typename DatabaseT = Aws::String>
61 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
62 template<typename DatabaseT = Aws::String>
63 GovernedCatalogSource& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
65
67
70 inline const Aws::String& GetTable() const { return m_table; }
71 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
72 template<typename TableT = Aws::String>
73 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
74 template<typename TableT = Aws::String>
75 GovernedCatalogSource& WithTable(TableT&& value) { SetTable(std::forward<TableT>(value)); return *this;}
77
79
84 inline const Aws::String& GetPartitionPredicate() const { return m_partitionPredicate; }
85 inline bool PartitionPredicateHasBeenSet() const { return m_partitionPredicateHasBeenSet; }
86 template<typename PartitionPredicateT = Aws::String>
87 void SetPartitionPredicate(PartitionPredicateT&& value) { m_partitionPredicateHasBeenSet = true; m_partitionPredicate = std::forward<PartitionPredicateT>(value); }
88 template<typename PartitionPredicateT = Aws::String>
89 GovernedCatalogSource& WithPartitionPredicate(PartitionPredicateT&& value) { SetPartitionPredicate(std::forward<PartitionPredicateT>(value)); return *this;}
91
93
96 inline const S3SourceAdditionalOptions& GetAdditionalOptions() const { return m_additionalOptions; }
97 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
98 template<typename AdditionalOptionsT = S3SourceAdditionalOptions>
99 void SetAdditionalOptions(AdditionalOptionsT&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::forward<AdditionalOptionsT>(value); }
100 template<typename AdditionalOptionsT = S3SourceAdditionalOptions>
101 GovernedCatalogSource& WithAdditionalOptions(AdditionalOptionsT&& value) { SetAdditionalOptions(std::forward<AdditionalOptionsT>(value)); return *this;}
103 private:
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_database;
109 bool m_databaseHasBeenSet = false;
110
111 Aws::String m_table;
112 bool m_tableHasBeenSet = false;
113
114 Aws::String m_partitionPredicate;
115 bool m_partitionPredicateHasBeenSet = false;
116
117 S3SourceAdditionalOptions m_additionalOptions;
118 bool m_additionalOptionsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
void SetAdditionalOptions(AdditionalOptionsT &&value)
AWS_GLUE_API GovernedCatalogSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API GovernedCatalogSource()=default
GovernedCatalogSource & WithName(NameT &&value)
void SetPartitionPredicate(PartitionPredicateT &&value)
GovernedCatalogSource & WithAdditionalOptions(AdditionalOptionsT &&value)
GovernedCatalogSource & WithDatabase(DatabaseT &&value)
GovernedCatalogSource & WithPartitionPredicate(PartitionPredicateT &&value)
const Aws::String & GetPartitionPredicate() const
GovernedCatalogSource & WithTable(TableT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const S3SourceAdditionalOptions & GetAdditionalOptions() const
AWS_GLUE_API GovernedCatalogSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue