/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information on which data sources are enabled for a member
* account.See Also:
AWS
* API Reference
The account ID for the member account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The account ID for the member account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The account ID for the member account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The account ID for the member account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The account ID for the member account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The account ID for the member account.
*/ inline MemberDataSourceConfiguration& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The account ID for the member account.
*/ inline MemberDataSourceConfiguration& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The account ID for the member account.
*/ inline MemberDataSourceConfiguration& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *Contains information on the status of data sources for the account.
*/ inline const DataSourceConfigurationsResult& GetDataSources() const{ return m_dataSources; } /** *Contains information on the status of data sources for the account.
*/ inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; } /** *Contains information on the status of data sources for the account.
*/ inline void SetDataSources(const DataSourceConfigurationsResult& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; } /** *Contains information on the status of data sources for the account.
*/ inline void SetDataSources(DataSourceConfigurationsResult&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); } /** *Contains information on the status of data sources for the account.
*/ inline MemberDataSourceConfiguration& WithDataSources(const DataSourceConfigurationsResult& value) { SetDataSources(value); return *this;} /** *Contains information on the status of data sources for the account.
*/ inline MemberDataSourceConfiguration& WithDataSources(DataSourceConfigurationsResult&& value) { SetDataSources(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet; DataSourceConfigurationsResult m_dataSources; bool m_dataSourcesHasBeenSet; }; } // namespace Model } // namespace GuardDuty } // namespace Aws