#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct UpdateConfigurationSetEventDestinationOutput {}
impl std::fmt::Debug for UpdateConfigurationSetEventDestinationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("UpdateConfigurationSetEventDestinationOutput");
formatter.finish()
}
}
pub mod update_configuration_set_event_destination_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::UpdateConfigurationSetEventDestinationOutput {
crate::output::UpdateConfigurationSetEventDestinationOutput {}
}
}
}
impl UpdateConfigurationSetEventDestinationOutput {
pub fn builder() -> crate::output::update_configuration_set_event_destination_output::Builder {
crate::output::update_configuration_set_event_destination_output::Builder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SendVoiceMessageOutput {
pub message_id: std::option::Option<std::string::String>,
}
impl SendVoiceMessageOutput {
pub fn message_id(&self) -> std::option::Option<&str> {
self.message_id.as_deref()
}
}
impl std::fmt::Debug for SendVoiceMessageOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SendVoiceMessageOutput");
formatter.field("message_id", &self.message_id);
formatter.finish()
}
}
pub mod send_voice_message_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) message_id: std::option::Option<std::string::String>,
}
impl Builder {
pub fn message_id(mut self, input: impl Into<std::string::String>) -> Self {
self.message_id = Some(input.into());
self
}
pub fn set_message_id(mut self, input: std::option::Option<std::string::String>) -> Self {
self.message_id = input;
self
}
pub fn build(self) -> crate::output::SendVoiceMessageOutput {
crate::output::SendVoiceMessageOutput {
message_id: self.message_id,
}
}
}
}
impl SendVoiceMessageOutput {
pub fn builder() -> crate::output::send_voice_message_output::Builder {
crate::output::send_voice_message_output::Builder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct ListConfigurationSetsOutput {
pub configuration_sets: std::option::Option<std::vec::Vec<std::string::String>>,
pub next_token: std::option::Option<std::string::String>,
}
impl ListConfigurationSetsOutput {
pub fn configuration_sets(&self) -> std::option::Option<&[std::string::String]> {
self.configuration_sets.as_deref()
}
pub fn next_token(&self) -> std::option::Option<&str> {
self.next_token.as_deref()
}
}
impl std::fmt::Debug for ListConfigurationSetsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("ListConfigurationSetsOutput");
formatter.field("configuration_sets", &self.configuration_sets);
formatter.field("next_token", &self.next_token);
formatter.finish()
}
}
pub mod list_configuration_sets_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) configuration_sets: std::option::Option<std::vec::Vec<std::string::String>>,
pub(crate) next_token: std::option::Option<std::string::String>,
}
impl Builder {
pub fn configuration_sets(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.configuration_sets.unwrap_or_default();
v.push(input.into());
self.configuration_sets = Some(v);
self
}
pub fn set_configuration_sets(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.configuration_sets = 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::ListConfigurationSetsOutput {
crate::output::ListConfigurationSetsOutput {
configuration_sets: self.configuration_sets,
next_token: self.next_token,
}
}
}
}
impl ListConfigurationSetsOutput {
pub fn builder() -> crate::output::list_configuration_sets_output::Builder {
crate::output::list_configuration_sets_output::Builder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetConfigurationSetEventDestinationsOutput {
pub event_destinations: std::option::Option<std::vec::Vec<crate::model::EventDestination>>,
}
impl GetConfigurationSetEventDestinationsOutput {
pub fn event_destinations(&self) -> std::option::Option<&[crate::model::EventDestination]> {
self.event_destinations.as_deref()
}
}
impl std::fmt::Debug for GetConfigurationSetEventDestinationsOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetConfigurationSetEventDestinationsOutput");
formatter.field("event_destinations", &self.event_destinations);
formatter.finish()
}
}
pub mod get_configuration_set_event_destinations_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) event_destinations:
std::option::Option<std::vec::Vec<crate::model::EventDestination>>,
}
impl Builder {
pub fn event_destinations(mut self, input: crate::model::EventDestination) -> Self {
let mut v = self.event_destinations.unwrap_or_default();
v.push(input);
self.event_destinations = Some(v);
self
}
pub fn set_event_destinations(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::EventDestination>>,
) -> Self {
self.event_destinations = input;
self
}
pub fn build(self) -> crate::output::GetConfigurationSetEventDestinationsOutput {
crate::output::GetConfigurationSetEventDestinationsOutput {
event_destinations: self.event_destinations,
}
}
}
}
impl GetConfigurationSetEventDestinationsOutput {
pub fn builder() -> crate::output::get_configuration_set_event_destinations_output::Builder {
crate::output::get_configuration_set_event_destinations_output::Builder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteConfigurationSetEventDestinationOutput {}
impl std::fmt::Debug for DeleteConfigurationSetEventDestinationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteConfigurationSetEventDestinationOutput");
formatter.finish()
}
}
pub mod delete_configuration_set_event_destination_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::DeleteConfigurationSetEventDestinationOutput {
crate::output::DeleteConfigurationSetEventDestinationOutput {}
}
}
}
impl DeleteConfigurationSetEventDestinationOutput {
pub fn builder() -> crate::output::delete_configuration_set_event_destination_output::Builder {
crate::output::delete_configuration_set_event_destination_output::Builder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteConfigurationSetOutput {}
impl std::fmt::Debug for DeleteConfigurationSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteConfigurationSetOutput");
formatter.finish()
}
}
pub mod delete_configuration_set_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::DeleteConfigurationSetOutput {
crate::output::DeleteConfigurationSetOutput {}
}
}
}
impl DeleteConfigurationSetOutput {
pub fn builder() -> crate::output::delete_configuration_set_output::Builder {
crate::output::delete_configuration_set_output::Builder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateConfigurationSetEventDestinationOutput {}
impl std::fmt::Debug for CreateConfigurationSetEventDestinationOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateConfigurationSetEventDestinationOutput");
formatter.finish()
}
}
pub mod create_configuration_set_event_destination_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::CreateConfigurationSetEventDestinationOutput {
crate::output::CreateConfigurationSetEventDestinationOutput {}
}
}
}
impl CreateConfigurationSetEventDestinationOutput {
pub fn builder() -> crate::output::create_configuration_set_event_destination_output::Builder {
crate::output::create_configuration_set_event_destination_output::Builder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct CreateConfigurationSetOutput {}
impl std::fmt::Debug for CreateConfigurationSetOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("CreateConfigurationSetOutput");
formatter.finish()
}
}
pub mod create_configuration_set_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
pub fn build(self) -> crate::output::CreateConfigurationSetOutput {
crate::output::CreateConfigurationSetOutput {}
}
}
}
impl CreateConfigurationSetOutput {
pub fn builder() -> crate::output::create_configuration_set_output::Builder {
crate::output::create_configuration_set_output::Builder::default()
}
}