/** * 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 RoboMaker { namespace Model { /** */ class DescribeWorldTemplateRequest : public RoboMakerRequest { public: AWS_ROBOMAKER_API DescribeWorldTemplateRequest(); // 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 "DescribeWorldTemplate"; } AWS_ROBOMAKER_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline const Aws::String& GetTemplate() const{ return m_template; } /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline DescribeWorldTemplateRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline DescribeWorldTemplateRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} /** *

The Amazon Resource Name (arn) of the world template you want to * describe.

*/ inline DescribeWorldTemplateRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} private: Aws::String m_template; bool m_templateHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws