AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
46 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
47 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
48 inline PutDataLakeSettingsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline PutDataLakeSettingsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline PutDataLakeSettingsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
52
54
58 inline const DataLakeSettings& GetDataLakeSettings() const{ return m_dataLakeSettings; }
59 inline bool DataLakeSettingsHasBeenSet() const { return m_dataLakeSettingsHasBeenSet; }
60 inline void SetDataLakeSettings(const DataLakeSettings& value) { m_dataLakeSettingsHasBeenSet = true; m_dataLakeSettings = value; }
61 inline void SetDataLakeSettings(DataLakeSettings&& value) { m_dataLakeSettingsHasBeenSet = true; m_dataLakeSettings = std::move(value); }
63 inline PutDataLakeSettingsRequest& WithDataLakeSettings(DataLakeSettings&& value) { SetDataLakeSettings(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_catalogId;
68 bool m_catalogIdHasBeenSet = false;
69
70 DataLakeSettings m_dataLakeSettings;
71 bool m_dataLakeSettingsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LakeFormation
76} // namespace Aws
PutDataLakeSettingsRequest & WithCatalogId(const char *value)
PutDataLakeSettingsRequest & WithCatalogId(Aws::String &&value)
PutDataLakeSettingsRequest & WithDataLakeSettings(DataLakeSettings &&value)
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
PutDataLakeSettingsRequest & WithDataLakeSettings(const DataLakeSettings &value)
PutDataLakeSettingsRequest & WithCatalogId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String