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

This output displays the application ID on which the job run was * submitted.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

This output displays the application ID on which the job run was * submitted.

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

This output displays the application ID on which the job run was * submitted.

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

This output displays the application ID on which the job run was * submitted.

*/ inline void SetApplicationId(const char* value) { m_applicationId.assign(value); } /** *

This output displays the application ID on which the job run was * submitted.

*/ inline StartJobRunResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

This output displays the application ID on which the job run was * submitted.

*/ inline StartJobRunResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

This output displays the application ID on which the job run was * submitted.

*/ inline StartJobRunResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The output contains the ID of the started job run.

*/ inline const Aws::String& GetJobRunId() const{ return m_jobRunId; } /** *

The output contains the ID of the started job run.

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

The output contains the ID of the started job run.

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

The output contains the ID of the started job run.

*/ inline void SetJobRunId(const char* value) { m_jobRunId.assign(value); } /** *

The output contains the ID of the started job run.

*/ inline StartJobRunResult& WithJobRunId(const Aws::String& value) { SetJobRunId(value); return *this;} /** *

The output contains the ID of the started job run.

*/ inline StartJobRunResult& WithJobRunId(Aws::String&& value) { SetJobRunId(std::move(value)); return *this;} /** *

The output contains the ID of the started job run.

*/ inline StartJobRunResult& WithJobRunId(const char* value) { SetJobRunId(value); return *this;} /** *

This output displays the ARN of the job run..

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

This output displays the ARN of the job run..

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

This output displays the ARN of the job run..

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

This output displays the ARN of the job run..

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

This output displays the ARN of the job run..

*/ inline StartJobRunResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

This output displays the ARN of the job run..

*/ inline StartJobRunResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

This output displays the ARN of the job run..

*/ inline StartJobRunResult& WithArn(const char* value) { SetArn(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 StartJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; Aws::String m_jobRunId; Aws::String m_arn; Aws::String m_requestId; }; } // namespace Model } // namespace EMRServerless } // namespace Aws