Struct aws_sdk_securityhub::operation::update_standards_control::UpdateStandardsControlInput
source · #[non_exhaustive]pub struct UpdateStandardsControlInput {
pub standards_control_arn: Option<String>,
pub control_status: Option<ControlStatus>,
pub disabled_reason: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.standards_control_arn: Option<String>
The ARN of the security standard control to enable or disable.
control_status: Option<ControlStatus>
The updated status of the security standard control.
disabled_reason: Option<String>
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
Implementations§
source§impl UpdateStandardsControlInput
impl UpdateStandardsControlInput
sourcepub fn standards_control_arn(&self) -> Option<&str>
pub fn standards_control_arn(&self) -> Option<&str>
The ARN of the security standard control to enable or disable.
sourcepub fn control_status(&self) -> Option<&ControlStatus>
pub fn control_status(&self) -> Option<&ControlStatus>
The updated status of the security standard control.
sourcepub fn disabled_reason(&self) -> Option<&str>
pub fn disabled_reason(&self) -> Option<&str>
A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
source§impl UpdateStandardsControlInput
impl UpdateStandardsControlInput
sourcepub fn builder() -> UpdateStandardsControlInputBuilder
pub fn builder() -> UpdateStandardsControlInputBuilder
Creates a new builder-style object to manufacture UpdateStandardsControlInput
.
Trait Implementations§
source§impl Clone for UpdateStandardsControlInput
impl Clone for UpdateStandardsControlInput
source§fn clone(&self) -> UpdateStandardsControlInput
fn clone(&self) -> UpdateStandardsControlInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateStandardsControlInput
impl Debug for UpdateStandardsControlInput
source§impl PartialEq for UpdateStandardsControlInput
impl PartialEq for UpdateStandardsControlInput
source§fn eq(&self, other: &UpdateStandardsControlInput) -> bool
fn eq(&self, other: &UpdateStandardsControlInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateStandardsControlInput
Auto Trait Implementations§
impl Freeze for UpdateStandardsControlInput
impl RefUnwindSafe for UpdateStandardsControlInput
impl Send for UpdateStandardsControlInput
impl Sync for UpdateStandardsControlInput
impl Unpin for UpdateStandardsControlInput
impl UnwindSafe for UpdateStandardsControlInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.