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

Details about your report jobs in JSON format.

*/ inline const Aws::Vector& GetReportJobs() const{ return m_reportJobs; } /** *

Details about your report jobs in JSON format.

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

Details about your report jobs in JSON format.

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

Details about your report jobs in JSON format.

*/ inline ListReportJobsResult& WithReportJobs(const Aws::Vector& value) { SetReportJobs(value); return *this;} /** *

Details about your report jobs in JSON format.

*/ inline ListReportJobsResult& WithReportJobs(Aws::Vector&& value) { SetReportJobs(std::move(value)); return *this;} /** *

Details about your report jobs in JSON format.

*/ inline ListReportJobsResult& AddReportJobs(const ReportJob& value) { m_reportJobs.push_back(value); return *this; } /** *

Details about your report jobs in JSON format.

*/ inline ListReportJobsResult& AddReportJobs(ReportJob&& value) { m_reportJobs.push_back(std::move(value)); return *this; } /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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