// SetCode sets the Code field's value.
349398
func (s *CancellationReason) SetCode(v string) *CancellationReason {
	s.Code = &v
	return s
}
21672
func (s *Event) SetEventCode(v string) *Event {
	s.EventCode = &v
	return s
}
1281179
func (s *Error) SetErrorCode(v string) *Error {
	s.ErrorCode = &v
	return s
}
1342110
func (s *FailedWorkspaceChangeRequest) SetErrorCode(v string) *FailedWorkspaceChangeRequest {
	s.ErrorCode = &v
	return s
}
260530
func (s *PutEventsResultEntry) SetErrorCode(v string) *PutEventsResultEntry {
	s.ErrorCode = &v
	return s
}
70077
func (s *FailedCreateWorkspaceRequest) SetErrorCode(v string) *FailedCreateWorkspaceRequest {
	s.ErrorCode = &v
	return s
}
1368351
func (s *Warning) SetCode(v string) *Warning {
	s.Code = &v
	return s
}
200932
func (s *ContainerStateChange) SetExitCode(v int64) *ContainerStateChange {
	s.ExitCode = &v
	return s
}
257304
func (s *ErrorInfo) SetCode(v string) *ErrorInfo {
	s.Code = &v
	return s
}
598952
func (s *TaskExecutionResultDetail) SetErrorCode(v string) *TaskExecutionResultDetail {
	s.ErrorCode = &v
	return s
}
235669
func (s *FleetError) SetErrorCode(v string) *FleetError {
	s.ErrorCode = &v
	return s
}
428152
func (s *Warning) SetErrorCode(v string) *Warning {
	s.ErrorCode = &v
	return s
}
91583
func (s *RemoveTargetsResultEntry) SetErrorCode(v string) *RemoveTargetsResultEntry {
	s.ErrorCode = &v
	return s
}
742038
func (s *ProductCode) SetCode(v string) *ProductCode {
	s.Code = &v
	return s
}
555250
func (s *VerifyUserAttributeInput) SetCode(v string) *VerifyUserAttributeInput {
	s.Code = &v
	return s
}
1282145
func (s *BatchPutMessageErrorEntry) SetErrorCode(v string) *BatchPutMessageErrorEntry {
	s.ErrorCode = &v
	return s
}
39270
func (s *ClaimDevicesByClaimCodeOutput) SetClaimCode(v string) *ClaimDevicesByClaimCodeOutput {
	s.ClaimCode = &v
	return s
}