code: func (s *RegisterContainerInstanceInput) SetTotalResources(v []*Resource) *RegisterContainerInstanceInput {
  	s.TotalResources = v
  	return s
  }
docs: // SetTotalResources sets the TotalResources field's value.