/** * 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 Http { class URI; } //namespace Http namespace MainframeModernization { namespace Model { /** */ class ListBatchJobExecutionsRequest : public MainframeModernizationRequest { public: AWS_MAINFRAMEMODERNIZATION_API ListBatchJobExecutionsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListBatchJobExecutions"; } AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override; AWS_MAINFRAMEMODERNIZATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The unique identifier of the application.

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

The unique identifier of the application.

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

The unique identifier of the application.

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

The unique identifier of the application.

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

The unique identifier of the application.

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

The unique identifier of the application.

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

The unique identifier of the application.

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

The unique identifier of the application.

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

The unique identifier of each batch job execution.

*/ inline const Aws::Vector& GetExecutionIds() const{ return m_executionIds; } /** *

The unique identifier of each batch job execution.

*/ inline bool ExecutionIdsHasBeenSet() const { return m_executionIdsHasBeenSet; } /** *

The unique identifier of each batch job execution.

*/ inline void SetExecutionIds(const Aws::Vector& value) { m_executionIdsHasBeenSet = true; m_executionIds = value; } /** *

The unique identifier of each batch job execution.

*/ inline void SetExecutionIds(Aws::Vector&& value) { m_executionIdsHasBeenSet = true; m_executionIds = std::move(value); } /** *

The unique identifier of each batch job execution.

*/ inline ListBatchJobExecutionsRequest& WithExecutionIds(const Aws::Vector& value) { SetExecutionIds(value); return *this;} /** *

The unique identifier of each batch job execution.

*/ inline ListBatchJobExecutionsRequest& WithExecutionIds(Aws::Vector&& value) { SetExecutionIds(std::move(value)); return *this;} /** *

The unique identifier of each batch job execution.

*/ inline ListBatchJobExecutionsRequest& AddExecutionIds(const Aws::String& value) { m_executionIdsHasBeenSet = true; m_executionIds.push_back(value); return *this; } /** *

The unique identifier of each batch job execution.

*/ inline ListBatchJobExecutionsRequest& AddExecutionIds(Aws::String&& value) { m_executionIdsHasBeenSet = true; m_executionIds.push_back(std::move(value)); return *this; } /** *

The unique identifier of each batch job execution.

*/ inline ListBatchJobExecutionsRequest& AddExecutionIds(const char* value) { m_executionIdsHasBeenSet = true; m_executionIds.push_back(value); return *this; } /** *

The name of each batch job execution.

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

The name of each batch job execution.

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

The name of each batch job execution.

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

The name of each batch job execution.

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

The name of each batch job execution.

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

The name of each batch job execution.

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

The name of each batch job execution.

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

The name of each batch job execution.

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

The maximum number of batch job executions to return.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of batch job executions to return.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of batch job executions to return.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of batch job executions to return.

*/ inline ListBatchJobExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline ListBatchJobExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline ListBatchJobExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A pagination token to control the number of batch job executions displayed in * the list.

*/ inline ListBatchJobExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The time after which the batch job executions started.

*/ inline const Aws::Utils::DateTime& GetStartedAfter() const{ return m_startedAfter; } /** *

The time after which the batch job executions started.

*/ inline bool StartedAfterHasBeenSet() const { return m_startedAfterHasBeenSet; } /** *

The time after which the batch job executions started.

*/ inline void SetStartedAfter(const Aws::Utils::DateTime& value) { m_startedAfterHasBeenSet = true; m_startedAfter = value; } /** *

The time after which the batch job executions started.

*/ inline void SetStartedAfter(Aws::Utils::DateTime&& value) { m_startedAfterHasBeenSet = true; m_startedAfter = std::move(value); } /** *

The time after which the batch job executions started.

*/ inline ListBatchJobExecutionsRequest& WithStartedAfter(const Aws::Utils::DateTime& value) { SetStartedAfter(value); return *this;} /** *

The time after which the batch job executions started.

*/ inline ListBatchJobExecutionsRequest& WithStartedAfter(Aws::Utils::DateTime&& value) { SetStartedAfter(std::move(value)); return *this;} /** *

The time before the batch job executions started.

*/ inline const Aws::Utils::DateTime& GetStartedBefore() const{ return m_startedBefore; } /** *

The time before the batch job executions started.

*/ inline bool StartedBeforeHasBeenSet() const { return m_startedBeforeHasBeenSet; } /** *

The time before the batch job executions started.

*/ inline void SetStartedBefore(const Aws::Utils::DateTime& value) { m_startedBeforeHasBeenSet = true; m_startedBefore = value; } /** *

The time before the batch job executions started.

*/ inline void SetStartedBefore(Aws::Utils::DateTime&& value) { m_startedBeforeHasBeenSet = true; m_startedBefore = std::move(value); } /** *

The time before the batch job executions started.

*/ inline ListBatchJobExecutionsRequest& WithStartedBefore(const Aws::Utils::DateTime& value) { SetStartedBefore(value); return *this;} /** *

The time before the batch job executions started.

*/ inline ListBatchJobExecutionsRequest& WithStartedBefore(Aws::Utils::DateTime&& value) { SetStartedBefore(std::move(value)); return *this;} /** *

The status of the batch job executions.

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

The status of the batch job executions.

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

The status of the batch job executions.

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

The status of the batch job executions.

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

The status of the batch job executions.

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

The status of the batch job executions.

*/ inline ListBatchJobExecutionsRequest& WithStatus(BatchJobExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::Vector m_executionIds; bool m_executionIdsHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::Utils::DateTime m_startedAfter; bool m_startedAfterHasBeenSet = false; Aws::Utils::DateTime m_startedBefore; bool m_startedBeforeHasBeenSet = false; BatchJobExecutionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws