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

The ARN of the job template.

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

The ARN of the job template.

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

The ARN of the job template.

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

The ARN of the job template.

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

The ARN of the job template.

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

The ARN of the job template.

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

The ARN of the job template.

*/ inline CreateJobTemplateResult& 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 void SetJobTemplateId(const Aws::String& value) { m_jobTemplateId = value; } /** *

The unique identifier of the job template.

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

The unique identifier of the job template.

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

The unique identifier of the job template.

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

The unique identifier of the job template.

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

The unique identifier of the job template.

*/ inline CreateJobTemplateResult& WithJobTemplateId(const char* value) { SetJobTemplateId(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 CreateJobTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateJobTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateJobTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobTemplateArn; Aws::String m_jobTemplateId; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws