/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace SecurityLake { namespace Model { /** */ class CreateDataLakeRequest : public SecurityLakeRequest { public: AWS_SECURITYLAKE_API CreateDataLakeRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateDataLake"; } AWS_SECURITYLAKE_API Aws::String SerializePayload() const override; /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline const Aws::Vector& GetConfigurations() const{ return m_configurations; } /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; } /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline void SetConfigurations(const Aws::Vector& value) { m_configurationsHasBeenSet = true; m_configurations = value; } /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline void SetConfigurations(Aws::Vector&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); } /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline CreateDataLakeRequest& WithConfigurations(const Aws::Vector& value) { SetConfigurations(value); return *this;} /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline CreateDataLakeRequest& WithConfigurations(Aws::Vector&& value) { SetConfigurations(std::move(value)); return *this;} /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline CreateDataLakeRequest& AddConfigurations(const DataLakeConfiguration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; } /** *

Specify the Region or Regions that will contribute data to the rollup * region.

*/ inline CreateDataLakeRequest& AddConfigurations(DataLakeConfiguration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline const Aws::String& GetMetaStoreManagerRoleArn() const{ return m_metaStoreManagerRoleArn; } /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline bool MetaStoreManagerRoleArnHasBeenSet() const { return m_metaStoreManagerRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline void SetMetaStoreManagerRoleArn(const Aws::String& value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn = value; } /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline void SetMetaStoreManagerRoleArn(Aws::String&& value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline void SetMetaStoreManagerRoleArn(const char* value) { m_metaStoreManagerRoleArnHasBeenSet = true; m_metaStoreManagerRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline CreateDataLakeRequest& WithMetaStoreManagerRoleArn(const Aws::String& value) { SetMetaStoreManagerRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline CreateDataLakeRequest& WithMetaStoreManagerRoleArn(Aws::String&& value) { SetMetaStoreManagerRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) used to create and update the Glue table. This * table contains partitions generated by the ingestion and normalization of Amazon * Web Services log sources and custom sources.

*/ inline CreateDataLakeRequest& WithMetaStoreManagerRoleArn(const char* value) { SetMetaStoreManagerRoleArn(value); return *this;} /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline CreateDataLakeRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline CreateDataLakeRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline CreateDataLakeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

An array of objects, one for each tag to associate with the data lake * configuration. For each tag, you must specify both a tag key and a tag value. A * tag value cannot be null, but it can be an empty string.

*/ inline CreateDataLakeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::Vector m_configurations; bool m_configurationsHasBeenSet = false; Aws::String m_metaStoreManagerRoleArn; bool m_metaStoreManagerRoleArnHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws