AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutDataLakeSettingsRequest.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/LakeFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lakeformation/model/DataLakeSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LakeFormation
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LAKEFORMATION_API PutDataLakeSettingsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutDataLakeSettings"; }
32
33 AWS_LAKEFORMATION_API Aws::String SerializePayload() const override;
34
35
37
43 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 template<typename CatalogIdT = Aws::String>
46 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
47 template<typename CatalogIdT = Aws::String>
48 PutDataLakeSettingsRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
56 inline const DataLakeSettings& GetDataLakeSettings() const { return m_dataLakeSettings; }
57 inline bool DataLakeSettingsHasBeenSet() const { return m_dataLakeSettingsHasBeenSet; }
58 template<typename DataLakeSettingsT = DataLakeSettings>
59 void SetDataLakeSettings(DataLakeSettingsT&& value) { m_dataLakeSettingsHasBeenSet = true; m_dataLakeSettings = std::forward<DataLakeSettingsT>(value); }
60 template<typename DataLakeSettingsT = DataLakeSettings>
61 PutDataLakeSettingsRequest& WithDataLakeSettings(DataLakeSettingsT&& value) { SetDataLakeSettings(std::forward<DataLakeSettingsT>(value)); return *this;}
63 private:
64
65 Aws::String m_catalogId;
66 bool m_catalogIdHasBeenSet = false;
67
68 DataLakeSettings m_dataLakeSettings;
69 bool m_dataLakeSettingsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LakeFormation
74} // namespace Aws
AWS_LAKEFORMATION_API PutDataLakeSettingsRequest()=default
PutDataLakeSettingsRequest & WithDataLakeSettings(DataLakeSettingsT &&value)
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
PutDataLakeSettingsRequest & WithCatalogId(CatalogIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String