/** * 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 AssociateTargetsWithJobResult { public: AWS_IOT_API AssociateTargetsWithJobResult(); AWS_IOT_API AssociateTargetsWithJobResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API AssociateTargetsWithJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An ARN identifying the job.

*/ inline const Aws::String& GetJobArn() const{ return m_jobArn; } /** *

An ARN identifying the job.

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

An ARN identifying the job.

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

An ARN identifying the job.

*/ inline void SetJobArn(const char* value) { m_jobArn.assign(value); } /** *

An ARN identifying the job.

*/ inline AssociateTargetsWithJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} /** *

An ARN identifying the job.

*/ inline AssociateTargetsWithJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} /** *

An ARN identifying the job.

*/ inline AssociateTargetsWithJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;} /** *

The unique identifier you assigned to this job when it was created.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The unique identifier you assigned to this job when it was created.

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

The unique identifier you assigned to this job when it was created.

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

The unique identifier you assigned to this job when it was created.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The unique identifier you assigned to this job when it was created.

*/ inline AssociateTargetsWithJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The unique identifier you assigned to this job when it was created.

*/ inline AssociateTargetsWithJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The unique identifier you assigned to this job when it was created.

*/ inline AssociateTargetsWithJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

A short text description of the job.

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

A short text description of the job.

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

A short text description of the job.

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

A short text description of the job.

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

A short text description of the job.

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

A short text description of the job.

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

A short text description of the job.

*/ inline AssociateTargetsWithJobResult& WithDescription(const char* value) { SetDescription(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 AssociateTargetsWithJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateTargetsWithJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateTargetsWithJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobArn; Aws::String m_jobId; Aws::String m_description; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws