1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#[allow(missing_docs)]
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct SendAlexaOfferToMasterOutput {
pub answer: std::option::Option<std::string::String>,
}
impl SendAlexaOfferToMasterOutput {
pub fn answer(&self) -> std::option::Option<&str> {
self.answer.as_deref()
}
}
impl std::fmt::Debug for SendAlexaOfferToMasterOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("SendAlexaOfferToMasterOutput");
formatter.field("answer", &self.answer);
formatter.finish()
}
}
pub mod send_alexa_offer_to_master_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) answer: std::option::Option<std::string::String>,
}
impl Builder {
pub fn answer(mut self, input: impl Into<std::string::String>) -> Self {
self.answer = Some(input.into());
self
}
pub fn set_answer(mut self, input: std::option::Option<std::string::String>) -> Self {
self.answer = input;
self
}
pub fn build(self) -> crate::output::SendAlexaOfferToMasterOutput {
crate::output::SendAlexaOfferToMasterOutput {
answer: self.answer,
}
}
}
}
impl SendAlexaOfferToMasterOutput {
pub fn builder() -> crate::output::send_alexa_offer_to_master_output::Builder {
crate::output::send_alexa_offer_to_master_output::Builder::default()
}
}
#[allow(missing_docs)]
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetIceServerConfigOutput {
pub ice_server_list: std::option::Option<std::vec::Vec<crate::model::IceServer>>,
}
impl GetIceServerConfigOutput {
pub fn ice_server_list(&self) -> std::option::Option<&[crate::model::IceServer]> {
self.ice_server_list.as_deref()
}
}
impl std::fmt::Debug for GetIceServerConfigOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetIceServerConfigOutput");
formatter.field("ice_server_list", &self.ice_server_list);
formatter.finish()
}
}
pub mod get_ice_server_config_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) ice_server_list: std::option::Option<std::vec::Vec<crate::model::IceServer>>,
}
impl Builder {
pub fn ice_server_list(mut self, input: impl Into<crate::model::IceServer>) -> Self {
let mut v = self.ice_server_list.unwrap_or_default();
v.push(input.into());
self.ice_server_list = Some(v);
self
}
pub fn set_ice_server_list(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::IceServer>>,
) -> Self {
self.ice_server_list = input;
self
}
pub fn build(self) -> crate::output::GetIceServerConfigOutput {
crate::output::GetIceServerConfigOutput {
ice_server_list: self.ice_server_list,
}
}
}
}
impl GetIceServerConfigOutput {
pub fn builder() -> crate::output::get_ice_server_config_output::Builder {
crate::output::get_ice_server_config_output::Builder::default()
}
}