/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** *

An object that contains information about the managed template.

See * Also:

AWS * API Reference

*/ class ManagedJobTemplateSummary { public: AWS_IOT_API ManagedJobTemplateSummary(); AWS_IOT_API ManagedJobTemplateSummary(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API ManagedJobTemplateSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) for a managed template.

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

The Amazon Resource Name (ARN) for a managed template.

*/ inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for a managed template.

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

The Amazon Resource Name (ARN) for a managed template.

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

The Amazon Resource Name (ARN) for a managed template.

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

The Amazon Resource Name (ARN) for a managed template.

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

The Amazon Resource Name (ARN) for a managed template.

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

The Amazon Resource Name (ARN) for a managed template.

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

The unique Name for a managed template.

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

The unique Name for a managed template.

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

The unique Name for a managed template.

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

The unique Name for a managed template.

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

The unique Name for a managed template.

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

The unique Name for a managed template.

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

The unique Name for a managed template.

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

The unique Name for a managed template.

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

The description for a managed template.

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

The description for a managed template.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description for a managed template.

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

The description for a managed template.

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

The description for a managed template.

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

The description for a managed template.

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

The description for a managed template.

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

The description for a managed template.

*/ inline ManagedJobTemplateSummary& WithDescription(const char* value) { SetDescription(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 bool EnvironmentsHasBeenSet() const { return m_environmentsHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline ManagedJobTemplateSummary& AddEnvironments(const char* value) { m_environmentsHasBeenSet = true; m_environments.push_back(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 bool TemplateVersionHasBeenSet() const { return m_templateVersionHasBeenSet; } /** *

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

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

The version for a managed template.

*/ inline ManagedJobTemplateSummary& WithTemplateVersion(const char* value) { SetTemplateVersion(value); return *this;} private: Aws::String m_templateArn; bool m_templateArnHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_environments; bool m_environmentsHasBeenSet = false; Aws::String m_templateVersion; bool m_templateVersionHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws