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

If the action is successful, the service sends back an HTTP 200 response. * Amazon SageMaker returns the following data in JSON format:

  • * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled * job.

*/ inline const Aws::String& GetCompilationJobArn() const{ return m_compilationJobArn; } /** *

If the action is successful, the service sends back an HTTP 200 response. * Amazon SageMaker returns the following data in JSON format:

  • * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled * job.

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

If the action is successful, the service sends back an HTTP 200 response. * Amazon SageMaker returns the following data in JSON format:

  • * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled * job.

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

If the action is successful, the service sends back an HTTP 200 response. * Amazon SageMaker returns the following data in JSON format:

  • * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled * job.

*/ inline void SetCompilationJobArn(const char* value) { m_compilationJobArn.assign(value); } /** *

If the action is successful, the service sends back an HTTP 200 response. * Amazon SageMaker returns the following data in JSON format:

  • * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled * job.

*/ inline CreateCompilationJobResult& WithCompilationJobArn(const Aws::String& value) { SetCompilationJobArn(value); return *this;} /** *

If the action is successful, the service sends back an HTTP 200 response. * Amazon SageMaker returns the following data in JSON format:

  • * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled * job.

*/ inline CreateCompilationJobResult& WithCompilationJobArn(Aws::String&& value) { SetCompilationJobArn(std::move(value)); return *this;} /** *

If the action is successful, the service sends back an HTTP 200 response. * Amazon SageMaker returns the following data in JSON format:

  • * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled * job.

*/ inline CreateCompilationJobResult& WithCompilationJobArn(const char* value) { SetCompilationJobArn(value); return *this;} private: Aws::String m_compilationJobArn; }; } // namespace Model } // namespace SageMaker } // namespace Aws