/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityLake { namespace Model { /** *

Automatically enable new organization accounts as member accounts from an * Amazon Security Lake administrator account.

See Also:

AWS * API Reference

*/ class DataLakeAutoEnableNewAccountConfiguration { public: AWS_SECURITYLAKE_API DataLakeAutoEnableNewAccountConfiguration(); AWS_SECURITYLAKE_API DataLakeAutoEnableNewAccountConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYLAKE_API DataLakeAutoEnableNewAccountConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline DataLakeAutoEnableNewAccountConfiguration& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline DataLakeAutoEnableNewAccountConfiguration& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *

The Amazon Web Services Regions where Security Lake is automatically * enabled.

*/ inline DataLakeAutoEnableNewAccountConfiguration& WithRegion(const char* value) { SetRegion(value); return *this;} /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline const Aws::Vector& GetSources() const{ return m_sources; } /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline void SetSources(const Aws::Vector& value) { m_sourcesHasBeenSet = true; m_sources = value; } /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline void SetSources(Aws::Vector&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); } /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline DataLakeAutoEnableNewAccountConfiguration& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline DataLakeAutoEnableNewAccountConfiguration& WithSources(Aws::Vector&& value) { SetSources(std::move(value)); return *this;} /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline DataLakeAutoEnableNewAccountConfiguration& AddSources(const AwsLogSourceResource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *

The Amazon Web Services sources that are automatically enabled in Security * Lake.

*/ inline DataLakeAutoEnableNewAccountConfiguration& AddSources(AwsLogSourceResource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } private: Aws::String m_region; bool m_regionHasBeenSet = false; Aws::Vector m_sources; bool m_sourcesHasBeenSet = false; }; } // namespace Model } // namespace SecurityLake } // namespace Aws