AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataLakeAccessProperties.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 DataLakeAccessProperties() = default;
39
40
42
47 inline bool GetDataLakeAccess() const { return m_dataLakeAccess; }
48 inline bool DataLakeAccessHasBeenSet() const { return m_dataLakeAccessHasBeenSet; }
49 inline void SetDataLakeAccess(bool value) { m_dataLakeAccessHasBeenSet = true; m_dataLakeAccess = value; }
50 inline DataLakeAccessProperties& WithDataLakeAccess(bool value) { SetDataLakeAccess(value); return *this;}
52
54
58 inline const Aws::String& GetDataTransferRole() const { return m_dataTransferRole; }
59 inline bool DataTransferRoleHasBeenSet() const { return m_dataTransferRoleHasBeenSet; }
60 template<typename DataTransferRoleT = Aws::String>
61 void SetDataTransferRole(DataTransferRoleT&& value) { m_dataTransferRoleHasBeenSet = true; m_dataTransferRole = std::forward<DataTransferRoleT>(value); }
62 template<typename DataTransferRoleT = Aws::String>
63 DataLakeAccessProperties& WithDataTransferRole(DataTransferRoleT&& value) { SetDataTransferRole(std::forward<DataTransferRoleT>(value)); return *this;}
65
67
71 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
72 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
73 template<typename KmsKeyT = Aws::String>
74 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::forward<KmsKeyT>(value); }
75 template<typename KmsKeyT = Aws::String>
76 DataLakeAccessProperties& WithKmsKey(KmsKeyT&& value) { SetKmsKey(std::forward<KmsKeyT>(value)); return *this;}
78
80
84 inline const Aws::String& GetCatalogType() const { return m_catalogType; }
85 inline bool CatalogTypeHasBeenSet() const { return m_catalogTypeHasBeenSet; }
86 template<typename CatalogTypeT = Aws::String>
87 void SetCatalogType(CatalogTypeT&& value) { m_catalogTypeHasBeenSet = true; m_catalogType = std::forward<CatalogTypeT>(value); }
88 template<typename CatalogTypeT = Aws::String>
89 DataLakeAccessProperties& WithCatalogType(CatalogTypeT&& value) { SetCatalogType(std::forward<CatalogTypeT>(value)); return *this;}
91 private:
92
93 bool m_dataLakeAccess{false};
94 bool m_dataLakeAccessHasBeenSet = false;
95
96 Aws::String m_dataTransferRole;
97 bool m_dataTransferRoleHasBeenSet = false;
98
99 Aws::String m_kmsKey;
100 bool m_kmsKeyHasBeenSet = false;
101
102 Aws::String m_catalogType;
103 bool m_catalogTypeHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Glue
108} // namespace Aws
void SetDataTransferRole(DataTransferRoleT &&value)
DataLakeAccessProperties & WithCatalogType(CatalogTypeT &&value)
AWS_GLUE_API DataLakeAccessProperties(Aws::Utils::Json::JsonView jsonValue)
DataLakeAccessProperties & WithDataTransferRole(DataTransferRoleT &&value)
DataLakeAccessProperties & WithDataLakeAccess(bool value)
AWS_GLUE_API DataLakeAccessProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API DataLakeAccessProperties()=default
DataLakeAccessProperties & WithKmsKey(KmsKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue