/** * 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 Personalize { namespace Model { /** */ class DescribeAlgorithmRequest : public PersonalizeRequest { public: AWS_PERSONALIZE_API DescribeAlgorithmRequest(); // 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 "DescribeAlgorithm"; } AWS_PERSONALIZE_API Aws::String SerializePayload() const override; AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; } /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline void SetAlgorithmArn(const Aws::String& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = value; } /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline void SetAlgorithmArn(Aws::String&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline void SetAlgorithmArn(const char* value) { m_algorithmArnHasBeenSet = true; m_algorithmArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline DescribeAlgorithmRequest& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline DescribeAlgorithmRequest& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the algorithm to describe.

*/ inline DescribeAlgorithmRequest& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;} private: Aws::String m_algorithmArn; bool m_algorithmArnHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws