/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class DescribeCompilationJobRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API DescribeCompilationJobRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeCompilationJob"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the model compilation job that you want information about.

*/ inline const Aws::String& GetCompilationJobName() const{ return m_compilationJobName; } /** *

The name of the model compilation job that you want information about.

*/ inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; } /** *

The name of the model compilation job that you want information about.

*/ inline void SetCompilationJobName(const Aws::String& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = value; } /** *

The name of the model compilation job that you want information about.

*/ inline void SetCompilationJobName(Aws::String&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::move(value); } /** *

The name of the model compilation job that you want information about.

*/ inline void SetCompilationJobName(const char* value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName.assign(value); } /** *

The name of the model compilation job that you want information about.

*/ inline DescribeCompilationJobRequest& WithCompilationJobName(const Aws::String& value) { SetCompilationJobName(value); return *this;} /** *

The name of the model compilation job that you want information about.

*/ inline DescribeCompilationJobRequest& WithCompilationJobName(Aws::String&& value) { SetCompilationJobName(std::move(value)); return *this;} /** *

The name of the model compilation job that you want information about.

*/ inline DescribeCompilationJobRequest& WithCompilationJobName(const char* value) { SetCompilationJobName(value); return *this;} private: Aws::String m_compilationJobName; bool m_compilationJobNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws