Struct aws_sdk_codecommit::operation::get_pull_request_override_state::builders::GetPullRequestOverrideStateInputBuilder
source · #[non_exhaustive]pub struct GetPullRequestOverrideStateInputBuilder { /* private fields */ }Expand description
A builder for GetPullRequestOverrideStateInput.
Implementations§
source§impl GetPullRequestOverrideStateInputBuilder
impl GetPullRequestOverrideStateInputBuilder
sourcepub fn pull_request_id(self, input: impl Into<String>) -> Self
pub fn pull_request_id(self, input: impl Into<String>) -> Self
The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
This field is required.sourcepub fn set_pull_request_id(self, input: Option<String>) -> Self
pub fn set_pull_request_id(self, input: Option<String>) -> Self
The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
sourcepub fn get_pull_request_id(&self) -> &Option<String>
pub fn get_pull_request_id(&self) -> &Option<String>
The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
sourcepub fn build(self) -> Result<GetPullRequestOverrideStateInput, BuildError>
pub fn build(self) -> Result<GetPullRequestOverrideStateInput, BuildError>
Consumes the builder and constructs a GetPullRequestOverrideStateInput.
source§impl GetPullRequestOverrideStateInputBuilder
impl GetPullRequestOverrideStateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPullRequestOverrideStateOutput, SdkError<GetPullRequestOverrideStateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPullRequestOverrideStateOutput, SdkError<GetPullRequestOverrideStateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPullRequestOverrideStateInputBuilder
impl Clone for GetPullRequestOverrideStateInputBuilder
source§fn clone(&self) -> GetPullRequestOverrideStateInputBuilder
fn clone(&self) -> GetPullRequestOverrideStateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetPullRequestOverrideStateInputBuilder
impl Default for GetPullRequestOverrideStateInputBuilder
source§fn default() -> GetPullRequestOverrideStateInputBuilder
fn default() -> GetPullRequestOverrideStateInputBuilder
source§impl PartialEq for GetPullRequestOverrideStateInputBuilder
impl PartialEq for GetPullRequestOverrideStateInputBuilder
source§fn eq(&self, other: &GetPullRequestOverrideStateInputBuilder) -> bool
fn eq(&self, other: &GetPullRequestOverrideStateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.