/** * 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 DescribeExperimentRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API DescribeExperimentRequest(); // 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 "DescribeExperiment"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the experiment to describe.

*/ inline const Aws::String& GetExperimentName() const{ return m_experimentName; } /** *

The name of the experiment to describe.

*/ inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; } /** *

The name of the experiment to describe.

*/ inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; } /** *

The name of the experiment to describe.

*/ inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); } /** *

The name of the experiment to describe.

*/ inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); } /** *

The name of the experiment to describe.

*/ inline DescribeExperimentRequest& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;} /** *

The name of the experiment to describe.

*/ inline DescribeExperimentRequest& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;} /** *

The name of the experiment to describe.

*/ inline DescribeExperimentRequest& WithExperimentName(const char* value) { SetExperimentName(value); return *this;} private: Aws::String m_experimentName; bool m_experimentNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws