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

The ARN of the model created in Amazon SageMaker.

*/ inline const Aws::String& GetModelArn() const{ return m_modelArn; } /** *

The ARN of the model created in Amazon SageMaker.

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

The ARN of the model created in Amazon SageMaker.

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

The ARN of the model created in Amazon SageMaker.

*/ inline void SetModelArn(const char* value) { m_modelArn.assign(value); } /** *

The ARN of the model created in Amazon SageMaker.

*/ inline CreateModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;} /** *

The ARN of the model created in Amazon SageMaker.

*/ inline CreateModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;} /** *

The ARN of the model created in Amazon SageMaker.

*/ inline CreateModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;} private: Aws::String m_modelArn; }; } // namespace Model } // namespace SageMaker } // namespace Aws