/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Security Lake logs source configuration file describes the information
* needed to generate Security Lake logs. See Also:
AWS
* API Reference
Specify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline const Aws::VectorSpecify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline bool AccountsHasBeenSet() const { return m_accountsHasBeenSet; } /** *Specify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline void SetAccounts(const Aws::VectorSpecify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline void SetAccounts(Aws::VectorSpecify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline AwsLogSourceConfiguration& WithAccounts(const Aws::VectorSpecify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline AwsLogSourceConfiguration& WithAccounts(Aws::VectorSpecify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline AwsLogSourceConfiguration& AddAccounts(const Aws::String& value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; } /** *Specify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline AwsLogSourceConfiguration& AddAccounts(Aws::String&& value) { m_accountsHasBeenSet = true; m_accounts.push_back(std::move(value)); return *this; } /** *Specify the Amazon Web Services account information where you want to enable * Security Lake.
*/ inline AwsLogSourceConfiguration& AddAccounts(const char* value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; } /** *Specify the Regions where you want to enable Security Lake.
*/ inline const Aws::VectorSpecify the Regions where you want to enable Security Lake.
*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *Specify the Regions where you want to enable Security Lake.
*/ inline void SetRegions(const Aws::VectorSpecify the Regions where you want to enable Security Lake.
*/ inline void SetRegions(Aws::VectorSpecify the Regions where you want to enable Security Lake.
*/ inline AwsLogSourceConfiguration& WithRegions(const Aws::VectorSpecify the Regions where you want to enable Security Lake.
*/ inline AwsLogSourceConfiguration& WithRegions(Aws::VectorSpecify the Regions where you want to enable Security Lake.
*/ inline AwsLogSourceConfiguration& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *Specify the Regions where you want to enable Security Lake.
*/ inline AwsLogSourceConfiguration& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } /** *Specify the Regions where you want to enable Security Lake.
*/ inline AwsLogSourceConfiguration& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *The name for a Amazon Web Services source. This must be a Regionally unique * value.
*/ inline const AwsLogSourceName& GetSourceName() const{ return m_sourceName; } /** *The name for a Amazon Web Services source. This must be a Regionally unique * value.
*/ inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; } /** *The name for a Amazon Web Services source. This must be a Regionally unique * value.
*/ inline void SetSourceName(const AwsLogSourceName& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; } /** *The name for a Amazon Web Services source. This must be a Regionally unique * value.
*/ inline void SetSourceName(AwsLogSourceName&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); } /** *The name for a Amazon Web Services source. This must be a Regionally unique * value.
*/ inline AwsLogSourceConfiguration& WithSourceName(const AwsLogSourceName& value) { SetSourceName(value); return *this;} /** *The name for a Amazon Web Services source. This must be a Regionally unique * value.
*/ inline AwsLogSourceConfiguration& WithSourceName(AwsLogSourceName&& value) { SetSourceName(std::move(value)); return *this;} /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; } /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; } /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; } /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); } /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); } /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline AwsLogSourceConfiguration& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;} /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline AwsLogSourceConfiguration& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;} /** *The version for a Amazon Web Services source. This must be a Regionally * unique value.
*/ inline AwsLogSourceConfiguration& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;} private: Aws::Vector