/** * 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 IoTJobsDataPlane { namespace Model { class AWS_IOTJOBSDATAPLANE_API UpdateJobExecutionResult { public: UpdateJobExecutionResult(); UpdateJobExecutionResult(const Aws::AmazonWebServiceResult& result); UpdateJobExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A JobExecutionState object.

*/ inline const JobExecutionState& GetExecutionState() const{ return m_executionState; } /** *

A JobExecutionState object.

*/ inline void SetExecutionState(const JobExecutionState& value) { m_executionState = value; } /** *

A JobExecutionState object.

*/ inline void SetExecutionState(JobExecutionState&& value) { m_executionState = std::move(value); } /** *

A JobExecutionState object.

*/ inline UpdateJobExecutionResult& WithExecutionState(const JobExecutionState& value) { SetExecutionState(value); return *this;} /** *

A JobExecutionState object.

*/ inline UpdateJobExecutionResult& WithExecutionState(JobExecutionState&& value) { SetExecutionState(std::move(value)); return *this;} /** *

The contents of the Job Documents.

*/ inline const Aws::String& GetJobDocument() const{ return m_jobDocument; } /** *

The contents of the Job Documents.

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

The contents of the Job Documents.

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

The contents of the Job Documents.

*/ inline void SetJobDocument(const char* value) { m_jobDocument.assign(value); } /** *

The contents of the Job Documents.

*/ inline UpdateJobExecutionResult& WithJobDocument(const Aws::String& value) { SetJobDocument(value); return *this;} /** *

The contents of the Job Documents.

*/ inline UpdateJobExecutionResult& WithJobDocument(Aws::String&& value) { SetJobDocument(std::move(value)); return *this;} /** *

The contents of the Job Documents.

*/ inline UpdateJobExecutionResult& WithJobDocument(const char* value) { SetJobDocument(value); return *this;} private: JobExecutionState m_executionState; Aws::String m_jobDocument; }; } // namespace Model } // namespace IoTJobsDataPlane } // namespace Aws