/** * 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 reason that the finding was * generated.

See Also:

AWS * API Reference

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

A list of threat intelligence details related to the evidence.

*/ inline const Aws::Vector& GetThreatIntelligenceDetails() const{ return m_threatIntelligenceDetails; } /** *

A list of threat intelligence details related to the evidence.

*/ inline bool ThreatIntelligenceDetailsHasBeenSet() const { return m_threatIntelligenceDetailsHasBeenSet; } /** *

A list of threat intelligence details related to the evidence.

*/ inline void SetThreatIntelligenceDetails(const Aws::Vector& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails = value; } /** *

A list of threat intelligence details related to the evidence.

*/ inline void SetThreatIntelligenceDetails(Aws::Vector&& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails = std::move(value); } /** *

A list of threat intelligence details related to the evidence.

*/ inline Evidence& WithThreatIntelligenceDetails(const Aws::Vector& value) { SetThreatIntelligenceDetails(value); return *this;} /** *

A list of threat intelligence details related to the evidence.

*/ inline Evidence& WithThreatIntelligenceDetails(Aws::Vector&& value) { SetThreatIntelligenceDetails(std::move(value)); return *this;} /** *

A list of threat intelligence details related to the evidence.

*/ inline Evidence& AddThreatIntelligenceDetails(const ThreatIntelligenceDetail& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails.push_back(value); return *this; } /** *

A list of threat intelligence details related to the evidence.

*/ inline Evidence& AddThreatIntelligenceDetails(ThreatIntelligenceDetail&& value) { m_threatIntelligenceDetailsHasBeenSet = true; m_threatIntelligenceDetails.push_back(std::move(value)); return *this; } private: Aws::Vector m_threatIntelligenceDetails; bool m_threatIntelligenceDetailsHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws