/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace SecurityLake { namespace Model { /** */ class ListDataLakesRequest : public SecurityLakeRequest { public: AWS_SECURITYLAKE_API ListDataLakesRequest(); // 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 "ListDataLakes"; } AWS_SECURITYLAKE_API Aws::String SerializePayload() const override; AWS_SECURITYLAKE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The list of regions where Security Lake is enabled.

*/ inline const Aws::Vector& GetRegions() const{ return m_regions; } /** *

The list of regions where Security Lake is enabled.

*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *

The list of regions where Security Lake is enabled.

*/ inline void SetRegions(const Aws::Vector& value) { m_regionsHasBeenSet = true; m_regions = value; } /** *

The list of regions where Security Lake is enabled.

*/ inline void SetRegions(Aws::Vector&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); } /** *

The list of regions where Security Lake is enabled.

*/ inline ListDataLakesRequest& WithRegions(const Aws::Vector& value) { SetRegions(value); return *this;} /** *

The list of regions where Security Lake is enabled.

*/ inline ListDataLakesRequest& WithRegions(Aws::Vector&& value) { SetRegions(std::move(value)); return *this;} /** *

The list of regions where Security Lake is enabled.

*/ inline ListDataLakesRequest& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

The list of regions where Security Lake is enabled.

*/ inline ListDataLakesRequest& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } /** *

The list of regions where Security Lake is enabled.

*/ inline ListDataLakesRequest& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } private: Aws::Vector m_regions; bool m_regionsHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws