/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the reason the scan was triggered.See Also:
AWS
* API Reference
The ID of the GuardDuty finding that triggered the malware scan.
*/ inline const Aws::String& GetGuardDutyFindingId() const{ return m_guardDutyFindingId; } /** *The ID of the GuardDuty finding that triggered the malware scan.
*/ inline bool GuardDutyFindingIdHasBeenSet() const { return m_guardDutyFindingIdHasBeenSet; } /** *The ID of the GuardDuty finding that triggered the malware scan.
*/ inline void SetGuardDutyFindingId(const Aws::String& value) { m_guardDutyFindingIdHasBeenSet = true; m_guardDutyFindingId = value; } /** *The ID of the GuardDuty finding that triggered the malware scan.
*/ inline void SetGuardDutyFindingId(Aws::String&& value) { m_guardDutyFindingIdHasBeenSet = true; m_guardDutyFindingId = std::move(value); } /** *The ID of the GuardDuty finding that triggered the malware scan.
*/ inline void SetGuardDutyFindingId(const char* value) { m_guardDutyFindingIdHasBeenSet = true; m_guardDutyFindingId.assign(value); } /** *The ID of the GuardDuty finding that triggered the malware scan.
*/ inline TriggerDetails& WithGuardDutyFindingId(const Aws::String& value) { SetGuardDutyFindingId(value); return *this;} /** *The ID of the GuardDuty finding that triggered the malware scan.
*/ inline TriggerDetails& WithGuardDutyFindingId(Aws::String&& value) { SetGuardDutyFindingId(std::move(value)); return *this;} /** *The ID of the GuardDuty finding that triggered the malware scan.
*/ inline TriggerDetails& WithGuardDutyFindingId(const char* value) { SetGuardDutyFindingId(value); return *this;} /** *The description of the scan trigger.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the scan trigger.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the scan trigger.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the scan trigger.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the scan trigger.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the scan trigger.
*/ inline TriggerDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the scan trigger.
*/ inline TriggerDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the scan trigger.
*/ inline TriggerDetails& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_guardDutyFindingId; bool m_guardDutyFindingIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws