AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateDataLakeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securitylake/SecurityLakeRequest.h>
10#include <aws/securitylake/SecurityLake_EXPORTS.h>
11#include <aws/securitylake/model/DataLakeConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SecurityLake {
17namespace Model {
18
22 public:
23 AWS_SECURITYLAKE_API UpdateDataLakeRequest() = 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 "UpdateDataLake"; }
30
31 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::Vector<DataLakeConfiguration>& GetConfigurations() const { return m_configurations; }
39 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
40 template <typename ConfigurationsT = Aws::Vector<DataLakeConfiguration>>
41 void SetConfigurations(ConfigurationsT&& value) {
42 m_configurationsHasBeenSet = true;
43 m_configurations = std::forward<ConfigurationsT>(value);
44 }
45 template <typename ConfigurationsT = Aws::Vector<DataLakeConfiguration>>
46 UpdateDataLakeRequest& WithConfigurations(ConfigurationsT&& value) {
47 SetConfigurations(std::forward<ConfigurationsT>(value));
48 return *this;
49 }
50 template <typename ConfigurationsT = DataLakeConfiguration>
51 UpdateDataLakeRequest& AddConfigurations(ConfigurationsT&& value) {
52 m_configurationsHasBeenSet = true;
53 m_configurations.emplace_back(std::forward<ConfigurationsT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetMetaStoreManagerRoleArn() const { return m_metaStoreManagerRoleArn; }
65 inline bool MetaStoreManagerRoleArnHasBeenSet() const { return m_metaStoreManagerRoleArnHasBeenSet; }
66 template <typename MetaStoreManagerRoleArnT = Aws::String>
67 void SetMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT&& value) {
68 m_metaStoreManagerRoleArnHasBeenSet = true;
69 m_metaStoreManagerRoleArn = std::forward<MetaStoreManagerRoleArnT>(value);
70 }
71 template <typename MetaStoreManagerRoleArnT = Aws::String>
72 UpdateDataLakeRequest& WithMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT&& value) {
73 SetMetaStoreManagerRoleArn(std::forward<MetaStoreManagerRoleArnT>(value));
74 return *this;
75 }
77 private:
79
80 Aws::String m_metaStoreManagerRoleArn;
81 bool m_configurationsHasBeenSet = false;
82 bool m_metaStoreManagerRoleArnHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace SecurityLake
87} // namespace Aws
UpdateDataLakeRequest & WithConfigurations(ConfigurationsT &&value)
UpdateDataLakeRequest & WithMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT &&value)
const Aws::Vector< DataLakeConfiguration > & GetConfigurations() const
UpdateDataLakeRequest & AddConfigurations(ConfigurationsT &&value)
AWS_SECURITYLAKE_API UpdateDataLakeRequest()=default
void SetMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT &&value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector