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

Contains information about the condition.

See Also:

AWS * API Reference

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

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline const Aws::Vector& GetMapEquals() const{ return m_mapEquals; } /** *

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline bool MapEqualsHasBeenSet() const { return m_mapEqualsHasBeenSet; } /** *

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline void SetMapEquals(const Aws::Vector& value) { m_mapEqualsHasBeenSet = true; m_mapEquals = value; } /** *

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline void SetMapEquals(Aws::Vector&& value) { m_mapEqualsHasBeenSet = true; m_mapEquals = std::move(value); } /** *

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline ScanCondition& WithMapEquals(const Aws::Vector& value) { SetMapEquals(value); return *this;} /** *

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline ScanCondition& WithMapEquals(Aws::Vector&& value) { SetMapEquals(std::move(value)); return *this;} /** *

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline ScanCondition& AddMapEquals(const ScanConditionPair& value) { m_mapEqualsHasBeenSet = true; m_mapEquals.push_back(value); return *this; } /** *

Represents an mapEqual condition to be applied to a single field * when triggering for malware scan.

*/ inline ScanCondition& AddMapEquals(ScanConditionPair&& value) { m_mapEqualsHasBeenSet = true; m_mapEquals.push_back(std::move(value)); return *this; } private: Aws::Vector m_mapEquals; bool m_mapEqualsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws