/** * 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 Http { class URI; } //namespace Http namespace IoT { namespace Model { /** */ class DescribeManagedJobTemplateRequest : public IoTRequest { public: AWS_IOT_API DescribeManagedJobTemplateRequest(); // 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 "DescribeManagedJobTemplate"; } AWS_IOT_API Aws::String SerializePayload() const override; AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The unique name of a managed job template, which is required.

*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *

The unique name of a managed job template, which is required.

*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *

The unique name of a managed job template, which is required.

*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *

The unique name of a managed job template, which is required.

*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *

The unique name of a managed job template, which is required.

*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *

The unique name of a managed job template, which is required.

*/ inline DescribeManagedJobTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *

The unique name of a managed job template, which is required.

*/ inline DescribeManagedJobTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *

The unique name of a managed job template, which is required.

*/ inline DescribeManagedJobTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline const Aws::String& GetTemplateVersion() const{ return m_templateVersion; } /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline bool TemplateVersionHasBeenSet() const { return m_templateVersionHasBeenSet; } /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline void SetTemplateVersion(const Aws::String& value) { m_templateVersionHasBeenSet = true; m_templateVersion = value; } /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline void SetTemplateVersion(Aws::String&& value) { m_templateVersionHasBeenSet = true; m_templateVersion = std::move(value); } /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline void SetTemplateVersion(const char* value) { m_templateVersionHasBeenSet = true; m_templateVersion.assign(value); } /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline DescribeManagedJobTemplateRequest& WithTemplateVersion(const Aws::String& value) { SetTemplateVersion(value); return *this;} /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline DescribeManagedJobTemplateRequest& WithTemplateVersion(Aws::String&& value) { SetTemplateVersion(std::move(value)); return *this;} /** *

An optional parameter to specify version of a managed template. If not * specified, the pre-defined default version is returned.

*/ inline DescribeManagedJobTemplateRequest& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;} private: Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_templateVersion; bool m_templateVersionHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws