/** * 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 DescribeMalwareScansResult { public: AWS_GUARDDUTY_API DescribeMalwareScansResult(); AWS_GUARDDUTY_API DescribeMalwareScansResult(const Aws::AmazonWebServiceResult& result); AWS_GUARDDUTY_API DescribeMalwareScansResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Contains information about malware scans.

*/ inline const Aws::Vector& GetScans() const{ return m_scans; } /** *

Contains information about malware scans.

*/ inline void SetScans(const Aws::Vector& value) { m_scans = value; } /** *

Contains information about malware scans.

*/ inline void SetScans(Aws::Vector&& value) { m_scans = std::move(value); } /** *

Contains information about malware scans.

*/ inline DescribeMalwareScansResult& WithScans(const Aws::Vector& value) { SetScans(value); return *this;} /** *

Contains information about malware scans.

*/ inline DescribeMalwareScansResult& WithScans(Aws::Vector&& value) { SetScans(std::move(value)); return *this;} /** *

Contains information about malware scans.

*/ inline DescribeMalwareScansResult& AddScans(const Scan& value) { m_scans.push_back(value); return *this; } /** *

Contains information about malware scans.

*/ inline DescribeMalwareScansResult& AddScans(Scan&& value) { m_scans.push_back(std::move(value)); return *this; } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline DescribeMalwareScansResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline DescribeMalwareScansResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination parameter to be used on the next list operation to retrieve * more items.

*/ inline DescribeMalwareScansResult& WithNextToken(const char* value) { SetNextToken(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 DescribeMalwareScansResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMalwareScansResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMalwareScansResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_scans; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws