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

The output displays information about the job run.

*/ inline const JobRun& GetJobRun() const{ return m_jobRun; } /** *

The output displays information about the job run.

*/ inline void SetJobRun(const JobRun& value) { m_jobRun = value; } /** *

The output displays information about the job run.

*/ inline void SetJobRun(JobRun&& value) { m_jobRun = std::move(value); } /** *

The output displays information about the job run.

*/ inline GetJobRunResult& WithJobRun(const JobRun& value) { SetJobRun(value); return *this;} /** *

The output displays information about the job run.

*/ inline GetJobRunResult& WithJobRun(JobRun&& value) { SetJobRun(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 GetJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: JobRun m_jobRun; Aws::String m_requestId; }; } // namespace Model } // namespace EMRServerless } // namespace Aws