/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class DescribeManagedJobTemplateResult { public: AWS_IOT_API DescribeManagedJobTemplateResult(); AWS_IOT_API DescribeManagedJobTemplateResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API DescribeManagedJobTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique name of a managed template, such as AWS-Reboot.

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

The unique name of a managed template, such as AWS-Reboot.

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

The unique name of a managed template, such as AWS-Reboot.

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

The unique name of a managed template, such as AWS-Reboot.

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

The unique name of a managed template, such as AWS-Reboot.

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

The unique name of a managed template, such as AWS-Reboot.

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

The unique name of a managed template, such as AWS-Reboot.

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

The unique Amazon Resource Name (ARN) of the managed template.

*/ inline const Aws::String& GetTemplateArn() const{ return m_templateArn; } /** *

The unique Amazon Resource Name (ARN) of the managed template.

*/ inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; } /** *

The unique Amazon Resource Name (ARN) of the managed template.

*/ inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); } /** *

The unique Amazon Resource Name (ARN) of the managed template.

*/ inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); } /** *

The unique Amazon Resource Name (ARN) of the managed template.

*/ inline DescribeManagedJobTemplateResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;} /** *

The unique Amazon Resource Name (ARN) of the managed template.

*/ inline DescribeManagedJobTemplateResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;} /** *

The unique Amazon Resource Name (ARN) of the managed template.

*/ inline DescribeManagedJobTemplateResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;} /** *

The unique description of a managed template.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The unique description of a managed template.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The unique description of a managed template.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The unique description of a managed template.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The unique description of a managed template.

*/ inline DescribeManagedJobTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The unique description of a managed template.

*/ inline DescribeManagedJobTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The unique description of a managed template.

*/ inline DescribeManagedJobTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

*/ inline DescribeManagedJobTemplateResult& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;} /** *

A list of environments that are supported with the managed job template.

*/ inline const Aws::Vector& GetEnvironments() const{ return m_environments; } /** *

A list of environments that are supported with the managed job template.

*/ inline void SetEnvironments(const Aws::Vector& value) { m_environments = value; } /** *

A list of environments that are supported with the managed job template.

*/ inline void SetEnvironments(Aws::Vector&& value) { m_environments = std::move(value); } /** *

A list of environments that are supported with the managed job template.

*/ inline DescribeManagedJobTemplateResult& WithEnvironments(const Aws::Vector& value) { SetEnvironments(value); return *this;} /** *

A list of environments that are supported with the managed job template.

*/ inline DescribeManagedJobTemplateResult& WithEnvironments(Aws::Vector&& value) { SetEnvironments(std::move(value)); return *this;} /** *

A list of environments that are supported with the managed job template.

*/ inline DescribeManagedJobTemplateResult& AddEnvironments(const Aws::String& value) { m_environments.push_back(value); return *this; } /** *

A list of environments that are supported with the managed job template.

*/ inline DescribeManagedJobTemplateResult& AddEnvironments(Aws::String&& value) { m_environments.push_back(std::move(value)); return *this; } /** *

A list of environments that are supported with the managed job template.

*/ inline DescribeManagedJobTemplateResult& AddEnvironments(const char* value) { m_environments.push_back(value); return *this; } /** *

A map of key-value pairs that you can use as guidance to specify the inputs * for creating a job from a managed template.

* documentParameters can only be used when creating jobs from Amazon * Web Services managed templates. This parameter can't be used with custom job * templates or to create jobs from them.

*/ inline const Aws::Vector& GetDocumentParameters() const{ return m_documentParameters; } /** *

A map of key-value pairs that you can use as guidance to specify the inputs * for creating a job from a managed template.

* documentParameters can only be used when creating jobs from Amazon * Web Services managed templates. This parameter can't be used with custom job * templates or to create jobs from them.

*/ inline void SetDocumentParameters(const Aws::Vector& value) { m_documentParameters = value; } /** *

A map of key-value pairs that you can use as guidance to specify the inputs * for creating a job from a managed template.

* documentParameters can only be used when creating jobs from Amazon * Web Services managed templates. This parameter can't be used with custom job * templates or to create jobs from them.

*/ inline void SetDocumentParameters(Aws::Vector&& value) { m_documentParameters = std::move(value); } /** *

A map of key-value pairs that you can use as guidance to specify the inputs * for creating a job from a managed template.

* documentParameters can only be used when creating jobs from Amazon * Web Services managed templates. This parameter can't be used with custom job * templates or to create jobs from them.

*/ inline DescribeManagedJobTemplateResult& WithDocumentParameters(const Aws::Vector& value) { SetDocumentParameters(value); return *this;} /** *

A map of key-value pairs that you can use as guidance to specify the inputs * for creating a job from a managed template.

* documentParameters can only be used when creating jobs from Amazon * Web Services managed templates. This parameter can't be used with custom job * templates or to create jobs from them.

*/ inline DescribeManagedJobTemplateResult& WithDocumentParameters(Aws::Vector&& value) { SetDocumentParameters(std::move(value)); return *this;} /** *

A map of key-value pairs that you can use as guidance to specify the inputs * for creating a job from a managed template.

* documentParameters can only be used when creating jobs from Amazon * Web Services managed templates. This parameter can't be used with custom job * templates or to create jobs from them.

*/ inline DescribeManagedJobTemplateResult& AddDocumentParameters(const DocumentParameter& value) { m_documentParameters.push_back(value); return *this; } /** *

A map of key-value pairs that you can use as guidance to specify the inputs * for creating a job from a managed template.

* documentParameters can only be used when creating jobs from Amazon * Web Services managed templates. This parameter can't be used with custom job * templates or to create jobs from them.

*/ inline DescribeManagedJobTemplateResult& AddDocumentParameters(DocumentParameter&& value) { m_documentParameters.push_back(std::move(value)); return *this; } /** *

The document schema for a managed job template.

*/ inline const Aws::String& GetDocument() const{ return m_document; } /** *

The document schema for a managed job template.

*/ inline void SetDocument(const Aws::String& value) { m_document = value; } /** *

The document schema for a managed job template.

*/ inline void SetDocument(Aws::String&& value) { m_document = std::move(value); } /** *

The document schema for a managed job template.

*/ inline void SetDocument(const char* value) { m_document.assign(value); } /** *

The document schema for a managed job template.

*/ inline DescribeManagedJobTemplateResult& WithDocument(const Aws::String& value) { SetDocument(value); return *this;} /** *

The document schema for a managed job template.

*/ inline DescribeManagedJobTemplateResult& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;} /** *

The document schema for a managed job template.

*/ inline DescribeManagedJobTemplateResult& WithDocument(const char* value) { SetDocument(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeManagedJobTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeManagedJobTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeManagedJobTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_templateName; Aws::String m_templateArn; Aws::String m_description; Aws::String m_templateVersion; Aws::Vector m_environments; Aws::Vector m_documentParameters; Aws::String m_document; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws