/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information on the status of DNS logs as a data
* source.See Also:
AWS
* API Reference
Denotes whether DNS logs is enabled as a data source.
*/ inline const DataSourceStatus& GetStatus() const{ return m_status; } /** *Denotes whether DNS logs is enabled as a data source.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Denotes whether DNS logs is enabled as a data source.
*/ inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Denotes whether DNS logs is enabled as a data source.
*/ inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Denotes whether DNS logs is enabled as a data source.
*/ inline DNSLogsConfigurationResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;} /** *Denotes whether DNS logs is enabled as a data source.
*/ inline DNSLogsConfigurationResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;} private: DataSourceStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws