/** * 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 UpdateJobExecutionResult { public: AWS_IOTJOBSDATAPLANE_API UpdateJobExecutionResult(); AWS_IOTJOBSDATAPLANE_API UpdateJobExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_IOTJOBSDATAPLANE_API 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;} 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 UpdateJobExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateJobExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateJobExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: JobExecutionState m_executionState; Aws::String m_jobDocument; Aws::String m_requestId; }; } // namespace Model } // namespace IoTJobsDataPlane } // namespace Aws