#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdateSafetyRuleOutput {
#[doc(hidden)]
pub assertion_rule: std::option::Option<crate::model::AssertionRule>,
#[doc(hidden)]
pub gating_rule: std::option::Option<crate::model::GatingRule>,
}
impl UpdateSafetyRuleOutput {
pub fn assertion_rule(&self) -> std::option::Option<&crate::model::AssertionRule> {
self.assertion_rule.as_ref()
}
pub fn gating_rule(&self) -> std::option::Option<&crate::model::GatingRule> {
self.gating_rule.as_ref()
}
}
pub mod update_safety_rule_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) assertion_rule: std::option::Option<crate::model::AssertionRule>,
pub(crate) gating_rule: std::option::Option<crate::model::GatingRule>,
}
impl Builder {
pub fn assertion_rule(mut self, input: crate::model::AssertionRule) -> Self {
self.assertion_rule = Some(input);
self
}
pub fn set_assertion_rule(
mut self,
input: std::option::Option<crate::model::AssertionRule>,
) -> Self {
self.assertion_rule = input;
self
}
pub fn gating_rule(mut self, input: crate::model::GatingRule) -> Self {
self.gating_rule = Some(input);
self
}
pub fn set_gating_rule(
mut self,
input: std::option::Option<crate::model::GatingRule>,
) -> Self {
self.gating_rule = input;
self
}
pub fn build(self) -> crate::output::UpdateSafetyRuleOutput {
crate::output::UpdateSafetyRuleOutput {
assertion_rule: self.assertion_rule,
gating_rule: self.gating_rule,
}
}
}
}
impl UpdateSafetyRuleOutput {
pub fn builder() -> crate::output::update_safety_rule_output::Builder {
crate::output::update_safety_rule_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdateRoutingControlOutput {
#[doc(hidden)]
pub routing_control: std::option::Option<crate::model::RoutingControl>,
}
impl UpdateRoutingControlOutput {
pub fn routing_control(&self) -> std::option::Option<&crate::model::RoutingControl> {
self.routing_control.as_ref()
}
}
pub mod update_routing_control_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) routing_control: std::option::Option<crate::model::RoutingControl>,
}
impl Builder {
pub fn routing_control(mut self, input: crate::model::RoutingControl) -> Self {
self.routing_control = Some(input);
self
}
pub fn set_routing_control(
mut self,
input: std::option::Option<crate::model::RoutingControl>,
) -> Self {
self.routing_control = input;
self
}
pub fn build(self) -> crate::output::UpdateRoutingControlOutput {
crate::output::UpdateRoutingControlOutput {
routing_control: self.routing_control,
}
}
}
}
impl UpdateRoutingControlOutput {
pub fn builder() -> crate::output::update_routing_control_output::Builder {
crate::output::update_routing_control_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdateControlPanelOutput {
#[doc(hidden)]
pub control_panel: std::option::Option<crate::model::ControlPanel>,
}
impl UpdateControlPanelOutput {
pub fn control_panel(&self) -> std::option::Option<&crate::model::ControlPanel> {
self.control_panel.as_ref()
}
}
pub mod update_control_panel_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) control_panel: std::option::Option<crate::model::ControlPanel>,
}
impl Builder {
pub fn control_panel(mut self, input: crate::model::ControlPanel) -> Self {
self.control_panel = Some(input);
self
}
pub fn set_control_panel(
mut self,
input: std::option::Option<crate::model::ControlPanel>,
) -> Self {
self.control_panel = input;
self
}
pub fn build(self) -> crate::output::UpdateControlPanelOutput {
crate::output::UpdateControlPanelOutput {
control_panel: self.control_panel,
}
}
}
}
impl UpdateControlPanelOutput {
pub fn builder() -> crate::output::update_control_panel_output::Builder {
crate::output::update_control_panel_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 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 ListSafetyRulesOutput {
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
#[doc(hidden)]
pub safety_rules: std::option::Option<std::vec::Vec<crate::model::Rule>>,
}
impl ListSafetyRulesOutput {
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
pub fn safety_rules(&self) -> std::option::Option<&[crate::model::Rule]> {
self.safety_rules.as_deref()
}
}
pub mod list_safety_rules_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) next_token: std::option::Option<std::string::String>,
pub(crate) safety_rules: std::option::Option<std::vec::Vec<crate::model::Rule>>,
}
impl Builder {
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 safety_rules(mut self, input: crate::model::Rule) -> Self {
let mut v = self.safety_rules.unwrap_or_default();
v.push(input);
self.safety_rules = Some(v);
self
}
pub fn set_safety_rules(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Rule>>,
) -> Self {
self.safety_rules = input;
self
}
pub fn build(self) -> crate::output::ListSafetyRulesOutput {
crate::output::ListSafetyRulesOutput {
next_token: self.next_token,
safety_rules: self.safety_rules,
}
}
}
}
impl ListSafetyRulesOutput {
pub fn builder() -> crate::output::list_safety_rules_output::Builder {
crate::output::list_safety_rules_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListRoutingControlsOutput {
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
#[doc(hidden)]
pub routing_controls: std::option::Option<std::vec::Vec<crate::model::RoutingControl>>,
}
impl ListRoutingControlsOutput {
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
pub fn routing_controls(&self) -> std::option::Option<&[crate::model::RoutingControl]> {
self.routing_controls.as_deref()
}
}
pub mod list_routing_controls_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) next_token: std::option::Option<std::string::String>,
pub(crate) routing_controls:
std::option::Option<std::vec::Vec<crate::model::RoutingControl>>,
}
impl Builder {
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 routing_controls(mut self, input: crate::model::RoutingControl) -> Self {
let mut v = self.routing_controls.unwrap_or_default();
v.push(input);
self.routing_controls = Some(v);
self
}
pub fn set_routing_controls(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::RoutingControl>>,
) -> Self {
self.routing_controls = input;
self
}
pub fn build(self) -> crate::output::ListRoutingControlsOutput {
crate::output::ListRoutingControlsOutput {
next_token: self.next_token,
routing_controls: self.routing_controls,
}
}
}
}
impl ListRoutingControlsOutput {
pub fn builder() -> crate::output::list_routing_controls_output::Builder {
crate::output::list_routing_controls_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListControlPanelsOutput {
#[doc(hidden)]
pub control_panels: std::option::Option<std::vec::Vec<crate::model::ControlPanel>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListControlPanelsOutput {
pub fn control_panels(&self) -> std::option::Option<&[crate::model::ControlPanel]> {
self.control_panels.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_control_panels_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) control_panels: std::option::Option<std::vec::Vec<crate::model::ControlPanel>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn control_panels(mut self, input: crate::model::ControlPanel) -> Self {
let mut v = self.control_panels.unwrap_or_default();
v.push(input);
self.control_panels = Some(v);
self
}
pub fn set_control_panels(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::ControlPanel>>,
) -> Self {
self.control_panels = 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::ListControlPanelsOutput {
crate::output::ListControlPanelsOutput {
control_panels: self.control_panels,
next_token: self.next_token,
}
}
}
}
impl ListControlPanelsOutput {
pub fn builder() -> crate::output::list_control_panels_output::Builder {
crate::output::list_control_panels_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListClustersOutput {
#[doc(hidden)]
pub clusters: std::option::Option<std::vec::Vec<crate::model::Cluster>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListClustersOutput {
pub fn clusters(&self) -> std::option::Option<&[crate::model::Cluster]> {
self.clusters.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_clusters_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) clusters: std::option::Option<std::vec::Vec<crate::model::Cluster>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn clusters(mut self, input: crate::model::Cluster) -> Self {
let mut v = self.clusters.unwrap_or_default();
v.push(input);
self.clusters = Some(v);
self
}
pub fn set_clusters(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Cluster>>,
) -> Self {
self.clusters = 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::ListClustersOutput {
crate::output::ListClustersOutput {
clusters: self.clusters,
next_token: self.next_token,
}
}
}
}
impl ListClustersOutput {
pub fn builder() -> crate::output::list_clusters_output::Builder {
crate::output::list_clusters_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListAssociatedRoute53HealthChecksOutput {
#[doc(hidden)]
pub health_check_ids: std::option::Option<std::vec::Vec<std::string::String>>,
#[doc(hidden)]
pub next_token: std::option::Option<std::string::String>,
}
impl ListAssociatedRoute53HealthChecksOutput {
pub fn health_check_ids(&self) -> std::option::Option<&[std::string::String]> {
self.health_check_ids.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
pub mod list_associated_route53_health_checks_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) health_check_ids: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn health_check_ids(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.health_check_ids.unwrap_or_default();
v.push(input.into());
self.health_check_ids = Some(v);
self
}
pub fn set_health_check_ids(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.health_check_ids = 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::ListAssociatedRoute53HealthChecksOutput {
crate::output::ListAssociatedRoute53HealthChecksOutput {
health_check_ids: self.health_check_ids,
next_token: self.next_token,
}
}
}
}
impl ListAssociatedRoute53HealthChecksOutput {
pub fn builder() -> crate::output::list_associated_route53_health_checks_output::Builder {
crate::output::list_associated_route53_health_checks_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DescribeSafetyRuleOutput {
#[doc(hidden)]
pub assertion_rule: std::option::Option<crate::model::AssertionRule>,
#[doc(hidden)]
pub gating_rule: std::option::Option<crate::model::GatingRule>,
}
impl DescribeSafetyRuleOutput {
pub fn assertion_rule(&self) -> std::option::Option<&crate::model::AssertionRule> {
self.assertion_rule.as_ref()
}
pub fn gating_rule(&self) -> std::option::Option<&crate::model::GatingRule> {
self.gating_rule.as_ref()
}
}
pub mod describe_safety_rule_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) assertion_rule: std::option::Option<crate::model::AssertionRule>,
pub(crate) gating_rule: std::option::Option<crate::model::GatingRule>,
}
impl Builder {
pub fn assertion_rule(mut self, input: crate::model::AssertionRule) -> Self {
self.assertion_rule = Some(input);
self
}
pub fn set_assertion_rule(
mut self,
input: std::option::Option<crate::model::AssertionRule>,
) -> Self {
self.assertion_rule = input;
self
}
pub fn gating_rule(mut self, input: crate::model::GatingRule) -> Self {
self.gating_rule = Some(input);
self
}
pub fn set_gating_rule(
mut self,
input: std::option::Option<crate::model::GatingRule>,
) -> Self {
self.gating_rule = input;
self
}
pub fn build(self) -> crate::output::DescribeSafetyRuleOutput {
crate::output::DescribeSafetyRuleOutput {
assertion_rule: self.assertion_rule,
gating_rule: self.gating_rule,
}
}
}
}
impl DescribeSafetyRuleOutput {
pub fn builder() -> crate::output::describe_safety_rule_output::Builder {
crate::output::describe_safety_rule_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DescribeRoutingControlOutput {
#[doc(hidden)]
pub routing_control: std::option::Option<crate::model::RoutingControl>,
}
impl DescribeRoutingControlOutput {
pub fn routing_control(&self) -> std::option::Option<&crate::model::RoutingControl> {
self.routing_control.as_ref()
}
}
pub mod describe_routing_control_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) routing_control: std::option::Option<crate::model::RoutingControl>,
}
impl Builder {
pub fn routing_control(mut self, input: crate::model::RoutingControl) -> Self {
self.routing_control = Some(input);
self
}
pub fn set_routing_control(
mut self,
input: std::option::Option<crate::model::RoutingControl>,
) -> Self {
self.routing_control = input;
self
}
pub fn build(self) -> crate::output::DescribeRoutingControlOutput {
crate::output::DescribeRoutingControlOutput {
routing_control: self.routing_control,
}
}
}
}
impl DescribeRoutingControlOutput {
pub fn builder() -> crate::output::describe_routing_control_output::Builder {
crate::output::describe_routing_control_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DescribeControlPanelOutput {
#[doc(hidden)]
pub control_panel: std::option::Option<crate::model::ControlPanel>,
}
impl DescribeControlPanelOutput {
pub fn control_panel(&self) -> std::option::Option<&crate::model::ControlPanel> {
self.control_panel.as_ref()
}
}
pub mod describe_control_panel_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) control_panel: std::option::Option<crate::model::ControlPanel>,
}
impl Builder {
pub fn control_panel(mut self, input: crate::model::ControlPanel) -> Self {
self.control_panel = Some(input);
self
}
pub fn set_control_panel(
mut self,
input: std::option::Option<crate::model::ControlPanel>,
) -> Self {
self.control_panel = input;
self
}
pub fn build(self) -> crate::output::DescribeControlPanelOutput {
crate::output::DescribeControlPanelOutput {
control_panel: self.control_panel,
}
}
}
}
impl DescribeControlPanelOutput {
pub fn builder() -> crate::output::describe_control_panel_output::Builder {
crate::output::describe_control_panel_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DescribeClusterOutput {
#[doc(hidden)]
pub cluster: std::option::Option<crate::model::Cluster>,
}
impl DescribeClusterOutput {
pub fn cluster(&self) -> std::option::Option<&crate::model::Cluster> {
self.cluster.as_ref()
}
}
pub mod describe_cluster_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) cluster: std::option::Option<crate::model::Cluster>,
}
impl Builder {
pub fn cluster(mut self, input: crate::model::Cluster) -> Self {
self.cluster = Some(input);
self
}
pub fn set_cluster(mut self, input: std::option::Option<crate::model::Cluster>) -> Self {
self.cluster = input;
self
}
pub fn build(self) -> crate::output::DescribeClusterOutput {
crate::output::DescribeClusterOutput {
cluster: self.cluster,
}
}
}
}
impl DescribeClusterOutput {
pub fn builder() -> crate::output::describe_cluster_output::Builder {
crate::output::describe_cluster_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteSafetyRuleOutput {}
pub mod delete_safety_rule_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::DeleteSafetyRuleOutput {
crate::output::DeleteSafetyRuleOutput {}
}
}
}
impl DeleteSafetyRuleOutput {
pub fn builder() -> crate::output::delete_safety_rule_output::Builder {
crate::output::delete_safety_rule_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteRoutingControlOutput {}
pub mod delete_routing_control_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::DeleteRoutingControlOutput {
crate::output::DeleteRoutingControlOutput {}
}
}
}
impl DeleteRoutingControlOutput {
pub fn builder() -> crate::output::delete_routing_control_output::Builder {
crate::output::delete_routing_control_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteControlPanelOutput {}
pub mod delete_control_panel_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::DeleteControlPanelOutput {
crate::output::DeleteControlPanelOutput {}
}
}
}
impl DeleteControlPanelOutput {
pub fn builder() -> crate::output::delete_control_panel_output::Builder {
crate::output::delete_control_panel_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteClusterOutput {}
pub mod delete_cluster_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::DeleteClusterOutput {
crate::output::DeleteClusterOutput {}
}
}
}
impl DeleteClusterOutput {
pub fn builder() -> crate::output::delete_cluster_output::Builder {
crate::output::delete_cluster_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreateSafetyRuleOutput {
#[doc(hidden)]
pub assertion_rule: std::option::Option<crate::model::AssertionRule>,
#[doc(hidden)]
pub gating_rule: std::option::Option<crate::model::GatingRule>,
}
impl CreateSafetyRuleOutput {
pub fn assertion_rule(&self) -> std::option::Option<&crate::model::AssertionRule> {
self.assertion_rule.as_ref()
}
pub fn gating_rule(&self) -> std::option::Option<&crate::model::GatingRule> {
self.gating_rule.as_ref()
}
}
pub mod create_safety_rule_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) assertion_rule: std::option::Option<crate::model::AssertionRule>,
pub(crate) gating_rule: std::option::Option<crate::model::GatingRule>,
}
impl Builder {
pub fn assertion_rule(mut self, input: crate::model::AssertionRule) -> Self {
self.assertion_rule = Some(input);
self
}
pub fn set_assertion_rule(
mut self,
input: std::option::Option<crate::model::AssertionRule>,
) -> Self {
self.assertion_rule = input;
self
}
pub fn gating_rule(mut self, input: crate::model::GatingRule) -> Self {
self.gating_rule = Some(input);
self
}
pub fn set_gating_rule(
mut self,
input: std::option::Option<crate::model::GatingRule>,
) -> Self {
self.gating_rule = input;
self
}
pub fn build(self) -> crate::output::CreateSafetyRuleOutput {
crate::output::CreateSafetyRuleOutput {
assertion_rule: self.assertion_rule,
gating_rule: self.gating_rule,
}
}
}
}
impl CreateSafetyRuleOutput {
pub fn builder() -> crate::output::create_safety_rule_output::Builder {
crate::output::create_safety_rule_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreateRoutingControlOutput {
#[doc(hidden)]
pub routing_control: std::option::Option<crate::model::RoutingControl>,
}
impl CreateRoutingControlOutput {
pub fn routing_control(&self) -> std::option::Option<&crate::model::RoutingControl> {
self.routing_control.as_ref()
}
}
pub mod create_routing_control_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) routing_control: std::option::Option<crate::model::RoutingControl>,
}
impl Builder {
pub fn routing_control(mut self, input: crate::model::RoutingControl) -> Self {
self.routing_control = Some(input);
self
}
pub fn set_routing_control(
mut self,
input: std::option::Option<crate::model::RoutingControl>,
) -> Self {
self.routing_control = input;
self
}
pub fn build(self) -> crate::output::CreateRoutingControlOutput {
crate::output::CreateRoutingControlOutput {
routing_control: self.routing_control,
}
}
}
}
impl CreateRoutingControlOutput {
pub fn builder() -> crate::output::create_routing_control_output::Builder {
crate::output::create_routing_control_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreateControlPanelOutput {
#[doc(hidden)]
pub control_panel: std::option::Option<crate::model::ControlPanel>,
}
impl CreateControlPanelOutput {
pub fn control_panel(&self) -> std::option::Option<&crate::model::ControlPanel> {
self.control_panel.as_ref()
}
}
pub mod create_control_panel_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) control_panel: std::option::Option<crate::model::ControlPanel>,
}
impl Builder {
pub fn control_panel(mut self, input: crate::model::ControlPanel) -> Self {
self.control_panel = Some(input);
self
}
pub fn set_control_panel(
mut self,
input: std::option::Option<crate::model::ControlPanel>,
) -> Self {
self.control_panel = input;
self
}
pub fn build(self) -> crate::output::CreateControlPanelOutput {
crate::output::CreateControlPanelOutput {
control_panel: self.control_panel,
}
}
}
}
impl CreateControlPanelOutput {
pub fn builder() -> crate::output::create_control_panel_output::Builder {
crate::output::create_control_panel_output::Builder::default()
}
}
#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreateClusterOutput {
#[doc(hidden)]
pub cluster: std::option::Option<crate::model::Cluster>,
}
impl CreateClusterOutput {
pub fn cluster(&self) -> std::option::Option<&crate::model::Cluster> {
self.cluster.as_ref()
}
}
pub mod create_cluster_output {
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) cluster: std::option::Option<crate::model::Cluster>,
}
impl Builder {
pub fn cluster(mut self, input: crate::model::Cluster) -> Self {
self.cluster = Some(input);
self
}
pub fn set_cluster(mut self, input: std::option::Option<crate::model::Cluster>) -> Self {
self.cluster = input;
self
}
pub fn build(self) -> crate::output::CreateClusterOutput {
crate::output::CreateClusterOutput {
cluster: self.cluster,
}
}
}
}
impl CreateClusterOutput {
pub fn builder() -> crate::output::create_cluster_output::Builder {
crate::output::create_cluster_output::Builder::default()
}
}