// Set the Version's architecture information.  This is the last segment of
// the Version.
176812
func (k *Kernel) SetArch() {
	// get everything after the last -
	for i := len(k.Version) - 1; i > 0; i-- {
		if k.Version[i] == '-' {
			k.Arch = string(k.Version[i+1:])
			return
		}
	}
}
944013
func (s *Crawler) SetVersion(v int64) *Crawler {
	s.Version = &v
	return s
}
487673
func (s *UpdateThingGroupOutput) SetVersion(v int64) *UpdateThingGroupOutput {
	s.Version = &v
	return s
}
397130
func (s *BaiduChannelResponse) SetVersion(v int64) *BaiduChannelResponse {
	s.Version = &v
	return s
}
205123
func (s *ResponseCard) SetVersion(v string) *ResponseCard {
	s.Version = &v
	return s
}
971358
func (s *PlatformProgrammingLanguage) SetVersion(v string) *PlatformProgrammingLanguage {
	s.Version = &v
	return s
}
1362825
func (s *CsvClassifier) SetVersion(v int64) *CsvClassifier {
	s.Version = &v
	return s
}
96042
func (s *CreateClusterInput) SetVersion(v string) *CreateClusterInput {
	s.Version = &v
	return s
}
984484
func (s *CreateCustomActionTypeInput) SetVersion(v string) *CreateCustomActionTypeInput {
	s.Version = &v
	return s
}
384996
func (s *Parameter) SetVersion(v int64) *Parameter {
	s.Version = &v
	return s
}
1068891
func (s *WorkflowType) SetVersion(v string) *WorkflowType {
	s.Version = &v
	return s
}
804618
func setVersion() {
	// A development build is one that's not at a tag or has uncommitted changes
	devBuild = gitTag == "" || gitShortStat != ""

	// Only set the appVersion if -ldflags was used
	if gitNearestTag != "" || gitTag != "" {
		if devBuild && gitNearestTag != "" {
			appVersion = fmt.Sprintf("%s (+%s %s)",
				strings.TrimPrefix(gitNearestTag, "v"), gitCommit, buildDate)
		} else if gitTag != "" {
			appVersion = strings.TrimPrefix(gitTag, "v")
		}
	}
}
1208622
func (s *GetIntentOutput) SetVersion(v string) *GetIntentOutput {
	s.Version = &v
	return s
}
178303
func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary {
	s.Version = &v
	return s
}
1236419
func (s *UpdateApplicationOutput) SetVersion(v *Version) *UpdateApplicationOutput {
	s.Version = v
	return s
}
876445
func (s *CreateApplicationOutput) SetVersion(v *Version) *CreateApplicationOutput {
	s.Version = v
	return s
}
322230
func (s *TrafficPolicy) SetVersion(v int64) *TrafficPolicy {
	s.Version = &v
	return s
}