AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDataLakeRequest.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/SecurityLakeRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/securitylake/model/DataLakeConfiguration.h>
12#include <aws/securitylake/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SecurityLake
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SECURITYLAKE_API CreateDataLakeRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateDataLake"; }
34
35 AWS_SECURITYLAKE_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::Vector<DataLakeConfiguration>& GetConfigurations() const { return m_configurations; }
44 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
45 template<typename ConfigurationsT = Aws::Vector<DataLakeConfiguration>>
46 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations = std::forward<ConfigurationsT>(value); }
47 template<typename ConfigurationsT = Aws::Vector<DataLakeConfiguration>>
48 CreateDataLakeRequest& WithConfigurations(ConfigurationsT&& value) { SetConfigurations(std::forward<ConfigurationsT>(value)); return *this;}
49 template<typename ConfigurationsT = DataLakeConfiguration>
50 CreateDataLakeRequest& AddConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations.emplace_back(std::forward<ConfigurationsT>(value)); return *this; }
52
54
59 inline const Aws::String& GetMetaStoreManagerRoleArn() const { return m_metaStoreManagerRoleArn; }
60 inline bool MetaStoreManagerRoleArnHasBeenSet() const { return m_metaStoreManagerRoleArnHasBeenSet; }
61 template<typename MetaStoreManagerRoleArnT = Aws::String>
62 void SetMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT&& value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn = std::forward<MetaStoreManagerRoleArnT>(value); }
63 template<typename MetaStoreManagerRoleArnT = Aws::String>
64 CreateDataLakeRequest& WithMetaStoreManagerRoleArn(MetaStoreManagerRoleArnT&& value) { SetMetaStoreManagerRoleArn(std::forward<MetaStoreManagerRoleArnT>(value)); return *this;}
66
68
73 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
74 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
75 template<typename TagsT = Aws::Vector<Tag>>
76 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
77 template<typename TagsT = Aws::Vector<Tag>>
78 CreateDataLakeRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
79 template<typename TagsT = Tag>
80 CreateDataLakeRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
82 private:
83
85 bool m_configurationsHasBeenSet = false;
86
87 Aws::String m_metaStoreManagerRoleArn;
88 bool m_metaStoreManagerRoleArnHasBeenSet = false;
89
90 Aws::Vector<Tag> m_tags;
91 bool m_tagsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SecurityLake
96} // 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