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

Each JobListEntry object contains a job's state, a job's ID, and * a value that indicates whether the job is a job part, in the case of export * jobs.

*/ inline const Aws::Vector& GetJobListEntries() const{ return m_jobListEntries; } /** *

Each JobListEntry object contains a job's state, a job's ID, and * a value that indicates whether the job is a job part, in the case of export * jobs.

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

Each JobListEntry object contains a job's state, a job's ID, and * a value that indicates whether the job is a job part, in the case of export * jobs.

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

Each JobListEntry object contains a job's state, a job's ID, and * a value that indicates whether the job is a job part, in the case of export * jobs.

*/ inline ListClusterJobsResult& WithJobListEntries(const Aws::Vector& value) { SetJobListEntries(value); return *this;} /** *

Each JobListEntry object contains a job's state, a job's ID, and * a value that indicates whether the job is a job part, in the case of export * jobs.

*/ inline ListClusterJobsResult& WithJobListEntries(Aws::Vector&& value) { SetJobListEntries(std::move(value)); return *this;} /** *

Each JobListEntry object contains a job's state, a job's ID, and * a value that indicates whether the job is a job part, in the case of export * jobs.

*/ inline ListClusterJobsResult& AddJobListEntries(const JobListEntry& value) { m_jobListEntries.push_back(value); return *this; } /** *

Each JobListEntry object contains a job's state, a job's ID, and * a value that indicates whether the job is a job part, in the case of export * jobs.

*/ inline ListClusterJobsResult& AddJobListEntries(JobListEntry&& value) { m_jobListEntries.push_back(std::move(value)); return *this; } /** *

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ListClusterJobsResult * call, your list of returned jobs will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ListClusterJobsResult * call, your list of returned jobs will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ListClusterJobsResult * call, your list of returned jobs will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ListClusterJobsResult * call, your list of returned jobs will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ListClusterJobsResult * call, your list of returned jobs will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ListClusterJobsResult * call, your list of returned jobs will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ListClusterJobsResult * call, your list of returned jobs will start from this point in the array.

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