AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfigurations(const Aws::Vector<DataLakeConfiguration>& value) { m_configurationsHasBeenSet = true; m_configurations = value; }
46 inline void SetConfigurations(Aws::Vector<DataLakeConfiguration>&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); }
49 inline CreateDataLakeRequest& AddConfigurations(const DataLakeConfiguration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
50 inline CreateDataLakeRequest& AddConfigurations(DataLakeConfiguration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; }
52
54
59 inline const Aws::String& GetMetaStoreManagerRoleArn() const{ return m_metaStoreManagerRoleArn; }
60 inline bool MetaStoreManagerRoleArnHasBeenSet() const { return m_metaStoreManagerRoleArnHasBeenSet; }
61 inline void SetMetaStoreManagerRoleArn(const Aws::String& value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn = value; }
62 inline void SetMetaStoreManagerRoleArn(Aws::String&& value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn = std::move(value); }
63 inline void SetMetaStoreManagerRoleArn(const char* value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn.assign(value); }
66 inline CreateDataLakeRequest& WithMetaStoreManagerRoleArn(const char* value) { SetMetaStoreManagerRoleArn(value); return *this;}
68
70
75 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
76 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
78 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
79 inline CreateDataLakeRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
80 inline CreateDataLakeRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
81 inline CreateDataLakeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
82 inline CreateDataLakeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
84 private:
85
87 bool m_configurationsHasBeenSet = false;
88
89 Aws::String m_metaStoreManagerRoleArn;
90 bool m_metaStoreManagerRoleArnHasBeenSet = false;
91
92 Aws::Vector<Tag> m_tags;
93 bool m_tagsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SecurityLake
98} // namespace Aws
void SetConfigurations(const Aws::Vector< DataLakeConfiguration > &value)
CreateDataLakeRequest & WithConfigurations(Aws::Vector< DataLakeConfiguration > &&value)
void SetMetaStoreManagerRoleArn(const Aws::String &value)
CreateDataLakeRequest & WithMetaStoreManagerRoleArn(const Aws::String &value)
CreateDataLakeRequest & AddTags(const Tag &value)
const Aws::Vector< DataLakeConfiguration > & GetConfigurations() const
CreateDataLakeRequest & AddConfigurations(DataLakeConfiguration &&value)
virtual const char * GetServiceRequestName() const override
CreateDataLakeRequest & WithConfigurations(const Aws::Vector< DataLakeConfiguration > &value)
CreateDataLakeRequest & AddTags(Tag &&value)
CreateDataLakeRequest & AddConfigurations(const DataLakeConfiguration &value)
void SetConfigurations(Aws::Vector< DataLakeConfiguration > &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateDataLakeRequest & WithMetaStoreManagerRoleArn(Aws::String &&value)
CreateDataLakeRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_SECURITYLAKE_API Aws::String SerializePayload() const override
CreateDataLakeRequest & WithMetaStoreManagerRoleArn(const char *value)
CreateDataLakeRequest & WithTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector