/** * 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 { namespace CodeBuild { namespace Model { /** */ class BatchGetReportGroupsRequest : public CodeBuildRequest { public: AWS_CODEBUILD_API BatchGetReportGroupsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchGetReportGroups"; } AWS_CODEBUILD_API Aws::String SerializePayload() const override; AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline const Aws::Vector& GetReportGroupArns() const{ return m_reportGroupArns; } /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline bool ReportGroupArnsHasBeenSet() const { return m_reportGroupArnsHasBeenSet; } /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline void SetReportGroupArns(const Aws::Vector& value) { m_reportGroupArnsHasBeenSet = true; m_reportGroupArns = value; } /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline void SetReportGroupArns(Aws::Vector&& value) { m_reportGroupArnsHasBeenSet = true; m_reportGroupArns = std::move(value); } /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline BatchGetReportGroupsRequest& WithReportGroupArns(const Aws::Vector& value) { SetReportGroupArns(value); return *this;} /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline BatchGetReportGroupsRequest& WithReportGroupArns(Aws::Vector&& value) { SetReportGroupArns(std::move(value)); return *this;} /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline BatchGetReportGroupsRequest& AddReportGroupArns(const Aws::String& value) { m_reportGroupArnsHasBeenSet = true; m_reportGroupArns.push_back(value); return *this; } /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline BatchGetReportGroupsRequest& AddReportGroupArns(Aws::String&& value) { m_reportGroupArnsHasBeenSet = true; m_reportGroupArns.push_back(std::move(value)); return *this; } /** *

An array of report group ARNs that identify the report groups to return. *

*/ inline BatchGetReportGroupsRequest& AddReportGroupArns(const char* value) { m_reportGroupArnsHasBeenSet = true; m_reportGroupArns.push_back(value); return *this; } private: Aws::Vector m_reportGroupArns; bool m_reportGroupArnsHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws