aws_sdk_robomaker/client/get_world_template_body.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetWorldTemplateBody`](crate::operation::get_world_template_body::builders::GetWorldTemplateBodyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`template(impl Into<String>)`](crate::operation::get_world_template_body::builders::GetWorldTemplateBodyFluentBuilder::template) / [`set_template(Option<String>)`](crate::operation::get_world_template_body::builders::GetWorldTemplateBodyFluentBuilder::set_template):<br>required: **false**<br><p>The Amazon Resource Name (arn) of the world template.</p><br>
7 /// - [`generation_job(impl Into<String>)`](crate::operation::get_world_template_body::builders::GetWorldTemplateBodyFluentBuilder::generation_job) / [`set_generation_job(Option<String>)`](crate::operation::get_world_template_body::builders::GetWorldTemplateBodyFluentBuilder::set_generation_job):<br>required: **false**<br><p>The Amazon Resource Name (arn) of the world generator job.</p><br>
8 /// - On success, responds with [`GetWorldTemplateBodyOutput`](crate::operation::get_world_template_body::GetWorldTemplateBodyOutput) with field(s):
9 /// - [`template_body(Option<String>)`](crate::operation::get_world_template_body::GetWorldTemplateBodyOutput::template_body): <p>The world template body.</p>
10 /// - On failure, responds with [`SdkError<GetWorldTemplateBodyError>`](crate::operation::get_world_template_body::GetWorldTemplateBodyError)
11 pub fn get_world_template_body(&self) -> crate::operation::get_world_template_body::builders::GetWorldTemplateBodyFluentBuilder {
12 crate::operation::get_world_template_body::builders::GetWorldTemplateBodyFluentBuilder::new(self.handle.clone())
13 }
14}