AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CatalogProperties.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/DataLakeAccessProperties.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API CatalogProperties() = default;
41
42
44
49 inline const DataLakeAccessProperties& GetDataLakeAccessProperties() const { return m_dataLakeAccessProperties; }
50 inline bool DataLakeAccessPropertiesHasBeenSet() const { return m_dataLakeAccessPropertiesHasBeenSet; }
51 template<typename DataLakeAccessPropertiesT = DataLakeAccessProperties>
52 void SetDataLakeAccessProperties(DataLakeAccessPropertiesT&& value) { m_dataLakeAccessPropertiesHasBeenSet = true; m_dataLakeAccessProperties = std::forward<DataLakeAccessPropertiesT>(value); }
53 template<typename DataLakeAccessPropertiesT = DataLakeAccessProperties>
54 CatalogProperties& WithDataLakeAccessProperties(DataLakeAccessPropertiesT&& value) { SetDataLakeAccessProperties(std::forward<DataLakeAccessPropertiesT>(value)); return *this;}
56
58
62 inline const Aws::Map<Aws::String, Aws::String>& GetCustomProperties() const { return m_customProperties; }
63 inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; }
64 template<typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
65 void SetCustomProperties(CustomPropertiesT&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::forward<CustomPropertiesT>(value); }
66 template<typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
67 CatalogProperties& WithCustomProperties(CustomPropertiesT&& value) { SetCustomProperties(std::forward<CustomPropertiesT>(value)); return *this;}
68 template<typename CustomPropertiesKeyT = Aws::String, typename CustomPropertiesValueT = Aws::String>
69 CatalogProperties& AddCustomProperties(CustomPropertiesKeyT&& key, CustomPropertiesValueT&& value) {
70 m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::forward<CustomPropertiesKeyT>(key), std::forward<CustomPropertiesValueT>(value)); return *this;
71 }
73 private:
74
75 DataLakeAccessProperties m_dataLakeAccessProperties;
76 bool m_dataLakeAccessPropertiesHasBeenSet = false;
77
78 Aws::Map<Aws::String, Aws::String> m_customProperties;
79 bool m_customPropertiesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Glue
84} // namespace Aws
AWS_GLUE_API CatalogProperties()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CatalogProperties & WithDataLakeAccessProperties(DataLakeAccessPropertiesT &&value)
const DataLakeAccessProperties & GetDataLakeAccessProperties() const
AWS_GLUE_API CatalogProperties(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetCustomProperties() const
AWS_GLUE_API CatalogProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataLakeAccessProperties(DataLakeAccessPropertiesT &&value)
CatalogProperties & WithCustomProperties(CustomPropertiesT &&value)
void SetCustomProperties(CustomPropertiesT &&value)
CatalogProperties & AddCustomProperties(CustomPropertiesKeyT &&key, CustomPropertiesValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue