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

The array of Report objects returned by * BatchGetReports.

*/ inline const Aws::Vector& GetReports() const{ return m_reports; } /** *

The array of Report objects returned by * BatchGetReports.

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

The array of Report objects returned by * BatchGetReports.

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

The array of Report objects returned by * BatchGetReports.

*/ inline BatchGetReportsResult& WithReports(const Aws::Vector& value) { SetReports(value); return *this;} /** *

The array of Report objects returned by * BatchGetReports.

*/ inline BatchGetReportsResult& WithReports(Aws::Vector&& value) { SetReports(std::move(value)); return *this;} /** *

The array of Report objects returned by * BatchGetReports.

*/ inline BatchGetReportsResult& AddReports(const Report& value) { m_reports.push_back(value); return *this; } /** *

The array of Report objects returned by * BatchGetReports.

*/ inline BatchGetReportsResult& AddReports(Report&& value) { m_reports.push_back(std::move(value)); return *this; } /** *

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

*/ inline const Aws::Vector& GetReportsNotFound() const{ return m_reportsNotFound; } /** *

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

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

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

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

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

*/ inline BatchGetReportsResult& WithReportsNotFound(const Aws::Vector& value) { SetReportsNotFound(value); return *this;} /** *

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

*/ inline BatchGetReportsResult& WithReportsNotFound(Aws::Vector&& value) { SetReportsNotFound(std::move(value)); return *this;} /** *

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

*/ inline BatchGetReportsResult& AddReportsNotFound(const Aws::String& value) { m_reportsNotFound.push_back(value); return *this; } /** *

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

*/ inline BatchGetReportsResult& AddReportsNotFound(Aws::String&& value) { m_reportsNotFound.push_back(std::move(value)); return *this; } /** *

An array of ARNs passed to BatchGetReportGroups that are not * associated with a Report.

*/ inline BatchGetReportsResult& AddReportsNotFound(const char* value) { m_reportsNotFound.push_back(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 BatchGetReportsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetReportsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetReportsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_reports; Aws::Vector m_reportsNotFound; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws