/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MainframeModernization { namespace Model { /** *

A subset of the possible batch job attributes. Used in the batch job * list.

See Also:

AWS * API Reference

*/ class BatchJobExecutionSummary { public: AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary(); AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API BatchJobExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the application that hosts this batch job.

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

The unique identifier of the application that hosts this batch job.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique identifier of the application that hosts this batch job.

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

The unique identifier of the application that hosts this batch job.

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

The unique identifier of the application that hosts this batch job.

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

The unique identifier of the application that hosts this batch job.

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

The unique identifier of the application that hosts this batch job.

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

The unique identifier of the application that hosts this batch job.

*/ inline BatchJobExecutionSummary& 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 bool BatchJobIdentifierHasBeenSet() const { return m_batchJobIdentifierHasBeenSet; } /** *

The unique identifier of this batch job.

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

The unique identifier of this batch job.

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

The unique identifier of this batch job.

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

The unique identifier of this batch job.

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

The timestamp when this batch job execution ended.

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

The timestamp when this batch job execution ended.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The timestamp when this batch job execution ended.

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

The timestamp when this batch job execution ended.

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

The timestamp when this batch job execution ended.

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

The timestamp when this batch job execution ended.

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

The unique identifier of this execution of the batch job.

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

The unique identifier of this execution of the batch job.

*/ inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; } /** *

The unique identifier of this execution of the batch job.

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

The unique identifier of this execution of the batch job.

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

The unique identifier of this execution of the batch job.

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

The unique identifier of this execution of the batch job.

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

The unique identifier of this execution of the batch job.

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

The unique identifier of this execution of the batch job.

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

The unique identifier of a particular batch job.

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

The unique identifier of a particular batch job.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The unique identifier of a particular batch job.

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

The unique identifier of a particular batch job.

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

The unique identifier of a particular batch job.

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

The unique identifier of a particular batch job.

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

The unique identifier of a particular batch job.

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

The unique identifier of a particular batch job.

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

The name of a particular batch job.

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

The name of a particular batch job.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of a particular batch job.

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

The name of a particular batch job.

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

The name of a particular batch job.

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

The name of a particular batch job.

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

The name of a particular batch job.

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

The name of a particular batch job.

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

The type of a particular batch job execution.

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

The type of a particular batch job execution.

*/ inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; } /** *

The type of a particular batch job execution.

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

The type of a particular batch job execution.

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

The type of a particular batch job execution.

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

The type of a particular batch job execution.

*/ inline BatchJobExecutionSummary& WithJobType(BatchJobType&& value) { SetJobType(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 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 bool ReturnCodeHasBeenSet() const { return m_returnCodeHasBeenSet; } /** *

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_returnCodeHasBeenSet = true; 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_returnCodeHasBeenSet = true; 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_returnCodeHasBeenSet = true; 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 BatchJobExecutionSummary& 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 BatchJobExecutionSummary& 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 BatchJobExecutionSummary& WithReturnCode(const char* value) { SetReturnCode(value); return *this;} /** *

The timestamp when a particular batch job execution started.

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

The timestamp when a particular batch job execution started.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The timestamp when a particular batch job execution started.

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

The timestamp when a particular batch job execution started.

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

The timestamp when a particular batch job execution started.

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

The timestamp when a particular batch job execution started.

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

The status of a particular batch job execution.

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

The status of a particular batch job execution.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of a particular batch job execution.

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

The status of a particular batch job execution.

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

The status of a particular batch job execution.

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

The status of a particular batch job execution.

*/ inline BatchJobExecutionSummary& WithStatus(BatchJobExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; BatchJobIdentifier m_batchJobIdentifier; bool m_batchJobIdentifierHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_executionId; bool m_executionIdHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; BatchJobType m_jobType; bool m_jobTypeHasBeenSet = false; Aws::String m_returnCode; bool m_returnCodeHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; BatchJobExecutionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws