AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateDataLakeRequest.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#include <aws/securitylake/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SecurityLake {
18namespace Model {
19
23 public:
24 AWS_SECURITYLAKE_API CreateDataLakeRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateDataLake"; }
31
32 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::Vector<DataLakeConfiguration>& GetConfigurations() const { return m_configurations; }
40 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
41 template <typename ConfigurationsT = Aws::Vector<DataLakeConfiguration>>
42 void SetConfigurations(ConfigurationsT&& value) {
43 m_configurationsHasBeenSet = true;
44 m_configurations = std::forward<ConfigurationsT>(value);
45 }
46 template <typename ConfigurationsT = Aws::Vector<DataLakeConfiguration>>
47 CreateDataLakeRequest& WithConfigurations(ConfigurationsT&& value) {
48 SetConfigurations(std::forward<ConfigurationsT>(value));
49 return *this;
50 }
51 template <typename ConfigurationsT = DataLakeConfiguration>
52 CreateDataLakeRequest& AddConfigurations(ConfigurationsT&& value) {
53 m_configurationsHasBeenSet = true;
54 m_configurations.emplace_back(std::forward<ConfigurationsT>(value));
55 return *this;
56 }
58
60
65 inline const Aws::String& GetMetaStoreManagerRoleArn() const { return m_metaStoreManagerRoleArn; }
66 inline bool MetaStoreManagerRoleArnHasBeenSet() const { return m_metaStoreManagerRoleArnHasBeenSet; }
67 template <typename MetaStoreManagerRoleArnT = Aws::String>
68 void SetMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT&& value) {
69 m_metaStoreManagerRoleArnHasBeenSet = true;
70 m_metaStoreManagerRoleArn = std::forward<MetaStoreManagerRoleArnT>(value);
71 }
72 template <typename MetaStoreManagerRoleArnT = Aws::String>
73 CreateDataLakeRequest& WithMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT&& value) {
74 SetMetaStoreManagerRoleArn(std::forward<MetaStoreManagerRoleArnT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 template <typename TagsT = Aws::Vector<Tag>>
88 void SetTags(TagsT&& value) {
89 m_tagsHasBeenSet = true;
90 m_tags = std::forward<TagsT>(value);
91 }
92 template <typename TagsT = Aws::Vector<Tag>>
94 SetTags(std::forward<TagsT>(value));
95 return *this;
96 }
97 template <typename TagsT = Tag>
99 m_tagsHasBeenSet = true;
100 m_tags.emplace_back(std::forward<TagsT>(value));
101 return *this;
102 }
104 private:
105 Aws::Vector<DataLakeConfiguration> m_configurations;
106
107 Aws::String m_metaStoreManagerRoleArn;
108
109 Aws::Vector<Tag> m_tags;
110 bool m_configurationsHasBeenSet = false;
111 bool m_metaStoreManagerRoleArnHasBeenSet = false;
112 bool m_tagsHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace SecurityLake
117} // namespace Aws
void SetMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT &&value)
CreateDataLakeRequest & WithTags(TagsT &&value)
CreateDataLakeRequest & AddConfigurations(ConfigurationsT &&value)
CreateDataLakeRequest & WithMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT &&value)
CreateDataLakeRequest & WithConfigurations(ConfigurationsT &&value)
CreateDataLakeRequest & AddTags(TagsT &&value)
const Aws::Vector< DataLakeConfiguration > & GetConfigurations() const
virtual const char * GetServiceRequestName() const override
AWS_SECURITYLAKE_API CreateDataLakeRequest()=default
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector