/** * 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 CreateCompilationJobResult { public: AWS_SAGEMAKER_API CreateCompilationJobResult(); AWS_SAGEMAKER_API CreateCompilationJobResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API 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;} 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 CreateCompilationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateCompilationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateCompilationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_compilationJobArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws