// SetConnectionId sets the ConnectionId field's value.
347513
func (s *Connection) SetConnectionId(v string) *Connection {
	s.ConnectionId = &v
	return s
}
962875
func (s *GetConnectionsOutput) SetConnectionList(v []*Connection) *GetConnectionsOutput {
	s.ConnectionList = v
	return s
}
713563
func GenerateConnectionID(len int) (ConnectionID, error) {
	b := make([]byte, len)
	if _, err := rand.Read(b); err != nil {
		return nil, err
	}
	return ConnectionID(b), nil
}
836579
func (s *DescribeVirtualInterfacesInput) SetConnectionId(v string) *DescribeVirtualInterfacesInput {
	s.ConnectionId = &v
	return s
}
548568
func (s *UpdateIntegrationOutput) SetConnectionType(v string) *UpdateIntegrationOutput {
	s.ConnectionType = &v
	return s
}
1331437
func (s *Job) SetConnections(v *ConnectionsList) *Job {
	s.Connections = v
	return s
}
1150854
func (s *DeviceStatusInfo) SetConnectionStatus(v string) *DeviceStatusInfo {
	s.ConnectionStatus = &v
	return s
}
295765
func (s *PutIntegrationInput) SetConnectionType(v string) *PutIntegrationInput {
	s.ConnectionType = &v
	return s
}
842404
func (s *Connection) SetConnectionState(v string) *Connection {
	s.ConnectionState = &v
	return s
}
1317557
func (s *UpdateIntegrationInput) SetConnectionType(v string) *UpdateIntegrationInput {
	s.ConnectionType = &v
	return s
}
576353
func (c *proxyConnection) SetConnection(conn net.Conn) {
	if c.conn != nil {
		log.WithField(fieldConn, c).Panic("Established connection is already associated")
	}

	c.conn = conn
	go c.writeQueuedMessages()
}
442792
func (s *CreateTransitVirtualInterfaceInput) SetConnectionId(v string) *CreateTransitVirtualInterfaceInput {
	s.ConnectionId = &v
	return s
}
109551
func (s *DisassociateConnectionFromLagInput) SetConnectionId(v string) *DisassociateConnectionFromLagInput {
	s.ConnectionId = &v
	return s
}
1132358
func (s *GetIntegrationOutput) SetConnectionType(v string) *GetIntegrationOutput {
	s.ConnectionType = &v
	return s
}
266771
func (p *params) SetConnectionProvider(connProvider api.ConnectionProvider) {
	logger.Debugf("ConnectionProvider: %#v", connProvider)
	p.connProvider = connProvider
}
680774
func (s *CreateConnectorDefinitionVersionInput) SetConnectorDefinitionId(v string) *CreateConnectorDefinitionVersionInput {
	s.ConnectorDefinitionId = &v
	return s
}
1020991
func (s *AllocateHostedConnectionInput) SetConnectionId(v string) *AllocateHostedConnectionInput {
	s.ConnectionId = &v
	return s
}