/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace CodeBuild { namespace Model { /** */ class UpdateReportGroupRequest : public CodeBuildRequest { public: AWS_CODEBUILD_API UpdateReportGroupRequest(); // 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 "UpdateReportGroup"; } AWS_CODEBUILD_API Aws::String SerializePayload() const override; AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN of the report group to update.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the report group to update.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the report group to update.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the report group to update.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the report group to update.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the report group to update.

*/ inline UpdateReportGroupRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the report group to update.

*/ inline UpdateReportGroupRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the report group to update.

*/ inline UpdateReportGroupRequest& WithArn(const char* value) { SetArn(value); return *this;} /** *

Used to specify an updated export type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline const ReportExportConfig& GetExportConfig() const{ return m_exportConfig; } /** *

Used to specify an updated export type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline bool ExportConfigHasBeenSet() const { return m_exportConfigHasBeenSet; } /** *

Used to specify an updated export type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline void SetExportConfig(const ReportExportConfig& value) { m_exportConfigHasBeenSet = true; m_exportConfig = value; } /** *

Used to specify an updated export type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline void SetExportConfig(ReportExportConfig&& value) { m_exportConfigHasBeenSet = true; m_exportConfig = std::move(value); } /** *

Used to specify an updated export type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline UpdateReportGroupRequest& WithExportConfig(const ReportExportConfig& value) { SetExportConfig(value); return *this;} /** *

Used to specify an updated export type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline UpdateReportGroupRequest& WithExportConfig(ReportExportConfig&& value) { SetExportConfig(std::move(value)); return *this;} /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline UpdateReportGroupRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline UpdateReportGroupRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline UpdateReportGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

An updated list of tag key and value pairs associated with this report * group.

These tags are available for use by Amazon Web Services services * that support CodeBuild report group tags.

*/ inline UpdateReportGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; ReportExportConfig m_exportConfig; bool m_exportConfigHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws