/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 ListBatchJobExecutionsResult { public: AWS_MAINFRAMEMODERNIZATION_API ListBatchJobExecutionsResult(); AWS_MAINFRAMEMODERNIZATION_API ListBatchJobExecutionsResult(const Aws::AmazonWebServiceResult& result); AWS_MAINFRAMEMODERNIZATION_API ListBatchJobExecutionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns a list of batch job executions for an application.

*/ inline const Aws::Vector& GetBatchJobExecutions() const{ return m_batchJobExecutions; } /** *

Returns a list of batch job executions for an application.

*/ inline void SetBatchJobExecutions(const Aws::Vector& value) { m_batchJobExecutions = value; } /** *

Returns a list of batch job executions for an application.

*/ inline void SetBatchJobExecutions(Aws::Vector&& value) { m_batchJobExecutions = std::move(value); } /** *

Returns a list of batch job executions for an application.

*/ inline ListBatchJobExecutionsResult& WithBatchJobExecutions(const Aws::Vector& value) { SetBatchJobExecutions(value); return *this;} /** *

Returns a list of batch job executions for an application.

*/ inline ListBatchJobExecutionsResult& WithBatchJobExecutions(Aws::Vector&& value) { SetBatchJobExecutions(std::move(value)); return *this;} /** *

Returns a list of batch job executions for an application.

*/ inline ListBatchJobExecutionsResult& AddBatchJobExecutions(const BatchJobExecutionSummary& value) { m_batchJobExecutions.push_back(value); return *this; } /** *

Returns a list of batch job executions for an application.

*/ inline ListBatchJobExecutionsResult& AddBatchJobExecutions(BatchJobExecutionSummary&& value) { m_batchJobExecutions.push_back(std::move(value)); return *this; } /** *

A pagination token that's returned when the response doesn't contain all * batch job executions.

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

A pagination token that's returned when the response doesn't contain all * batch job executions.

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

A pagination token that's returned when the response doesn't contain all * batch job executions.

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

A pagination token that's returned when the response doesn't contain all * batch job executions.

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

A pagination token that's returned when the response doesn't contain all * batch job executions.

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

A pagination token that's returned when the response doesn't contain all * batch job executions.

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

A pagination token that's returned when the response doesn't contain all * batch job executions.

*/ inline ListBatchJobExecutionsResult& WithNextToken(const char* value) { SetNextToken(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 ListBatchJobExecutionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListBatchJobExecutionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListBatchJobExecutionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_batchJobExecutions; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws