/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MainframeModernization { namespace Model { class GetBatchJobExecutionResult { public: AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult(); AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_MAINFRAMEMODERNIZATION_API GetBatchJobExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the application.

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

The identifier of the application.

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

The identifier of the application.

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

The identifier of the application.

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

The identifier of the application.

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

The identifier of the application.

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

The identifier of the application.

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

The unique identifier of this batch job.

*/ inline const BatchJobIdentifier& GetBatchJobIdentifier() const{ return m_batchJobIdentifier; } /** *

The unique identifier of this batch job.

*/ inline void SetBatchJobIdentifier(const BatchJobIdentifier& value) { m_batchJobIdentifier = value; } /** *

The unique identifier of this batch job.

*/ inline void SetBatchJobIdentifier(BatchJobIdentifier&& value) { m_batchJobIdentifier = std::move(value); } /** *

The unique identifier of this batch job.

*/ inline GetBatchJobExecutionResult& WithBatchJobIdentifier(const BatchJobIdentifier& value) { SetBatchJobIdentifier(value); return *this;} /** *

The unique identifier of this batch job.

*/ inline GetBatchJobExecutionResult& WithBatchJobIdentifier(BatchJobIdentifier&& value) { SetBatchJobIdentifier(std::move(value)); return *this;} /** *

The timestamp when the batch job execution ended.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The timestamp when the batch job execution ended.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } /** *

The timestamp when the batch job execution ended.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } /** *

The timestamp when the batch job execution ended.

*/ inline GetBatchJobExecutionResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The timestamp when the batch job execution ended.

*/ inline GetBatchJobExecutionResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The unique identifier for this batch job execution.

*/ inline const Aws::String& GetExecutionId() const{ return m_executionId; } /** *

The unique identifier for this batch job execution.

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

The unique identifier for this batch job execution.

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

The unique identifier for this batch job execution.

*/ inline void SetExecutionId(const char* value) { m_executionId.assign(value); } /** *

The unique identifier for this batch job execution.

*/ inline GetBatchJobExecutionResult& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;} /** *

The unique identifier for this batch job execution.

*/ inline GetBatchJobExecutionResult& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;} /** *

The unique identifier for this batch job execution.

*/ inline GetBatchJobExecutionResult& WithExecutionId(const char* value) { SetExecutionId(value); return *this;} /** *

The unique identifier for this batch job.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The unique identifier for this batch job.

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

The unique identifier for this batch job.

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

The unique identifier for this batch job.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The unique identifier for this batch job.

*/ inline GetBatchJobExecutionResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The unique identifier for this batch job.

*/ inline GetBatchJobExecutionResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The unique identifier for this batch job.

*/ inline GetBatchJobExecutionResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The name of this batch job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of this batch job.

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

The name of this batch job.

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

The name of this batch job.

*/ inline void SetJobName(const char* value) { m_jobName.assign(value); } /** *

The name of this batch job.

*/ inline GetBatchJobExecutionResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of this batch job.

*/ inline GetBatchJobExecutionResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of this batch job.

*/ inline GetBatchJobExecutionResult& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The type of job.

*/ inline const BatchJobType& GetJobType() const{ return m_jobType; } /** *

The type of job.

*/ inline void SetJobType(const BatchJobType& value) { m_jobType = value; } /** *

The type of job.

*/ inline void SetJobType(BatchJobType&& value) { m_jobType = std::move(value); } /** *

The type of job.

*/ inline GetBatchJobExecutionResult& WithJobType(const BatchJobType& value) { SetJobType(value); return *this;} /** *

The type of job.

*/ inline GetBatchJobExecutionResult& WithJobType(BatchJobType&& value) { SetJobType(std::move(value)); return *this;} /** *

The user for the job.

*/ inline const Aws::String& GetJobUser() const{ return m_jobUser; } /** *

The user for the job.

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

The user for the job.

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

The user for the job.

*/ inline void SetJobUser(const char* value) { m_jobUser.assign(value); } /** *

The user for the job.

*/ inline GetBatchJobExecutionResult& WithJobUser(const Aws::String& value) { SetJobUser(value); return *this;} /** *

The user for the job.

*/ inline GetBatchJobExecutionResult& WithJobUser(Aws::String&& value) { SetJobUser(std::move(value)); return *this;} /** *

The user for the job.

*/ inline GetBatchJobExecutionResult& WithJobUser(const char* value) { SetJobUser(value); return *this;} /** *

The batch job return code from either the Blu Age or Micro Focus runtime * engines. For more information, see Batch * return codes in the IBM WebSphere Application Server * documentation.

*/ inline const Aws::String& GetReturnCode() const{ return m_returnCode; } /** *

The batch job return code from either the Blu Age or Micro Focus runtime * engines. For more information, see Batch * return codes in the IBM WebSphere Application Server * documentation.

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

The batch job return code from either the Blu Age or Micro Focus runtime * engines. For more information, see Batch * return codes in the IBM WebSphere Application Server * documentation.

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

The batch job return code from either the Blu Age or Micro Focus runtime * engines. For more information, see Batch * return codes in the IBM WebSphere Application Server * documentation.

*/ inline void SetReturnCode(const char* value) { m_returnCode.assign(value); } /** *

The batch job return code from either the Blu Age or Micro Focus runtime * engines. For more information, see Batch * return codes in the IBM WebSphere Application Server * documentation.

*/ inline GetBatchJobExecutionResult& WithReturnCode(const Aws::String& value) { SetReturnCode(value); return *this;} /** *

The batch job return code from either the Blu Age or Micro Focus runtime * engines. For more information, see Batch * return codes in the IBM WebSphere Application Server * documentation.

*/ inline GetBatchJobExecutionResult& WithReturnCode(Aws::String&& value) { SetReturnCode(std::move(value)); return *this;} /** *

The batch job return code from either the Blu Age or Micro Focus runtime * engines. For more information, see Batch * return codes in the IBM WebSphere Application Server * documentation.

*/ inline GetBatchJobExecutionResult& WithReturnCode(const char* value) { SetReturnCode(value); return *this;} /** *

The timestamp when the batch job execution started.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The timestamp when the batch job execution started.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** *

The timestamp when the batch job execution started.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** *

The timestamp when the batch job execution started.

*/ inline GetBatchJobExecutionResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The timestamp when the batch job execution started.

*/ inline GetBatchJobExecutionResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The status of the batch job execution.

*/ inline const BatchJobExecutionStatus& GetStatus() const{ return m_status; } /** *

The status of the batch job execution.

*/ inline void SetStatus(const BatchJobExecutionStatus& value) { m_status = value; } /** *

The status of the batch job execution.

*/ inline void SetStatus(BatchJobExecutionStatus&& value) { m_status = std::move(value); } /** *

The status of the batch job execution.

*/ inline GetBatchJobExecutionResult& WithStatus(const BatchJobExecutionStatus& value) { SetStatus(value); return *this;} /** *

The status of the batch job execution.

*/ inline GetBatchJobExecutionResult& WithStatus(BatchJobExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The reason for the reported status.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *

The reason for the reported status.

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

The reason for the reported status.

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

The reason for the reported status.

*/ inline void SetStatusReason(const char* value) { m_statusReason.assign(value); } /** *

The reason for the reported status.

*/ inline GetBatchJobExecutionResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *

The reason for the reported status.

*/ inline GetBatchJobExecutionResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *

The reason for the reported status.

*/ inline GetBatchJobExecutionResult& WithStatusReason(const char* value) { SetStatusReason(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 GetBatchJobExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBatchJobExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBatchJobExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; BatchJobIdentifier m_batchJobIdentifier; Aws::Utils::DateTime m_endTime; Aws::String m_executionId; Aws::String m_jobId; Aws::String m_jobName; BatchJobType m_jobType; Aws::String m_jobUser; Aws::String m_returnCode; Aws::Utils::DateTime m_startTime; BatchJobExecutionStatus m_status; Aws::String m_statusReason; Aws::String m_requestId; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws