/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Metadata that is associated with a code review. This applies to both pull
* request and repository analysis code reviews.See Also:
AWS
* API Reference
The ID of the request. This is required for a pull request code review.
*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *The ID of the request. This is required for a pull request code review.
*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *The ID of the request. This is required for a pull request code review.
*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *The ID of the request. This is required for a pull request code review.
*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *The ID of the request. This is required for a pull request code review.
*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *The ID of the request. This is required for a pull request code review.
*/ inline RequestMetadata& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *The ID of the request. This is required for a pull request code review.
*/ inline RequestMetadata& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *The ID of the request. This is required for a pull request code review.
*/ inline RequestMetadata& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
An identifier, such as a name or account ID, that is associated with the
* requester. The Requester
is used to capture the
* author/actor
name of the event request.
Information about the event associated with a code review.
*/ inline const EventInfo& GetEventInfo() const{ return m_eventInfo; } /** *Information about the event associated with a code review.
*/ inline bool EventInfoHasBeenSet() const { return m_eventInfoHasBeenSet; } /** *Information about the event associated with a code review.
*/ inline void SetEventInfo(const EventInfo& value) { m_eventInfoHasBeenSet = true; m_eventInfo = value; } /** *Information about the event associated with a code review.
*/ inline void SetEventInfo(EventInfo&& value) { m_eventInfoHasBeenSet = true; m_eventInfo = std::move(value); } /** *Information about the event associated with a code review.
*/ inline RequestMetadata& WithEventInfo(const EventInfo& value) { SetEventInfo(value); return *this;} /** *Information about the event associated with a code review.
*/ inline RequestMetadata& WithEventInfo(EventInfo&& value) { SetEventInfo(std::move(value)); return *this;} /** *The name of the repository vendor used to upload code to an S3 bucket for a
* CI/CD code review. For example, if code and artifacts are uploaded to an S3
* bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then
* the repository association's ProviderType
is S3Bucket
* and the CI/CD repository vendor name is GitHub. For more information, see the
* definition for ProviderType
in RepositoryAssociation.
The name of the repository vendor used to upload code to an S3 bucket for a
* CI/CD code review. For example, if code and artifacts are uploaded to an S3
* bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then
* the repository association's ProviderType
is S3Bucket
* and the CI/CD repository vendor name is GitHub. For more information, see the
* definition for ProviderType
in RepositoryAssociation.
The name of the repository vendor used to upload code to an S3 bucket for a
* CI/CD code review. For example, if code and artifacts are uploaded to an S3
* bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then
* the repository association's ProviderType
is S3Bucket
* and the CI/CD repository vendor name is GitHub. For more information, see the
* definition for ProviderType
in RepositoryAssociation.
The name of the repository vendor used to upload code to an S3 bucket for a
* CI/CD code review. For example, if code and artifacts are uploaded to an S3
* bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then
* the repository association's ProviderType
is S3Bucket
* and the CI/CD repository vendor name is GitHub. For more information, see the
* definition for ProviderType
in RepositoryAssociation.
The name of the repository vendor used to upload code to an S3 bucket for a
* CI/CD code review. For example, if code and artifacts are uploaded to an S3
* bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then
* the repository association's ProviderType
is S3Bucket
* and the CI/CD repository vendor name is GitHub. For more information, see the
* definition for ProviderType
in RepositoryAssociation.
The name of the repository vendor used to upload code to an S3 bucket for a
* CI/CD code review. For example, if code and artifacts are uploaded to an S3
* bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then
* the repository association's ProviderType
is S3Bucket
* and the CI/CD repository vendor name is GitHub. For more information, see the
* definition for ProviderType
in RepositoryAssociation.