Struct aws_sdk_connect::operation::update_view_content::builders::UpdateViewContentInputBuilder
source · #[non_exhaustive]pub struct UpdateViewContentInputBuilder { /* private fields */ }Expand description
A builder for UpdateViewContentInput.
Implementations§
source§impl UpdateViewContentInputBuilder
impl UpdateViewContentInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn view_id(self, input: impl Into<String>) -> Self
pub fn view_id(self, input: impl Into<String>) -> Self
The identifier of the view. Both ViewArn and ViewId can be used.
sourcepub fn set_view_id(self, input: Option<String>) -> Self
pub fn set_view_id(self, input: Option<String>) -> Self
The identifier of the view. Both ViewArn and ViewId can be used.
sourcepub fn get_view_id(&self) -> &Option<String>
pub fn get_view_id(&self) -> &Option<String>
The identifier of the view. Both ViewArn and ViewId can be used.
sourcepub fn status(self, input: ViewStatus) -> Self
pub fn status(self, input: ViewStatus) -> Self
Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
sourcepub fn set_status(self, input: Option<ViewStatus>) -> Self
pub fn set_status(self, input: Option<ViewStatus>) -> Self
Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
sourcepub fn get_status(&self) -> &Option<ViewStatus>
pub fn get_status(&self) -> &Option<ViewStatus>
Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
sourcepub fn content(self, input: ViewInputContent) -> Self
pub fn content(self, input: ViewInputContent) -> Self
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
This field is required.sourcepub fn set_content(self, input: Option<ViewInputContent>) -> Self
pub fn set_content(self, input: Option<ViewInputContent>) -> Self
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
sourcepub fn get_content(&self) -> &Option<ViewInputContent>
pub fn get_content(&self) -> &Option<ViewInputContent>
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
sourcepub fn build(self) -> Result<UpdateViewContentInput, BuildError>
pub fn build(self) -> Result<UpdateViewContentInput, BuildError>
Consumes the builder and constructs a UpdateViewContentInput.
source§impl UpdateViewContentInputBuilder
impl UpdateViewContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateViewContentOutput, SdkError<UpdateViewContentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateViewContentOutput, SdkError<UpdateViewContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateViewContentInputBuilder
impl Clone for UpdateViewContentInputBuilder
source§fn clone(&self) -> UpdateViewContentInputBuilder
fn clone(&self) -> UpdateViewContentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateViewContentInputBuilder
impl Default for UpdateViewContentInputBuilder
source§fn default() -> UpdateViewContentInputBuilder
fn default() -> UpdateViewContentInputBuilder
source§impl PartialEq for UpdateViewContentInputBuilder
impl PartialEq for UpdateViewContentInputBuilder
source§fn eq(&self, other: &UpdateViewContentInputBuilder) -> bool
fn eq(&self, other: &UpdateViewContentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateViewContentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateViewContentInputBuilder
impl RefUnwindSafe for UpdateViewContentInputBuilder
impl Send for UpdateViewContentInputBuilder
impl Sync for UpdateViewContentInputBuilder
impl Unpin for UpdateViewContentInputBuilder
impl UnwindSafe for UpdateViewContentInputBuilder
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
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>
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>
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 more