/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Automatically enable new organization accounts as member accounts from an
* Amazon Security Lake administrator account.See Also:
AWS
* API Reference
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::VectorThe 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::VectorThe Amazon Web Services sources that are automatically enabled in Security * Lake.
*/ inline void SetSources(Aws::VectorThe Amazon Web Services sources that are automatically enabled in Security * Lake.
*/ inline DataLakeAutoEnableNewAccountConfiguration& WithSources(const Aws::VectorThe Amazon Web Services sources that are automatically enabled in Security * Lake.
*/ inline DataLakeAutoEnableNewAccountConfiguration& WithSources(Aws::VectorThe 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