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

The model ID.

*/ inline const Aws::String& GetModelId() const{ return m_modelId; } /** *

The model ID.

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

The model ID.

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

The model ID.

*/ inline void SetModelId(const char* value) { m_modelId.assign(value); } /** *

The model ID.

*/ inline UpdateModelVersionResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} /** *

The model ID.

*/ inline UpdateModelVersionResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} /** *

The model ID.

*/ inline UpdateModelVersionResult& WithModelId(const char* value) { SetModelId(value); return *this;} /** *

The model type.

*/ inline const ModelTypeEnum& GetModelType() const{ return m_modelType; } /** *

The model type.

*/ inline void SetModelType(const ModelTypeEnum& value) { m_modelType = value; } /** *

The model type.

*/ inline void SetModelType(ModelTypeEnum&& value) { m_modelType = std::move(value); } /** *

The model type.

*/ inline UpdateModelVersionResult& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;} /** *

The model type.

*/ inline UpdateModelVersionResult& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;} /** *

The model version number of the model version updated.

*/ inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; } /** *

The model version number of the model version updated.

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

The model version number of the model version updated.

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

The model version number of the model version updated.

*/ inline void SetModelVersionNumber(const char* value) { m_modelVersionNumber.assign(value); } /** *

The model version number of the model version updated.

*/ inline UpdateModelVersionResult& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;} /** *

The model version number of the model version updated.

*/ inline UpdateModelVersionResult& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;} /** *

The model version number of the model version updated.

*/ inline UpdateModelVersionResult& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;} /** *

The status of the updated model version.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the updated model version.

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

The status of the updated model version.

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

The status of the updated model version.

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

The status of the updated model version.

*/ inline UpdateModelVersionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the updated model version.

*/ inline UpdateModelVersionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the updated model version.

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