/** * 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 GuardDuty { namespace Model { /** *

Contains information on the status of VPC flow logs as a data * source.

See Also:

AWS * API Reference

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

Denotes whether VPC flow logs is enabled as a data source.

*/ inline const DataSourceStatus& GetStatus() const{ return m_status; } /** *

Denotes whether VPC flow logs is enabled as a data source.

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

Denotes whether VPC flow logs is enabled as a data source.

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

Denotes whether VPC flow logs is enabled as a data source.

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

Denotes whether VPC flow logs is enabled as a data source.

*/ inline FlowLogsConfigurationResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;} /** *

Denotes whether VPC flow logs is enabled as a data source.

*/ inline FlowLogsConfigurationResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;} private: DataSourceStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws