/** * 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 AWS_IOT_API DescribeJobResult { public: DescribeJobResult(); DescribeJobResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_documentSource; Job m_job; }; } // namespace Model } // namespace IoT } // namespace Aws