func (c *ContainerStateChange) String() string {
	res := fmt.Sprintf("%s %s -> %s", c.TaskArn, c.ContainerName, c.Status.String())
	if c.ExitCode != nil {
		res += ", Exit " + strconv.Itoa(*c.ExitCode) + ", "
	}
	if c.Reason != "" {
		res += ", Reason " + c.Reason
	}
	if len(c.PortBindings) != 0 {
		res += fmt.Sprintf(", Ports %v", c.PortBindings)
	}
	if c.Container != nil {
		res += ", Known Sent: " + c.Container.GetSentStatus().String()
	}
	return res
}
func (c *ContainerStateChange) String() string {
	res := fmt.Sprintf("%s %s -> %s", c.TaskArn, c.ContainerName, c.Status.String())
	if c.ExitCode != nil {
		res += ", Exit " + strconv.Itoa(*c.ExitCode) + ", "
	}
	if c.Reason != "" {
		res += ", Reason " + c.Reason
	}
	if len(c.PortBindings) != 0 {
		res += fmt.Sprintf(", Ports %v", c.PortBindings)
	}
	if c.Container != nil {
		res += ", Known Sent: " + c.Container.GetSentStatus().String()
	}
	return res
}
func ( c * ContainerStateChange ) String ( ) string { res := fmt . Sprintf ( " " , c . TaskArn , c . ContainerName , c . Status . String ( ) ) if c . ExitCode != nil { res += " " + strconv . Itoa ( * c . ExitCode ) + " " } if c . Reason != " " { res += " " + c . Reason } if len ( c . PortBindings ) != 0 { res += fmt . Sprintf ( " " , c . PortBindings ) } if c . Container != nil { res += " " + c . Container . GetSentStatus ( ) . String ( ) } return res }
// String returns a human readable string representation of this object
String returns a human readable string representation of this object