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

Information about the job execution.

*/ inline const JobExecution& GetExecution() const{ return m_execution; } /** *

Information about the job execution.

*/ inline void SetExecution(const JobExecution& value) { m_execution = value; } /** *

Information about the job execution.

*/ inline void SetExecution(JobExecution&& value) { m_execution = std::move(value); } /** *

Information about the job execution.

*/ inline DescribeJobExecutionResult& WithExecution(const JobExecution& value) { SetExecution(value); return *this;} /** *

Information about the job execution.

*/ inline DescribeJobExecutionResult& WithExecution(JobExecution&& value) { SetExecution(std::move(value)); return *this;} private: JobExecution m_execution; }; } // namespace Model } // namespace IoT } // namespace Aws