/** * 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 FraudDetector { namespace Model { class DescribeDetectorResult { public: AWS_FRAUDDETECTOR_API DescribeDetectorResult(); AWS_FRAUDDETECTOR_API DescribeDetectorResult(const Aws::AmazonWebServiceResult& result); AWS_FRAUDDETECTOR_API DescribeDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The detector ID.

*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *

The detector ID.

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

The detector ID.

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

The detector ID.

*/ inline void SetDetectorId(const char* value) { m_detectorId.assign(value); } /** *

The detector ID.

*/ inline DescribeDetectorResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *

The detector ID.

*/ inline DescribeDetectorResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *

The detector ID.

*/ inline DescribeDetectorResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *

The status and description for each detector version.

*/ inline const Aws::Vector& GetDetectorVersionSummaries() const{ return m_detectorVersionSummaries; } /** *

The status and description for each detector version.

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

The status and description for each detector version.

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

The status and description for each detector version.

*/ inline DescribeDetectorResult& WithDetectorVersionSummaries(const Aws::Vector& value) { SetDetectorVersionSummaries(value); return *this;} /** *

The status and description for each detector version.

*/ inline DescribeDetectorResult& WithDetectorVersionSummaries(Aws::Vector&& value) { SetDetectorVersionSummaries(std::move(value)); return *this;} /** *

The status and description for each detector version.

*/ inline DescribeDetectorResult& AddDetectorVersionSummaries(const DetectorVersionSummary& value) { m_detectorVersionSummaries.push_back(value); return *this; } /** *

The status and description for each detector version.

*/ inline DescribeDetectorResult& AddDetectorVersionSummaries(DetectorVersionSummary&& value) { m_detectorVersionSummaries.push_back(std::move(value)); return *this; } /** *

The next token to be used for subsequent requests.

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

The next token to be used for subsequent requests.

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

The next token to be used for subsequent requests.

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

The next token to be used for subsequent requests.

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

The next token to be used for subsequent requests.

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

The next token to be used for subsequent requests.

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

The next token to be used for subsequent requests.

*/ inline DescribeDetectorResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The detector ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The detector ARN.

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

The detector ARN.

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

The detector ARN.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The detector ARN.

*/ inline DescribeDetectorResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The detector ARN.

*/ inline DescribeDetectorResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The detector ARN.

*/ inline DescribeDetectorResult& WithArn(const char* value) { SetArn(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 DescribeDetectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDetectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDetectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_detectorId; Aws::Vector m_detectorVersionSummaries; Aws::String m_nextToken; Aws::String m_arn; Aws::String m_requestId; }; } // namespace Model } // namespace FraudDetector } // namespace Aws