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

The array of report groups returned by BatchGetReportGroups. *

*/ inline const Aws::Vector& GetReportGroups() const{ return m_reportGroups; } /** *

The array of report groups returned by BatchGetReportGroups. *

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

The array of report groups returned by BatchGetReportGroups. *

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

The array of report groups returned by BatchGetReportGroups. *

*/ inline BatchGetReportGroupsResult& WithReportGroups(const Aws::Vector& value) { SetReportGroups(value); return *this;} /** *

The array of report groups returned by BatchGetReportGroups. *

*/ inline BatchGetReportGroupsResult& WithReportGroups(Aws::Vector&& value) { SetReportGroups(std::move(value)); return *this;} /** *

The array of report groups returned by BatchGetReportGroups. *

*/ inline BatchGetReportGroupsResult& AddReportGroups(const ReportGroup& value) { m_reportGroups.push_back(value); return *this; } /** *

The array of report groups returned by BatchGetReportGroups. *

*/ inline BatchGetReportGroupsResult& AddReportGroups(ReportGroup&& value) { m_reportGroups.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetReportGroupsNotFound() const{ return m_reportGroupsNotFound; } /** *

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

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

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

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

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

*/ inline BatchGetReportGroupsResult& WithReportGroupsNotFound(const Aws::Vector& value) { SetReportGroupsNotFound(value); return *this;} /** *

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

*/ inline BatchGetReportGroupsResult& WithReportGroupsNotFound(Aws::Vector&& value) { SetReportGroupsNotFound(std::move(value)); return *this;} /** *

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

*/ inline BatchGetReportGroupsResult& AddReportGroupsNotFound(const Aws::String& value) { m_reportGroupsNotFound.push_back(value); return *this; } /** *

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

*/ inline BatchGetReportGroupsResult& AddReportGroupsNotFound(Aws::String&& value) { m_reportGroupsNotFound.push_back(std::move(value)); return *this; } /** *

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

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