/** * 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 job template.

See * Also:

AWS * API Reference

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

The ARN of the job template.

*/ inline const Aws::String& GetJobTemplateArn() const{ return m_jobTemplateArn; } /** *

The ARN of the job template.

*/ inline bool JobTemplateArnHasBeenSet() const { return m_jobTemplateArnHasBeenSet; } /** *

The ARN of the job template.

*/ inline void SetJobTemplateArn(const Aws::String& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = value; } /** *

The ARN of the job template.

*/ inline void SetJobTemplateArn(Aws::String&& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = std::move(value); } /** *

The ARN of the job template.

*/ inline void SetJobTemplateArn(const char* value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn.assign(value); } /** *

The ARN of the job template.

*/ inline JobTemplateSummary& WithJobTemplateArn(const Aws::String& value) { SetJobTemplateArn(value); return *this;} /** *

The ARN of the job template.

*/ inline JobTemplateSummary& WithJobTemplateArn(Aws::String&& value) { SetJobTemplateArn(std::move(value)); return *this;} /** *

The ARN of the job template.

*/ inline JobTemplateSummary& WithJobTemplateArn(const char* value) { SetJobTemplateArn(value); return *this;} /** *

The unique identifier of the job template.

*/ inline const Aws::String& GetJobTemplateId() const{ return m_jobTemplateId; } /** *

The unique identifier of the job template.

*/ inline bool JobTemplateIdHasBeenSet() const { return m_jobTemplateIdHasBeenSet; } /** *

The unique identifier of the job template.

*/ inline void SetJobTemplateId(const Aws::String& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = value; } /** *

The unique identifier of the job template.

*/ inline void SetJobTemplateId(Aws::String&& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = std::move(value); } /** *

The unique identifier of the job template.

*/ inline void SetJobTemplateId(const char* value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId.assign(value); } /** *

The unique identifier of the job template.

*/ inline JobTemplateSummary& WithJobTemplateId(const Aws::String& value) { SetJobTemplateId(value); return *this;} /** *

The unique identifier of the job template.

*/ inline JobTemplateSummary& WithJobTemplateId(Aws::String&& value) { SetJobTemplateId(std::move(value)); return *this;} /** *

The unique identifier of the job template.

*/ inline JobTemplateSummary& WithJobTemplateId(const char* value) { SetJobTemplateId(value); return *this;} /** *

A description of the job template.

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

A description of the job template.

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

A description of the job template.

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

A description of the job template.

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

A description of the job template.

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

A description of the job template.

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

A description of the job template.

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

A description of the job template.

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

The time, in seconds since the epoch, when the job template was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time, in seconds since the epoch, when the job template was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The time, in seconds since the epoch, when the job template was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The time, in seconds since the epoch, when the job template was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The time, in seconds since the epoch, when the job template was created.

*/ inline JobTemplateSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time, in seconds since the epoch, when the job template was created.

*/ inline JobTemplateSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_jobTemplateArn; bool m_jobTemplateArnHasBeenSet = false; Aws::String m_jobTemplateId; bool m_jobTemplateIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws