/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

An object that contains information on the status of DNS logs as a data * source for the detector.

See Also:

AWS * API Reference

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

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline AwsGuardDutyDetectorDataSourcesDnsLogsDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline AwsGuardDutyDetectorDataSourcesDnsLogsDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

Describes whether DNS logs is enabled as a data source for the detector. *

*/ inline AwsGuardDutyDetectorDataSourcesDnsLogsDetails& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws