/** * 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 Glacier { namespace Model { /** *

Contains the Amazon S3 Glacier response to your request.

See * Also:

AWS * API Reference

*/ class ListJobsResult { public: AWS_GLACIER_API ListJobsResult(); AWS_GLACIER_API ListJobsResult(const Aws::AmazonWebServiceResult& result); AWS_GLACIER_API ListJobsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of job objects. Each job object contains metadata describing the * job.

*/ inline const Aws::Vector& GetJobList() const{ return m_jobList; } /** *

A list of job objects. Each job object contains metadata describing the * job.

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

A list of job objects. Each job object contains metadata describing the * job.

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

A list of job objects. Each job object contains metadata describing the * job.

*/ inline ListJobsResult& WithJobList(const Aws::Vector& value) { SetJobList(value); return *this;} /** *

A list of job objects. Each job object contains metadata describing the * job.

*/ inline ListJobsResult& WithJobList(Aws::Vector&& value) { SetJobList(std::move(value)); return *this;} /** *

A list of job objects. Each job object contains metadata describing the * job.

*/ inline ListJobsResult& AddJobList(const GlacierJobDescription& value) { m_jobList.push_back(value); return *this; } /** *

A list of job objects. Each job object contains metadata describing the * job.

*/ inline ListJobsResult& AddJobList(GlacierJobDescription&& value) { m_jobList.push_back(std::move(value)); return *this; } /** *

An opaque string used for pagination that specifies the job at which the * listing of jobs should begin. You get the marker value from a * previous List Jobs response. You only need to include the marker if you are * continuing the pagination of the results started in a previous List Jobs * request.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An opaque string used for pagination that specifies the job at which the * listing of jobs should begin. You get the marker value from a * previous List Jobs response. You only need to include the marker if you are * continuing the pagination of the results started in a previous List Jobs * request.

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

An opaque string used for pagination that specifies the job at which the * listing of jobs should begin. You get the marker value from a * previous List Jobs response. You only need to include the marker if you are * continuing the pagination of the results started in a previous List Jobs * request.

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

An opaque string used for pagination that specifies the job at which the * listing of jobs should begin. You get the marker value from a * previous List Jobs response. You only need to include the marker if you are * continuing the pagination of the results started in a previous List Jobs * request.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

An opaque string used for pagination that specifies the job at which the * listing of jobs should begin. You get the marker value from a * previous List Jobs response. You only need to include the marker if you are * continuing the pagination of the results started in a previous List Jobs * request.

*/ inline ListJobsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An opaque string used for pagination that specifies the job at which the * listing of jobs should begin. You get the marker value from a * previous List Jobs response. You only need to include the marker if you are * continuing the pagination of the results started in a previous List Jobs * request.

*/ inline ListJobsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An opaque string used for pagination that specifies the job at which the * listing of jobs should begin. You get the marker value from a * previous List Jobs response. You only need to include the marker if you are * continuing the pagination of the results started in a previous List Jobs * request.

*/ inline ListJobsResult& WithMarker(const char* value) { SetMarker(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 ListJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_jobList; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace Glacier } // namespace Aws