/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { class GetMalwareScanSettingsResult { public: AWS_GUARDDUTY_API GetMalwareScanSettingsResult(); AWS_GUARDDUTY_API GetMalwareScanSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_GUARDDUTY_API GetMalwareScanSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Represents the criteria to be used in the filter for scanning resources.

*/ inline const ScanResourceCriteria& GetScanResourceCriteria() const{ return m_scanResourceCriteria; } /** *

Represents the criteria to be used in the filter for scanning resources.

*/ inline void SetScanResourceCriteria(const ScanResourceCriteria& value) { m_scanResourceCriteria = value; } /** *

Represents the criteria to be used in the filter for scanning resources.

*/ inline void SetScanResourceCriteria(ScanResourceCriteria&& value) { m_scanResourceCriteria = std::move(value); } /** *

Represents the criteria to be used in the filter for scanning resources.

*/ inline GetMalwareScanSettingsResult& WithScanResourceCriteria(const ScanResourceCriteria& value) { SetScanResourceCriteria(value); return *this;} /** *

Represents the criteria to be used in the filter for scanning resources.

*/ inline GetMalwareScanSettingsResult& WithScanResourceCriteria(ScanResourceCriteria&& value) { SetScanResourceCriteria(std::move(value)); return *this;} /** *

An enum value representing possible snapshot preservation settings.

*/ inline const EbsSnapshotPreservation& GetEbsSnapshotPreservation() const{ return m_ebsSnapshotPreservation; } /** *

An enum value representing possible snapshot preservation settings.

*/ inline void SetEbsSnapshotPreservation(const EbsSnapshotPreservation& value) { m_ebsSnapshotPreservation = value; } /** *

An enum value representing possible snapshot preservation settings.

*/ inline void SetEbsSnapshotPreservation(EbsSnapshotPreservation&& value) { m_ebsSnapshotPreservation = std::move(value); } /** *

An enum value representing possible snapshot preservation settings.

*/ inline GetMalwareScanSettingsResult& WithEbsSnapshotPreservation(const EbsSnapshotPreservation& value) { SetEbsSnapshotPreservation(value); return *this;} /** *

An enum value representing possible snapshot preservation settings.

*/ inline GetMalwareScanSettingsResult& WithEbsSnapshotPreservation(EbsSnapshotPreservation&& value) { SetEbsSnapshotPreservation(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetMalwareScanSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMalwareScanSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMalwareScanSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ScanResourceCriteria m_scanResourceCriteria; EbsSnapshotPreservation m_ebsSnapshotPreservation; Aws::String m_requestId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws