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

An S3 link to the job document.

*/ inline const Aws::String& GetDocumentSource() const{ return m_documentSource; } /** *

An S3 link to the job document.

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

An S3 link to the job document.

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

An S3 link to the job document.

*/ inline void SetDocumentSource(const char* value) { m_documentSource.assign(value); } /** *

An S3 link to the job document.

*/ inline DescribeJobResult& WithDocumentSource(const Aws::String& value) { SetDocumentSource(value); return *this;} /** *

An S3 link to the job document.

*/ inline DescribeJobResult& WithDocumentSource(Aws::String&& value) { SetDocumentSource(std::move(value)); return *this;} /** *

An S3 link to the job document.

*/ inline DescribeJobResult& WithDocumentSource(const char* value) { SetDocumentSource(value); return *this;} /** *

Information about the job.

*/ inline const Job& GetJob() const{ return m_job; } /** *

Information about the job.

*/ inline void SetJob(const Job& value) { m_job = value; } /** *

Information about the job.

*/ inline void SetJob(Job&& value) { m_job = std::move(value); } /** *

Information about the job.

*/ inline DescribeJobResult& WithJob(const Job& value) { SetJob(value); return *this;} /** *

Information about the job.

*/ inline DescribeJobResult& WithJob(Job&& value) { SetJob(std::move(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 DescribeJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_documentSource; Job m_job; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws