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

The name of the work team to return a description of.

*/ inline const Aws::String& GetWorkteamName() const{ return m_workteamName; } /** *

The name of the work team to return a description of.

*/ inline bool WorkteamNameHasBeenSet() const { return m_workteamNameHasBeenSet; } /** *

The name of the work team to return a description of.

*/ inline void SetWorkteamName(const Aws::String& value) { m_workteamNameHasBeenSet = true; m_workteamName = value; } /** *

The name of the work team to return a description of.

*/ inline void SetWorkteamName(Aws::String&& value) { m_workteamNameHasBeenSet = true; m_workteamName = std::move(value); } /** *

The name of the work team to return a description of.

*/ inline void SetWorkteamName(const char* value) { m_workteamNameHasBeenSet = true; m_workteamName.assign(value); } /** *

The name of the work team to return a description of.

*/ inline DescribeWorkteamRequest& WithWorkteamName(const Aws::String& value) { SetWorkteamName(value); return *this;} /** *

The name of the work team to return a description of.

*/ inline DescribeWorkteamRequest& WithWorkteamName(Aws::String&& value) { SetWorkteamName(std::move(value)); return *this;} /** *

The name of the work team to return a description of.

*/ inline DescribeWorkteamRequest& WithWorkteamName(const char* value) { SetWorkteamName(value); return *this;} private: Aws::String m_workteamName; bool m_workteamNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws