/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { class ListDetectorsResult { public: AWS_GUARDDUTY_API ListDetectorsResult(); AWS_GUARDDUTY_API ListDetectorsResult(const Aws::AmazonWebServiceResult& result); AWS_GUARDDUTY_API ListDetectorsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of detector IDs.

*/ inline const Aws::Vector& GetDetectorIds() const{ return m_detectorIds; } /** *

A list of detector IDs.

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

A list of detector IDs.

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

A list of detector IDs.

*/ inline ListDetectorsResult& WithDetectorIds(const Aws::Vector& value) { SetDetectorIds(value); return *this;} /** *

A list of detector IDs.

*/ inline ListDetectorsResult& WithDetectorIds(Aws::Vector&& value) { SetDetectorIds(std::move(value)); return *this;} /** *

A list of detector IDs.

*/ inline ListDetectorsResult& AddDetectorIds(const Aws::String& value) { m_detectorIds.push_back(value); return *this; } /** *

A list of detector IDs.

*/ inline ListDetectorsResult& AddDetectorIds(Aws::String&& value) { m_detectorIds.push_back(std::move(value)); return *this; } /** *

A list of detector IDs.

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