#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdateAttributeGroupOutput {
#[doc(hidden)]
pub attribute_group: std::option::Option<crate::model::AttributeGroup>,
}
impl UpdateAttributeGroupOutput {
pub fn attribute_group(&self) -> std::option::Option<&crate::model::AttributeGroup> {
self.attribute_group.as_ref()
}
}
pub mod update_attribute_group_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) attribute_group: std::option::Option<crate::model::AttributeGroup>,
}
impl Builder {
pub fn attribute_group(mut self, input: crate::model::AttributeGroup) -> Self {
self.attribute_group = Some(input);
self
}
pub fn set_attribute_group(
mut self,
input: std::option::Option<crate::model::AttributeGroup>,
) -> Self {
self.attribute_group = input;
self
}
pub fn build(self) -> crate::output::UpdateAttributeGroupOutput {
crate::output::UpdateAttributeGroupOutput {
attribute_group: self.attribute_group,
}
}
}
}
impl UpdateAttributeGroupOutput {
pub fn builder() -> crate::output::update_attribute_group_output::Builder {
crate::output::update_attribute_group_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdateApplicationOutput {
#[doc(hidden)]
pub application: std::option::Option<crate::model::Application>,
}
impl UpdateApplicationOutput {
pub fn application(&self) -> std::option::Option<&crate::model::Application> {
self.application.as_ref()
}
}
pub mod update_application_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application: std::option::Option<crate::model::Application>,
}
impl Builder {
pub fn application(mut self, input: crate::model::Application) -> Self {
self.application = Some(input);
self
}
pub fn set_application(
mut self,
input: std::option::Option<crate::model::Application>,
) -> Self {
self.application = input;
self
}
pub fn build(self) -> crate::output::UpdateApplicationOutput {
crate::output::UpdateApplicationOutput {
application: self.application,
}
}
}
}
impl UpdateApplicationOutput {
pub fn builder() -> crate::output::update_application_output::Builder {
crate::output::update_application_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UntagResourceOutput {}
pub mod untag_resource_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::UntagResourceOutput {
crate::output::UntagResourceOutput {}
}
}
}
impl UntagResourceOutput {
pub fn builder() -> crate::output::untag_resource_output::Builder {
crate::output::untag_resource_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct TagResourceOutput {}
pub mod tag_resource_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::TagResourceOutput {
crate::output::TagResourceOutput {}
}
}
}
impl TagResourceOutput {
pub fn builder() -> crate::output::tag_resource_output::Builder {
crate::output::tag_resource_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct SyncResourceOutput {
#[doc(hidden)]
pub application_arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub resource_arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub action_taken: std::option::Option<crate::model::SyncAction>,
}
impl SyncResourceOutput {
pub fn application_arn(&self) -> std::option::Option<&str> {
self.application_arn.as_deref()
}
pub fn resource_arn(&self) -> std::option::Option<&str> {
self.resource_arn.as_deref()
}
pub fn action_taken(&self) -> std::option::Option<&crate::model::SyncAction> {
self.action_taken.as_ref()
}
}
pub mod sync_resource_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application_arn: std::option::Option<std::string::String>,
pub(crate) resource_arn: std::option::Option<std::string::String>,
pub(crate) action_taken: std::option::Option<crate::model::SyncAction>,
}
impl Builder {
pub fn application_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.application_arn = Some(input.into());
self
}
pub fn set_application_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.application_arn = input;
self
}
pub fn resource_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.resource_arn = Some(input.into());
self
}
pub fn set_resource_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.resource_arn = input;
self
}
pub fn action_taken(mut self, input: crate::model::SyncAction) -> Self {
self.action_taken = Some(input);
self
}
pub fn set_action_taken(
mut self,
input: std::option::Option<crate::model::SyncAction>,
) -> Self {
self.action_taken = input;
self
}
pub fn build(self) -> crate::output::SyncResourceOutput {
crate::output::SyncResourceOutput {
application_arn: self.application_arn,
resource_arn: self.resource_arn,
action_taken: self.action_taken,
}
}
}
}
impl SyncResourceOutput {
pub fn builder() -> crate::output::sync_resource_output::Builder {
crate::output::sync_resource_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct PutConfigurationOutput {}
pub mod put_configuration_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::PutConfigurationOutput {
crate::output::PutConfigurationOutput {}
}
}
}
impl PutConfigurationOutput {
pub fn builder() -> crate::output::put_configuration_output::Builder {
crate::output::put_configuration_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListTagsForResourceOutput {
#[doc(hidden)]
pub tags:
std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl ListTagsForResourceOutput {
pub fn tags(
&self,
) -> std::option::Option<&std::collections::HashMap<std::string::String, std::string::String>>
{
self.tags.as_ref()
}
}
pub mod list_tags_for_resource_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) tags: std::option::Option<
std::collections::HashMap<std::string::String, std::string::String>,
>,
}
impl Builder {
pub fn tags(
mut self,
k: impl Into<std::string::String>,
v: impl Into<std::string::String>,
) -> Self {
let mut hash_map = self.tags.unwrap_or_default();
hash_map.insert(k.into(), v.into());
self.tags = Some(hash_map);
self
}
pub fn set_tags(
mut self,
input: std::option::Option<
std::collections::HashMap<std::string::String, std::string::String>,
>,
) -> Self {
self.tags = input;
self
}
pub fn build(self) -> crate::output::ListTagsForResourceOutput {
crate::output::ListTagsForResourceOutput { tags: self.tags }
}
}
}
impl ListTagsForResourceOutput {
pub fn builder() -> crate::output::list_tags_for_resource_output::Builder {
crate::output::list_tags_for_resource_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListAttributeGroupsForApplicationOutput {
#[doc(hidden)]
pub attribute_groups_details:
std::option::Option<std::vec::Vec<crate::model::AttributeGroupDetails>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListAttributeGroupsForApplicationOutput {
pub fn attribute_groups_details(
&self,
) -> std::option::Option<&[crate::model::AttributeGroupDetails]> {
self.attribute_groups_details.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_attribute_groups_for_application_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) attribute_groups_details:
std::option::Option<std::vec::Vec<crate::model::AttributeGroupDetails>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn attribute_groups_details(
mut self,
input: crate::model::AttributeGroupDetails,
) -> Self {
let mut v = self.attribute_groups_details.unwrap_or_default();
v.push(input);
self.attribute_groups_details = Some(v);
self
}
pub fn set_attribute_groups_details(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::AttributeGroupDetails>>,
) -> Self {
self.attribute_groups_details = input;
self
}
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
pub fn build(self) -> crate::output::ListAttributeGroupsForApplicationOutput {
crate::output::ListAttributeGroupsForApplicationOutput {
attribute_groups_details: self.attribute_groups_details,
next_token: self.next_token,
}
}
}
}
impl ListAttributeGroupsForApplicationOutput {
pub fn builder() -> crate::output::list_attribute_groups_for_application_output::Builder {
crate::output::list_attribute_groups_for_application_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListAttributeGroupsOutput {
#[doc(hidden)]
pub attribute_groups: std::option::Option<std::vec::Vec<crate::model::AttributeGroupSummary>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListAttributeGroupsOutput {
pub fn attribute_groups(&self) -> std::option::Option<&[crate::model::AttributeGroupSummary]> {
self.attribute_groups.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_attribute_groups_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) attribute_groups:
std::option::Option<std::vec::Vec<crate::model::AttributeGroupSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn attribute_groups(mut self, input: crate::model::AttributeGroupSummary) -> Self {
let mut v = self.attribute_groups.unwrap_or_default();
v.push(input);
self.attribute_groups = Some(v);
self
}
pub fn set_attribute_groups(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::AttributeGroupSummary>>,
) -> Self {
self.attribute_groups = input;
self
}
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
pub fn build(self) -> crate::output::ListAttributeGroupsOutput {
crate::output::ListAttributeGroupsOutput {
attribute_groups: self.attribute_groups,
next_token: self.next_token,
}
}
}
}
impl ListAttributeGroupsOutput {
pub fn builder() -> crate::output::list_attribute_groups_output::Builder {
crate::output::list_attribute_groups_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListAssociatedResourcesOutput {
#[doc(hidden)]
pub resources: std::option::Option<std::vec::Vec<crate::model::ResourceInfo>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListAssociatedResourcesOutput {
pub fn resources(&self) -> std::option::Option<&[crate::model::ResourceInfo]> {
self.resources.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_associated_resources_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) resources: std::option::Option<std::vec::Vec<crate::model::ResourceInfo>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn resources(mut self, input: crate::model::ResourceInfo) -> Self {
let mut v = self.resources.unwrap_or_default();
v.push(input);
self.resources = Some(v);
self
}
pub fn set_resources(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::ResourceInfo>>,
) -> Self {
self.resources = input;
self
}
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
pub fn build(self) -> crate::output::ListAssociatedResourcesOutput {
crate::output::ListAssociatedResourcesOutput {
resources: self.resources,
next_token: self.next_token,
}
}
}
}
impl ListAssociatedResourcesOutput {
pub fn builder() -> crate::output::list_associated_resources_output::Builder {
crate::output::list_associated_resources_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListAssociatedAttributeGroupsOutput {
#[doc(hidden)]
pub attribute_groups: std::option::Option<std::vec::Vec<std::string::String>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListAssociatedAttributeGroupsOutput {
pub fn attribute_groups(&self) -> std::option::Option<&[std::string::String]> {
self.attribute_groups.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_associated_attribute_groups_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) attribute_groups: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn attribute_groups(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.attribute_groups.unwrap_or_default();
v.push(input.into());
self.attribute_groups = Some(v);
self
}
pub fn set_attribute_groups(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.attribute_groups = input;
self
}
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
pub fn build(self) -> crate::output::ListAssociatedAttributeGroupsOutput {
crate::output::ListAssociatedAttributeGroupsOutput {
attribute_groups: self.attribute_groups,
next_token: self.next_token,
}
}
}
}
impl ListAssociatedAttributeGroupsOutput {
pub fn builder() -> crate::output::list_associated_attribute_groups_output::Builder {
crate::output::list_associated_attribute_groups_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListApplicationsOutput {
#[doc(hidden)]
pub applications: std::option::Option<std::vec::Vec<crate::model::ApplicationSummary>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListApplicationsOutput {
pub fn applications(&self) -> std::option::Option<&[crate::model::ApplicationSummary]> {
self.applications.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_applications_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) applications:
std::option::Option<std::vec::Vec<crate::model::ApplicationSummary>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn applications(mut self, input: crate::model::ApplicationSummary) -> Self {
let mut v = self.applications.unwrap_or_default();
v.push(input);
self.applications = Some(v);
self
}
pub fn set_applications(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::ApplicationSummary>>,
) -> Self {
self.applications = input;
self
}
pub fn next_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_token = Some(input.into());
self
}
pub fn set_next_token(mut self, input: std::option::Option<std::string::String>) -> Self {
self.next_token = input;
self
}
pub fn build(self) -> crate::output::ListApplicationsOutput {
crate::output::ListApplicationsOutput {
applications: self.applications,
next_token: self.next_token,
}
}
}
}
impl ListApplicationsOutput {
pub fn builder() -> crate::output::list_applications_output::Builder {
crate::output::list_applications_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct GetConfigurationOutput {
#[doc(hidden)]
pub configuration: std::option::Option<crate::model::AppRegistryConfiguration>,
}
impl GetConfigurationOutput {
pub fn configuration(&self) -> std::option::Option<&crate::model::AppRegistryConfiguration> {
self.configuration.as_ref()
}
}
pub mod get_configuration_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) configuration: std::option::Option<crate::model::AppRegistryConfiguration>,
}
impl Builder {
pub fn configuration(mut self, input: crate::model::AppRegistryConfiguration) -> Self {
self.configuration = Some(input);
self
}
pub fn set_configuration(
mut self,
input: std::option::Option<crate::model::AppRegistryConfiguration>,
) -> Self {
self.configuration = input;
self
}
pub fn build(self) -> crate::output::GetConfigurationOutput {
crate::output::GetConfigurationOutput {
configuration: self.configuration,
}
}
}
}
impl GetConfigurationOutput {
pub fn builder() -> crate::output::get_configuration_output::Builder {
crate::output::get_configuration_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct GetAttributeGroupOutput {
#[doc(hidden)]
pub id: std::option::Option<std::string::String>,
#[doc(hidden)]
pub arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub name: std::option::Option<std::string::String>,
#[doc(hidden)]
pub description: std::option::Option<std::string::String>,
#[doc(hidden)]
pub attributes: std::option::Option<std::string::String>,
#[doc(hidden)]
pub creation_time: std::option::Option<aws_smithy_types::DateTime>,
#[doc(hidden)]
pub last_update_time: std::option::Option<aws_smithy_types::DateTime>,
#[doc(hidden)]
pub tags:
std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
}
impl GetAttributeGroupOutput {
pub fn id(&self) -> std::option::Option<&str> {
self.id.as_deref()
}
pub fn arn(&self) -> std::option::Option<&str> {
self.arn.as_deref()
}
pub fn name(&self) -> std::option::Option<&str> {
self.name.as_deref()
}
pub fn description(&self) -> std::option::Option<&str> {
self.description.as_deref()
}
pub fn attributes(&self) -> std::option::Option<&str> {
self.attributes.as_deref()
}
pub fn creation_time(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.creation_time.as_ref()
}
pub fn last_update_time(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.last_update_time.as_ref()
}
pub fn tags(
&self,
) -> std::option::Option<&std::collections::HashMap<std::string::String, std::string::String>>
{
self.tags.as_ref()
}
}
pub mod get_attribute_group_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) id: std::option::Option<std::string::String>,
pub(crate) arn: std::option::Option<std::string::String>,
pub(crate) name: std::option::Option<std::string::String>,
pub(crate) description: std::option::Option<std::string::String>,
pub(crate) attributes: std::option::Option<std::string::String>,
pub(crate) creation_time: std::option::Option<aws_smithy_types::DateTime>,
pub(crate) last_update_time: std::option::Option<aws_smithy_types::DateTime>,
pub(crate) tags: std::option::Option<
std::collections::HashMap<std::string::String, std::string::String>,
>,
}
impl Builder {
pub fn id(mut self, input: impl Into<std::string::String>) -> Self {
self.id = Some(input.into());
self
}
pub fn set_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.id = input;
self
}
pub fn arn(mut self, input: impl Into<std::string::String>) -> Self {
self.arn = Some(input.into());
self
}
pub fn set_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.arn = input;
self
}
pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
self.name = Some(input.into());
self
}
pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
self.name = input;
self
}
pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
self.description = Some(input.into());
self
}
pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
self.description = input;
self
}
pub fn attributes(mut self, input: impl Into<std::string::String>) -> Self {
self.attributes = Some(input.into());
self
}
pub fn set_attributes(mut self, input: std::option::Option<std::string::String>) -> Self {
self.attributes = input;
self
}
pub fn creation_time(mut self, input: aws_smithy_types::DateTime) -> Self {
self.creation_time = Some(input);
self
}
pub fn set_creation_time(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.creation_time = input;
self
}
pub fn last_update_time(mut self, input: aws_smithy_types::DateTime) -> Self {
self.last_update_time = Some(input);
self
}
pub fn set_last_update_time(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.last_update_time = input;
self
}
pub fn tags(
mut self,
k: impl Into<std::string::String>,
v: impl Into<std::string::String>,
) -> Self {
let mut hash_map = self.tags.unwrap_or_default();
hash_map.insert(k.into(), v.into());
self.tags = Some(hash_map);
self
}
pub fn set_tags(
mut self,
input: std::option::Option<
std::collections::HashMap<std::string::String, std::string::String>,
>,
) -> Self {
self.tags = input;
self
}
pub fn build(self) -> crate::output::GetAttributeGroupOutput {
crate::output::GetAttributeGroupOutput {
id: self.id,
arn: self.arn,
name: self.name,
description: self.description,
attributes: self.attributes,
creation_time: self.creation_time,
last_update_time: self.last_update_time,
tags: self.tags,
}
}
}
}
impl GetAttributeGroupOutput {
pub fn builder() -> crate::output::get_attribute_group_output::Builder {
crate::output::get_attribute_group_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct GetAssociatedResourceOutput {
#[doc(hidden)]
pub resource: std::option::Option<crate::model::Resource>,
}
impl GetAssociatedResourceOutput {
pub fn resource(&self) -> std::option::Option<&crate::model::Resource> {
self.resource.as_ref()
}
}
pub mod get_associated_resource_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) resource: std::option::Option<crate::model::Resource>,
}
impl Builder {
pub fn resource(mut self, input: crate::model::Resource) -> Self {
self.resource = Some(input);
self
}
pub fn set_resource(mut self, input: std::option::Option<crate::model::Resource>) -> Self {
self.resource = input;
self
}
pub fn build(self) -> crate::output::GetAssociatedResourceOutput {
crate::output::GetAssociatedResourceOutput {
resource: self.resource,
}
}
}
}
impl GetAssociatedResourceOutput {
pub fn builder() -> crate::output::get_associated_resource_output::Builder {
crate::output::get_associated_resource_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct GetApplicationOutput {
#[doc(hidden)]
pub id: std::option::Option<std::string::String>,
#[doc(hidden)]
pub arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub name: std::option::Option<std::string::String>,
#[doc(hidden)]
pub description: std::option::Option<std::string::String>,
#[doc(hidden)]
pub creation_time: std::option::Option<aws_smithy_types::DateTime>,
#[doc(hidden)]
pub last_update_time: std::option::Option<aws_smithy_types::DateTime>,
#[doc(hidden)]
pub associated_resource_count: i32,
#[doc(hidden)]
pub tags:
std::option::Option<std::collections::HashMap<std::string::String, std::string::String>>,
#[doc(hidden)]
pub integrations: std::option::Option<crate::model::Integrations>,
}
impl GetApplicationOutput {
pub fn id(&self) -> std::option::Option<&str> {
self.id.as_deref()
}
pub fn arn(&self) -> std::option::Option<&str> {
self.arn.as_deref()
}
pub fn name(&self) -> std::option::Option<&str> {
self.name.as_deref()
}
pub fn description(&self) -> std::option::Option<&str> {
self.description.as_deref()
}
pub fn creation_time(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.creation_time.as_ref()
}
pub fn last_update_time(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.last_update_time.as_ref()
}
pub fn associated_resource_count(&self) -> i32 {
self.associated_resource_count
}
pub fn tags(
&self,
) -> std::option::Option<&std::collections::HashMap<std::string::String, std::string::String>>
{
self.tags.as_ref()
}
pub fn integrations(&self) -> std::option::Option<&crate::model::Integrations> {
self.integrations.as_ref()
}
}
pub mod get_application_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) id: std::option::Option<std::string::String>,
pub(crate) arn: std::option::Option<std::string::String>,
pub(crate) name: std::option::Option<std::string::String>,
pub(crate) description: std::option::Option<std::string::String>,
pub(crate) creation_time: std::option::Option<aws_smithy_types::DateTime>,
pub(crate) last_update_time: std::option::Option<aws_smithy_types::DateTime>,
pub(crate) associated_resource_count: std::option::Option<i32>,
pub(crate) tags: std::option::Option<
std::collections::HashMap<std::string::String, std::string::String>,
>,
pub(crate) integrations: std::option::Option<crate::model::Integrations>,
}
impl Builder {
pub fn id(mut self, input: impl Into<std::string::String>) -> Self {
self.id = Some(input.into());
self
}
pub fn set_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.id = input;
self
}
pub fn arn(mut self, input: impl Into<std::string::String>) -> Self {
self.arn = Some(input.into());
self
}
pub fn set_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.arn = input;
self
}
pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
self.name = Some(input.into());
self
}
pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
self.name = input;
self
}
pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
self.description = Some(input.into());
self
}
pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
self.description = input;
self
}
pub fn creation_time(mut self, input: aws_smithy_types::DateTime) -> Self {
self.creation_time = Some(input);
self
}
pub fn set_creation_time(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.creation_time = input;
self
}
pub fn last_update_time(mut self, input: aws_smithy_types::DateTime) -> Self {
self.last_update_time = Some(input);
self
}
pub fn set_last_update_time(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.last_update_time = input;
self
}
pub fn associated_resource_count(mut self, input: i32) -> Self {
self.associated_resource_count = Some(input);
self
}
pub fn set_associated_resource_count(mut self, input: std::option::Option<i32>) -> Self {
self.associated_resource_count = input;
self
}
pub fn tags(
mut self,
k: impl Into<std::string::String>,
v: impl Into<std::string::String>,
) -> Self {
let mut hash_map = self.tags.unwrap_or_default();
hash_map.insert(k.into(), v.into());
self.tags = Some(hash_map);
self
}
pub fn set_tags(
mut self,
input: std::option::Option<
std::collections::HashMap<std::string::String, std::string::String>,
>,
) -> Self {
self.tags = input;
self
}
pub fn integrations(mut self, input: crate::model::Integrations) -> Self {
self.integrations = Some(input);
self
}
pub fn set_integrations(
mut self,
input: std::option::Option<crate::model::Integrations>,
) -> Self {
self.integrations = input;
self
}
pub fn build(self) -> crate::output::GetApplicationOutput {
crate::output::GetApplicationOutput {
id: self.id,
arn: self.arn,
name: self.name,
description: self.description,
creation_time: self.creation_time,
last_update_time: self.last_update_time,
associated_resource_count: self.associated_resource_count.unwrap_or_default(),
tags: self.tags,
integrations: self.integrations,
}
}
}
}
impl GetApplicationOutput {
pub fn builder() -> crate::output::get_application_output::Builder {
crate::output::get_application_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DisassociateResourceOutput {
#[doc(hidden)]
pub application_arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub resource_arn: std::option::Option<std::string::String>,
}
impl DisassociateResourceOutput {
pub fn application_arn(&self) -> std::option::Option<&str> {
self.application_arn.as_deref()
}
pub fn resource_arn(&self) -> std::option::Option<&str> {
self.resource_arn.as_deref()
}
}
pub mod disassociate_resource_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application_arn: std::option::Option<std::string::String>,
pub(crate) resource_arn: std::option::Option<std::string::String>,
}
impl Builder {
pub fn application_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.application_arn = Some(input.into());
self
}
pub fn set_application_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.application_arn = input;
self
}
pub fn resource_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.resource_arn = Some(input.into());
self
}
pub fn set_resource_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.resource_arn = input;
self
}
pub fn build(self) -> crate::output::DisassociateResourceOutput {
crate::output::DisassociateResourceOutput {
application_arn: self.application_arn,
resource_arn: self.resource_arn,
}
}
}
}
impl DisassociateResourceOutput {
pub fn builder() -> crate::output::disassociate_resource_output::Builder {
crate::output::disassociate_resource_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DisassociateAttributeGroupOutput {
#[doc(hidden)]
pub application_arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub attribute_group_arn: std::option::Option<std::string::String>,
}
impl DisassociateAttributeGroupOutput {
pub fn application_arn(&self) -> std::option::Option<&str> {
self.application_arn.as_deref()
}
pub fn attribute_group_arn(&self) -> std::option::Option<&str> {
self.attribute_group_arn.as_deref()
}
}
pub mod disassociate_attribute_group_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application_arn: std::option::Option<std::string::String>,
pub(crate) attribute_group_arn: std::option::Option<std::string::String>,
}
impl Builder {
pub fn application_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.application_arn = Some(input.into());
self
}
pub fn set_application_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.application_arn = input;
self
}
pub fn attribute_group_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.attribute_group_arn = Some(input.into());
self
}
pub fn set_attribute_group_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.attribute_group_arn = input;
self
}
pub fn build(self) -> crate::output::DisassociateAttributeGroupOutput {
crate::output::DisassociateAttributeGroupOutput {
application_arn: self.application_arn,
attribute_group_arn: self.attribute_group_arn,
}
}
}
}
impl DisassociateAttributeGroupOutput {
pub fn builder() -> crate::output::disassociate_attribute_group_output::Builder {
crate::output::disassociate_attribute_group_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteAttributeGroupOutput {
#[doc(hidden)]
pub attribute_group: std::option::Option<crate::model::AttributeGroupSummary>,
}
impl DeleteAttributeGroupOutput {
pub fn attribute_group(&self) -> std::option::Option<&crate::model::AttributeGroupSummary> {
self.attribute_group.as_ref()
}
}
pub mod delete_attribute_group_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) attribute_group: std::option::Option<crate::model::AttributeGroupSummary>,
}
impl Builder {
pub fn attribute_group(mut self, input: crate::model::AttributeGroupSummary) -> Self {
self.attribute_group = Some(input);
self
}
pub fn set_attribute_group(
mut self,
input: std::option::Option<crate::model::AttributeGroupSummary>,
) -> Self {
self.attribute_group = input;
self
}
pub fn build(self) -> crate::output::DeleteAttributeGroupOutput {
crate::output::DeleteAttributeGroupOutput {
attribute_group: self.attribute_group,
}
}
}
}
impl DeleteAttributeGroupOutput {
pub fn builder() -> crate::output::delete_attribute_group_output::Builder {
crate::output::delete_attribute_group_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteApplicationOutput {
#[doc(hidden)]
pub application: std::option::Option<crate::model::ApplicationSummary>,
}
impl DeleteApplicationOutput {
pub fn application(&self) -> std::option::Option<&crate::model::ApplicationSummary> {
self.application.as_ref()
}
}
pub mod delete_application_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application: std::option::Option<crate::model::ApplicationSummary>,
}
impl Builder {
pub fn application(mut self, input: crate::model::ApplicationSummary) -> Self {
self.application = Some(input);
self
}
pub fn set_application(
mut self,
input: std::option::Option<crate::model::ApplicationSummary>,
) -> Self {
self.application = input;
self
}
pub fn build(self) -> crate::output::DeleteApplicationOutput {
crate::output::DeleteApplicationOutput {
application: self.application,
}
}
}
}
impl DeleteApplicationOutput {
pub fn builder() -> crate::output::delete_application_output::Builder {
crate::output::delete_application_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreateAttributeGroupOutput {
#[doc(hidden)]
pub attribute_group: std::option::Option<crate::model::AttributeGroup>,
}
impl CreateAttributeGroupOutput {
pub fn attribute_group(&self) -> std::option::Option<&crate::model::AttributeGroup> {
self.attribute_group.as_ref()
}
}
pub mod create_attribute_group_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) attribute_group: std::option::Option<crate::model::AttributeGroup>,
}
impl Builder {
pub fn attribute_group(mut self, input: crate::model::AttributeGroup) -> Self {
self.attribute_group = Some(input);
self
}
pub fn set_attribute_group(
mut self,
input: std::option::Option<crate::model::AttributeGroup>,
) -> Self {
self.attribute_group = input;
self
}
pub fn build(self) -> crate::output::CreateAttributeGroupOutput {
crate::output::CreateAttributeGroupOutput {
attribute_group: self.attribute_group,
}
}
}
}
impl CreateAttributeGroupOutput {
pub fn builder() -> crate::output::create_attribute_group_output::Builder {
crate::output::create_attribute_group_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreateApplicationOutput {
#[doc(hidden)]
pub application: std::option::Option<crate::model::Application>,
}
impl CreateApplicationOutput {
pub fn application(&self) -> std::option::Option<&crate::model::Application> {
self.application.as_ref()
}
}
pub mod create_application_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application: std::option::Option<crate::model::Application>,
}
impl Builder {
pub fn application(mut self, input: crate::model::Application) -> Self {
self.application = Some(input);
self
}
pub fn set_application(
mut self,
input: std::option::Option<crate::model::Application>,
) -> Self {
self.application = input;
self
}
pub fn build(self) -> crate::output::CreateApplicationOutput {
crate::output::CreateApplicationOutput {
application: self.application,
}
}
}
}
impl CreateApplicationOutput {
pub fn builder() -> crate::output::create_application_output::Builder {
crate::output::create_application_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct AssociateResourceOutput {
#[doc(hidden)]
pub application_arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub resource_arn: std::option::Option<std::string::String>,
}
impl AssociateResourceOutput {
pub fn application_arn(&self) -> std::option::Option<&str> {
self.application_arn.as_deref()
}
pub fn resource_arn(&self) -> std::option::Option<&str> {
self.resource_arn.as_deref()
}
}
pub mod associate_resource_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application_arn: std::option::Option<std::string::String>,
pub(crate) resource_arn: std::option::Option<std::string::String>,
}
impl Builder {
pub fn application_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.application_arn = Some(input.into());
self
}
pub fn set_application_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.application_arn = input;
self
}
pub fn resource_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.resource_arn = Some(input.into());
self
}
pub fn set_resource_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.resource_arn = input;
self
}
pub fn build(self) -> crate::output::AssociateResourceOutput {
crate::output::AssociateResourceOutput {
application_arn: self.application_arn,
resource_arn: self.resource_arn,
}
}
}
}
impl AssociateResourceOutput {
pub fn builder() -> crate::output::associate_resource_output::Builder {
crate::output::associate_resource_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct AssociateAttributeGroupOutput {
#[doc(hidden)]
pub application_arn: std::option::Option<std::string::String>,
#[doc(hidden)]
pub attribute_group_arn: std::option::Option<std::string::String>,
}
impl AssociateAttributeGroupOutput {
pub fn application_arn(&self) -> std::option::Option<&str> {
self.application_arn.as_deref()
}
pub fn attribute_group_arn(&self) -> std::option::Option<&str> {
self.attribute_group_arn.as_deref()
}
}
pub mod associate_attribute_group_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) application_arn: std::option::Option<std::string::String>,
pub(crate) attribute_group_arn: std::option::Option<std::string::String>,
}
impl Builder {
pub fn application_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.application_arn = Some(input.into());
self
}
pub fn set_application_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.application_arn = input;
self
}
pub fn attribute_group_arn(mut self, input: impl Into<std::string::String>) -> Self {
self.attribute_group_arn = Some(input.into());
self
}
pub fn set_attribute_group_arn(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.attribute_group_arn = input;
self
}
pub fn build(self) -> crate::output::AssociateAttributeGroupOutput {
crate::output::AssociateAttributeGroupOutput {
application_arn: self.application_arn,
attribute_group_arn: self.attribute_group_arn,
}
}
}
}
impl AssociateAttributeGroupOutput {
pub fn builder() -> crate::output::associate_attribute_group_output::Builder {
crate::output::associate_attribute_group_output::Builder::default()
}
}