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

Information about the additional configuration.

See Also:

AWS * API Reference

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

Name of the additional configuration.

*/ inline const FeatureAdditionalConfiguration& GetName() const{ return m_name; } /** *

Name of the additional configuration.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Name of the additional configuration.

*/ inline void SetName(const FeatureAdditionalConfiguration& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Name of the additional configuration.

*/ inline void SetName(FeatureAdditionalConfiguration&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Name of the additional configuration.

*/ inline DetectorAdditionalConfigurationResult& WithName(const FeatureAdditionalConfiguration& value) { SetName(value); return *this;} /** *

Name of the additional configuration.

*/ inline DetectorAdditionalConfigurationResult& WithName(FeatureAdditionalConfiguration&& value) { SetName(std::move(value)); return *this;} /** *

Status of the additional configuration.

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

Status of the additional configuration.

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

Status of the additional configuration.

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

Status of the additional configuration.

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

Status of the additional configuration.

*/ inline DetectorAdditionalConfigurationResult& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;} /** *

Status of the additional configuration.

*/ inline DetectorAdditionalConfigurationResult& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The timestamp at which the additional configuration was last updated. This is * in UTC format.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The timestamp at which the additional configuration was last updated. This is * in UTC format.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The timestamp at which the additional configuration was last updated. This is * in UTC format.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The timestamp at which the additional configuration was last updated. This is * in UTC format.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The timestamp at which the additional configuration was last updated. This is * in UTC format.

*/ inline DetectorAdditionalConfigurationResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The timestamp at which the additional configuration was last updated. This is * in UTC format.

*/ inline DetectorAdditionalConfigurationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: FeatureAdditionalConfiguration m_name; bool m_nameHasBeenSet = false; FeatureStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws