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

The Amazon Resource Name (ARN) of the artifact.

*/ inline const Aws::String& GetArtifactArn() const{ return m_artifactArn; } /** *

The Amazon Resource Name (ARN) of the artifact.

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

The Amazon Resource Name (ARN) of the artifact.

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

The Amazon Resource Name (ARN) of the artifact.

*/ inline void SetArtifactArn(const char* value) { m_artifactArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the artifact.

*/ inline CreateArtifactResult& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the artifact.

*/ inline CreateArtifactResult& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the artifact.

*/ inline CreateArtifactResult& WithArtifactArn(const char* value) { SetArtifactArn(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 CreateArtifactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateArtifactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateArtifactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_artifactArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws