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

The ARN of the model version that was created. Use * DescribeProjectVersion to get the current status of the training * operation.

*/ inline const Aws::String& GetProjectVersionArn() const{ return m_projectVersionArn; } /** *

The ARN of the model version that was created. Use * DescribeProjectVersion to get the current status of the training * operation.

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

The ARN of the model version that was created. Use * DescribeProjectVersion to get the current status of the training * operation.

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

The ARN of the model version that was created. Use * DescribeProjectVersion to get the current status of the training * operation.

*/ inline void SetProjectVersionArn(const char* value) { m_projectVersionArn.assign(value); } /** *

The ARN of the model version that was created. Use * DescribeProjectVersion to get the current status of the training * operation.

*/ inline CreateProjectVersionResult& WithProjectVersionArn(const Aws::String& value) { SetProjectVersionArn(value); return *this;} /** *

The ARN of the model version that was created. Use * DescribeProjectVersion to get the current status of the training * operation.

*/ inline CreateProjectVersionResult& WithProjectVersionArn(Aws::String&& value) { SetProjectVersionArn(std::move(value)); return *this;} /** *

The ARN of the model version that was created. Use * DescribeProjectVersion to get the current status of the training * operation.

*/ inline CreateProjectVersionResult& WithProjectVersionArn(const char* value) { SetProjectVersionArn(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 CreateProjectVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateProjectVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateProjectVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_projectVersionArn; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws