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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
#[allow(missing_docs)]
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct PostToConnectionOutput {}
impl std::fmt::Debug for PostToConnectionOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("PostToConnectionOutput");
formatter.finish()
}
}
pub mod post_to_connection_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::PostToConnectionOutput {
crate::output::PostToConnectionOutput {}
}
}
}
impl PostToConnectionOutput {
pub fn builder() -> crate::output::post_to_connection_output::Builder {
crate::output::post_to_connection_output::Builder::default()
}
}
#[allow(missing_docs)]
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct GetConnectionOutput {
pub connected_at: std::option::Option<aws_smithy_types::DateTime>,
#[allow(missing_docs)]
pub identity: std::option::Option<crate::model::Identity>,
pub last_active_at: std::option::Option<aws_smithy_types::DateTime>,
}
impl GetConnectionOutput {
pub fn connected_at(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.connected_at.as_ref()
}
#[allow(missing_docs)]
pub fn identity(&self) -> std::option::Option<&crate::model::Identity> {
self.identity.as_ref()
}
pub fn last_active_at(&self) -> std::option::Option<&aws_smithy_types::DateTime> {
self.last_active_at.as_ref()
}
}
impl std::fmt::Debug for GetConnectionOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("GetConnectionOutput");
formatter.field("connected_at", &self.connected_at);
formatter.field("identity", &self.identity);
formatter.field("last_active_at", &self.last_active_at);
formatter.finish()
}
}
pub mod get_connection_output {
#[non_exhaustive]
#[derive(std::default::Default, std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct Builder {
pub(crate) connected_at: std::option::Option<aws_smithy_types::DateTime>,
pub(crate) identity: std::option::Option<crate::model::Identity>,
pub(crate) last_active_at: std::option::Option<aws_smithy_types::DateTime>,
}
impl Builder {
pub fn connected_at(mut self, input: aws_smithy_types::DateTime) -> Self {
self.connected_at = Some(input);
self
}
pub fn set_connected_at(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.connected_at = input;
self
}
#[allow(missing_docs)]
pub fn identity(mut self, input: crate::model::Identity) -> Self {
self.identity = Some(input);
self
}
#[allow(missing_docs)]
pub fn set_identity(mut self, input: std::option::Option<crate::model::Identity>) -> Self {
self.identity = input;
self
}
pub fn last_active_at(mut self, input: aws_smithy_types::DateTime) -> Self {
self.last_active_at = Some(input);
self
}
pub fn set_last_active_at(
mut self,
input: std::option::Option<aws_smithy_types::DateTime>,
) -> Self {
self.last_active_at = input;
self
}
pub fn build(self) -> crate::output::GetConnectionOutput {
crate::output::GetConnectionOutput {
connected_at: self.connected_at,
identity: self.identity,
last_active_at: self.last_active_at,
}
}
}
}
impl GetConnectionOutput {
pub fn builder() -> crate::output::get_connection_output::Builder {
crate::output::get_connection_output::Builder::default()
}
}
#[allow(missing_docs)]
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq)]
pub struct DeleteConnectionOutput {}
impl std::fmt::Debug for DeleteConnectionOutput {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut formatter = f.debug_struct("DeleteConnectionOutput");
formatter.finish()
}
}
pub mod delete_connection_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::DeleteConnectionOutput {
crate::output::DeleteConnectionOutput {}
}
}
}
impl DeleteConnectionOutput {
pub fn builder() -> crate::output::delete_connection_output::Builder {
crate::output::delete_connection_output::Builder::default()
}
}