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 ==
.