AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateLakehouseConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
10#include <aws/redshift-serverless/model/LakehouseIdcRegistration.h>
11#include <aws/redshift-serverless/model/LakehouseRegistration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RedshiftServerless {
17namespace Model {
18
22 public:
23 AWS_REDSHIFTSERVERLESS_API UpdateLakehouseConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateLakehouseConfiguration"; }
30
31 AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override;
32
33 AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
41 inline const Aws::String& GetCatalogName() const { return m_catalogName; }
42 inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
43 template <typename CatalogNameT = Aws::String>
44 void SetCatalogName(CatalogNameT&& value) {
45 m_catalogNameHasBeenSet = true;
46 m_catalogName = std::forward<CatalogNameT>(value);
47 }
48 template <typename CatalogNameT = Aws::String>
50 SetCatalogName(std::forward<CatalogNameT>(value));
51 return *this;
52 }
54
56
61 inline bool GetDryRun() const { return m_dryRun; }
62 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
63 inline void SetDryRun(bool value) {
64 m_dryRunHasBeenSet = true;
65 m_dryRun = value;
66 }
68 SetDryRun(value);
69 return *this;
70 }
72
74
80 inline const Aws::String& GetLakehouseIdcApplicationArn() const { return m_lakehouseIdcApplicationArn; }
81 inline bool LakehouseIdcApplicationArnHasBeenSet() const { return m_lakehouseIdcApplicationArnHasBeenSet; }
82 template <typename LakehouseIdcApplicationArnT = Aws::String>
83 void SetLakehouseIdcApplicationArn(LakehouseIdcApplicationArnT&& value) {
84 m_lakehouseIdcApplicationArnHasBeenSet = true;
85 m_lakehouseIdcApplicationArn = std::forward<LakehouseIdcApplicationArnT>(value);
86 }
87 template <typename LakehouseIdcApplicationArnT = Aws::String>
89 SetLakehouseIdcApplicationArn(std::forward<LakehouseIdcApplicationArnT>(value));
90 return *this;
91 }
93
95
100 inline LakehouseIdcRegistration GetLakehouseIdcRegistration() const { return m_lakehouseIdcRegistration; }
101 inline bool LakehouseIdcRegistrationHasBeenSet() const { return m_lakehouseIdcRegistrationHasBeenSet; }
103 m_lakehouseIdcRegistrationHasBeenSet = true;
104 m_lakehouseIdcRegistration = value;
105 }
108 return *this;
109 }
111
113
118 inline LakehouseRegistration GetLakehouseRegistration() const { return m_lakehouseRegistration; }
119 inline bool LakehouseRegistrationHasBeenSet() const { return m_lakehouseRegistrationHasBeenSet; }
121 m_lakehouseRegistrationHasBeenSet = true;
122 m_lakehouseRegistration = value;
123 }
126 return *this;
127 }
129
131
135 inline const Aws::String& GetNamespaceName() const { return m_namespaceName; }
136 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
137 template <typename NamespaceNameT = Aws::String>
138 void SetNamespaceName(NamespaceNameT&& value) {
139 m_namespaceNameHasBeenSet = true;
140 m_namespaceName = std::forward<NamespaceNameT>(value);
141 }
142 template <typename NamespaceNameT = Aws::String>
144 SetNamespaceName(std::forward<NamespaceNameT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_catalogName;
150
151 bool m_dryRun{false};
152
153 Aws::String m_lakehouseIdcApplicationArn;
154
156
158
159 Aws::String m_namespaceName;
160 bool m_catalogNameHasBeenSet = false;
161 bool m_dryRunHasBeenSet = false;
162 bool m_lakehouseIdcApplicationArnHasBeenSet = false;
163 bool m_lakehouseIdcRegistrationHasBeenSet = false;
164 bool m_lakehouseRegistrationHasBeenSet = false;
165 bool m_namespaceNameHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace RedshiftServerless
170} // namespace Aws
UpdateLakehouseConfigurationRequest & WithNamespaceName(NamespaceNameT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLakehouseConfigurationRequest & WithLakehouseRegistration(LakehouseRegistration value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
UpdateLakehouseConfigurationRequest & WithCatalogName(CatalogNameT &&value)
UpdateLakehouseConfigurationRequest & WithLakehouseIdcRegistration(LakehouseIdcRegistration value)
AWS_REDSHIFTSERVERLESS_API UpdateLakehouseConfigurationRequest()=default
UpdateLakehouseConfigurationRequest & WithLakehouseIdcApplicationArn(LakehouseIdcApplicationArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String