AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataLakeAccessProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API DataLakeAccessProperties() = default;
34
36
41 inline bool GetDataLakeAccess() const { return m_dataLakeAccess; }
42 inline bool DataLakeAccessHasBeenSet() const { return m_dataLakeAccessHasBeenSet; }
43 inline void SetDataLakeAccess(bool value) {
44 m_dataLakeAccessHasBeenSet = true;
45 m_dataLakeAccess = value;
46 }
48 SetDataLakeAccess(value);
49 return *this;
50 }
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) {
62 m_dataTransferRoleHasBeenSet = true;
63 m_dataTransferRole = std::forward<DataTransferRoleT>(value);
64 }
65 template <typename DataTransferRoleT = Aws::String>
66 DataLakeAccessProperties& WithDataTransferRole(DataTransferRoleT&& value) {
67 SetDataTransferRole(std::forward<DataTransferRoleT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
78 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
79 template <typename KmsKeyT = Aws::String>
80 void SetKmsKey(KmsKeyT&& value) {
81 m_kmsKeyHasBeenSet = true;
82 m_kmsKey = std::forward<KmsKeyT>(value);
83 }
84 template <typename KmsKeyT = Aws::String>
86 SetKmsKey(std::forward<KmsKeyT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetCatalogType() const { return m_catalogType; }
97 inline bool CatalogTypeHasBeenSet() const { return m_catalogTypeHasBeenSet; }
98 template <typename CatalogTypeT = Aws::String>
99 void SetCatalogType(CatalogTypeT&& value) {
100 m_catalogTypeHasBeenSet = true;
101 m_catalogType = std::forward<CatalogTypeT>(value);
102 }
103 template <typename CatalogTypeT = Aws::String>
105 SetCatalogType(std::forward<CatalogTypeT>(value));
106 return *this;
107 }
109 private:
110 bool m_dataLakeAccess{false};
111
112 Aws::String m_dataTransferRole;
113
114 Aws::String m_kmsKey;
115
116 Aws::String m_catalogType;
117 bool m_dataLakeAccessHasBeenSet = false;
118 bool m_dataTransferRoleHasBeenSet = false;
119 bool m_kmsKeyHasBeenSet = false;
120 bool m_catalogTypeHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Glue
125} // 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