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

The ID for the created version's parent detector.

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

The ID for the created version's parent detector.

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

The ID for the created version's parent detector.

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

The ID for the created version's parent detector.

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

The ID for the created version's parent detector.

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

The ID for the created version's parent detector.

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

The ID for the created version's parent detector.

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

The ID for the created detector.

*/ inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; } /** *

The ID for the created detector.

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

The ID for the created detector.

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

The ID for the created detector.

*/ inline void SetDetectorVersionId(const char* value) { m_detectorVersionId.assign(value); } /** *

The ID for the created detector.

*/ inline CreateDetectorVersionResult& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;} /** *

The ID for the created detector.

*/ inline CreateDetectorVersionResult& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;} /** *

The ID for the created detector.

*/ inline CreateDetectorVersionResult& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;} /** *

The status of the detector version.

*/ inline const DetectorVersionStatus& GetStatus() const{ return m_status; } /** *

The status of the detector version.

*/ inline void SetStatus(const DetectorVersionStatus& value) { m_status = value; } /** *

The status of the detector version.

*/ inline void SetStatus(DetectorVersionStatus&& value) { m_status = std::move(value); } /** *

The status of the detector version.

*/ inline CreateDetectorVersionResult& WithStatus(const DetectorVersionStatus& value) { SetStatus(value); return *this;} /** *

The status of the detector version.

*/ inline CreateDetectorVersionResult& WithStatus(DetectorVersionStatus&& value) { SetStatus(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 CreateDetectorVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDetectorVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDetectorVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_detectorId; Aws::String m_detectorVersionId; DetectorVersionStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace FraudDetector } // namespace Aws