AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataLakeAccessPropertiesOutput.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API DataLakeAccessPropertiesOutput() = default;
39
40
42
46 inline bool GetDataLakeAccess() const { return m_dataLakeAccess; }
47 inline bool DataLakeAccessHasBeenSet() const { return m_dataLakeAccessHasBeenSet; }
48 inline void SetDataLakeAccess(bool value) { m_dataLakeAccessHasBeenSet = true; m_dataLakeAccess = value; }
49 inline DataLakeAccessPropertiesOutput& WithDataLakeAccess(bool value) { SetDataLakeAccess(value); return *this;}
51
53
57 inline const Aws::String& GetDataTransferRole() const { return m_dataTransferRole; }
58 inline bool DataTransferRoleHasBeenSet() const { return m_dataTransferRoleHasBeenSet; }
59 template<typename DataTransferRoleT = Aws::String>
60 void SetDataTransferRole(DataTransferRoleT&& value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole = std::forward<DataTransferRoleT>(value); }
61 template<typename DataTransferRoleT = Aws::String>
62 DataLakeAccessPropertiesOutput& WithDataTransferRole(DataTransferRoleT&& value) { SetDataTransferRole(std::forward<DataTransferRoleT>(value)); return *this;}
64
66
70 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
71 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
72 template<typename KmsKeyT = Aws::String>
73 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::forward<KmsKeyT>(value); }
74 template<typename KmsKeyT = Aws::String>
75 DataLakeAccessPropertiesOutput& WithKmsKey(KmsKeyT&& value) { SetKmsKey(std::forward<KmsKeyT>(value)); return *this;}
77
79
83 inline const Aws::String& GetManagedWorkgroupName() const { return m_managedWorkgroupName; }
84 inline bool ManagedWorkgroupNameHasBeenSet() const { return m_managedWorkgroupNameHasBeenSet; }
85 template<typename ManagedWorkgroupNameT = Aws::String>
86 void SetManagedWorkgroupName(ManagedWorkgroupNameT&& value) { m_managedWorkgroupNameHasBeenSet = true; m_managedWorkgroupName = std::forward<ManagedWorkgroupNameT>(value); }
87 template<typename ManagedWorkgroupNameT = Aws::String>
88 DataLakeAccessPropertiesOutput& WithManagedWorkgroupName(ManagedWorkgroupNameT&& value) { SetManagedWorkgroupName(std::forward<ManagedWorkgroupNameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetManagedWorkgroupStatus() const { return m_managedWorkgroupStatus; }
96 inline bool ManagedWorkgroupStatusHasBeenSet() const { return m_managedWorkgroupStatusHasBeenSet; }
97 template<typename ManagedWorkgroupStatusT = Aws::String>
98 void SetManagedWorkgroupStatus(ManagedWorkgroupStatusT&& value) { m_managedWorkgroupStatusHasBeenSet = true; m_managedWorkgroupStatus = std::forward<ManagedWorkgroupStatusT>(value); }
99 template<typename ManagedWorkgroupStatusT = Aws::String>
100 DataLakeAccessPropertiesOutput& WithManagedWorkgroupStatus(ManagedWorkgroupStatusT&& value) { SetManagedWorkgroupStatus(std::forward<ManagedWorkgroupStatusT>(value)); return *this;}
102
104
107 inline const Aws::String& GetRedshiftDatabaseName() const { return m_redshiftDatabaseName; }
108 inline bool RedshiftDatabaseNameHasBeenSet() const { return m_redshiftDatabaseNameHasBeenSet; }
109 template<typename RedshiftDatabaseNameT = Aws::String>
110 void SetRedshiftDatabaseName(RedshiftDatabaseNameT&& value) { m_redshiftDatabaseNameHasBeenSet = true; m_redshiftDatabaseName = std::forward<RedshiftDatabaseNameT>(value); }
111 template<typename RedshiftDatabaseNameT = Aws::String>
112 DataLakeAccessPropertiesOutput& WithRedshiftDatabaseName(RedshiftDatabaseNameT&& value) { SetRedshiftDatabaseName(std::forward<RedshiftDatabaseNameT>(value)); return *this;}
114
116
120 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
121 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
122 template<typename StatusMessageT = Aws::String>
123 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
124 template<typename StatusMessageT = Aws::String>
125 DataLakeAccessPropertiesOutput& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
127
129
133 inline const Aws::String& GetCatalogType() const { return m_catalogType; }
134 inline bool CatalogTypeHasBeenSet() const { return m_catalogTypeHasBeenSet; }
135 template<typename CatalogTypeT = Aws::String>
136 void SetCatalogType(CatalogTypeT&& value) { m_catalogTypeHasBeenSet = true; m_catalogType = std::forward<CatalogTypeT>(value); }
137 template<typename CatalogTypeT = Aws::String>
138 DataLakeAccessPropertiesOutput& WithCatalogType(CatalogTypeT&& value) { SetCatalogType(std::forward<CatalogTypeT>(value)); return *this;}
140 private:
141
142 bool m_dataLakeAccess{false};
143 bool m_dataLakeAccessHasBeenSet = false;
144
145 Aws::String m_dataTransferRole;
146 bool m_dataTransferRoleHasBeenSet = false;
147
148 Aws::String m_kmsKey;
149 bool m_kmsKeyHasBeenSet = false;
150
151 Aws::String m_managedWorkgroupName;
152 bool m_managedWorkgroupNameHasBeenSet = false;
153
154 Aws::String m_managedWorkgroupStatus;
155 bool m_managedWorkgroupStatusHasBeenSet = false;
156
157 Aws::String m_redshiftDatabaseName;
158 bool m_redshiftDatabaseNameHasBeenSet = false;
159
160 Aws::String m_statusMessage;
161 bool m_statusMessageHasBeenSet = false;
162
163 Aws::String m_catalogType;
164 bool m_catalogTypeHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Glue
169} // namespace Aws
DataLakeAccessPropertiesOutput & WithDataLakeAccess(bool value)
DataLakeAccessPropertiesOutput & WithRedshiftDatabaseName(RedshiftDatabaseNameT &&value)
DataLakeAccessPropertiesOutput & WithManagedWorkgroupName(ManagedWorkgroupNameT &&value)
DataLakeAccessPropertiesOutput & WithKmsKey(KmsKeyT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeAccessPropertiesOutput & WithStatusMessage(StatusMessageT &&value)
DataLakeAccessPropertiesOutput & WithManagedWorkgroupStatus(ManagedWorkgroupStatusT &&value)
DataLakeAccessPropertiesOutput & WithCatalogType(CatalogTypeT &&value)
AWS_GLUE_API DataLakeAccessPropertiesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeAccessPropertiesOutput & WithDataTransferRole(DataTransferRoleT &&value)
void SetManagedWorkgroupStatus(ManagedWorkgroupStatusT &&value)
AWS_GLUE_API DataLakeAccessPropertiesOutput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue