id
int32 0
167k
| repo
stringlengths 5
54
| path
stringlengths 4
155
| func_name
stringlengths 1
118
| original_string
stringlengths 52
85.5k
| language
stringclasses 1
value | code
stringlengths 52
85.5k
| code_tokens
sequencelengths 21
1.41k
| docstring
stringlengths 6
2.61k
| docstring_tokens
sequencelengths 3
215
| sha
stringlengths 40
40
| url
stringlengths 85
252
|
---|---|---|---|---|---|---|---|---|---|---|---|
166,300 | aws/aws-sdk-go | service/rekognition/api.go | SetRoll | func (s *Pose) SetRoll(v float64) *Pose {
s.Roll = &v
return s
} | go | func (s *Pose) SetRoll(v float64) *Pose {
s.Roll = &v
return s
} | [
"func",
"(",
"s",
"*",
"Pose",
")",
"SetRoll",
"(",
"v",
"float64",
")",
"*",
"Pose",
"{",
"s",
".",
"Roll",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRoll sets the Roll field's value. | [
"SetRoll",
"sets",
"the",
"Roll",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9039-L9042 |
166,301 | aws/aws-sdk-go | service/rekognition/api.go | SetYaw | func (s *Pose) SetYaw(v float64) *Pose {
s.Yaw = &v
return s
} | go | func (s *Pose) SetYaw(v float64) *Pose {
s.Yaw = &v
return s
} | [
"func",
"(",
"s",
"*",
"Pose",
")",
"SetYaw",
"(",
"v",
"float64",
")",
"*",
"Pose",
"{",
"s",
".",
"Yaw",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetYaw sets the Yaw field's value. | [
"SetYaw",
"sets",
"the",
"Yaw",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9045-L9048 |
166,302 | aws/aws-sdk-go | service/rekognition/api.go | SetCelebrityFaces | func (s *RecognizeCelebritiesOutput) SetCelebrityFaces(v []*Celebrity) *RecognizeCelebritiesOutput {
s.CelebrityFaces = v
return s
} | go | func (s *RecognizeCelebritiesOutput) SetCelebrityFaces(v []*Celebrity) *RecognizeCelebritiesOutput {
s.CelebrityFaces = v
return s
} | [
"func",
"(",
"s",
"*",
"RecognizeCelebritiesOutput",
")",
"SetCelebrityFaces",
"(",
"v",
"[",
"]",
"*",
"Celebrity",
")",
"*",
"RecognizeCelebritiesOutput",
"{",
"s",
".",
"CelebrityFaces",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCelebrityFaces sets the CelebrityFaces field's value. | [
"SetCelebrityFaces",
"sets",
"the",
"CelebrityFaces",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9134-L9137 |
166,303 | aws/aws-sdk-go | service/rekognition/api.go | SetUnrecognizedFaces | func (s *RecognizeCelebritiesOutput) SetUnrecognizedFaces(v []*ComparedFace) *RecognizeCelebritiesOutput {
s.UnrecognizedFaces = v
return s
} | go | func (s *RecognizeCelebritiesOutput) SetUnrecognizedFaces(v []*ComparedFace) *RecognizeCelebritiesOutput {
s.UnrecognizedFaces = v
return s
} | [
"func",
"(",
"s",
"*",
"RecognizeCelebritiesOutput",
")",
"SetUnrecognizedFaces",
"(",
"v",
"[",
"]",
"*",
"ComparedFace",
")",
"*",
"RecognizeCelebritiesOutput",
"{",
"s",
".",
"UnrecognizedFaces",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUnrecognizedFaces sets the UnrecognizedFaces field's value. | [
"SetUnrecognizedFaces",
"sets",
"the",
"UnrecognizedFaces",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9146-L9149 |
166,304 | aws/aws-sdk-go | service/rekognition/api.go | SetSearchedFaceBoundingBox | func (s *SearchFacesByImageOutput) SetSearchedFaceBoundingBox(v *BoundingBox) *SearchFacesByImageOutput {
s.SearchedFaceBoundingBox = v
return s
} | go | func (s *SearchFacesByImageOutput) SetSearchedFaceBoundingBox(v *BoundingBox) *SearchFacesByImageOutput {
s.SearchedFaceBoundingBox = v
return s
} | [
"func",
"(",
"s",
"*",
"SearchFacesByImageOutput",
")",
"SetSearchedFaceBoundingBox",
"(",
"v",
"*",
"BoundingBox",
")",
"*",
"SearchFacesByImageOutput",
"{",
"s",
".",
"SearchedFaceBoundingBox",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSearchedFaceBoundingBox sets the SearchedFaceBoundingBox field's value. | [
"SetSearchedFaceBoundingBox",
"sets",
"the",
"SearchedFaceBoundingBox",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9351-L9354 |
166,305 | aws/aws-sdk-go | service/rekognition/api.go | SetSearchedFaceConfidence | func (s *SearchFacesByImageOutput) SetSearchedFaceConfidence(v float64) *SearchFacesByImageOutput {
s.SearchedFaceConfidence = &v
return s
} | go | func (s *SearchFacesByImageOutput) SetSearchedFaceConfidence(v float64) *SearchFacesByImageOutput {
s.SearchedFaceConfidence = &v
return s
} | [
"func",
"(",
"s",
"*",
"SearchFacesByImageOutput",
")",
"SetSearchedFaceConfidence",
"(",
"v",
"float64",
")",
"*",
"SearchFacesByImageOutput",
"{",
"s",
".",
"SearchedFaceConfidence",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSearchedFaceConfidence sets the SearchedFaceConfidence field's value. | [
"SetSearchedFaceConfidence",
"sets",
"the",
"SearchedFaceConfidence",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9357-L9360 |
166,306 | aws/aws-sdk-go | service/rekognition/api.go | SetSearchedFaceId | func (s *SearchFacesOutput) SetSearchedFaceId(v string) *SearchFacesOutput {
s.SearchedFaceId = &v
return s
} | go | func (s *SearchFacesOutput) SetSearchedFaceId(v string) *SearchFacesOutput {
s.SearchedFaceId = &v
return s
} | [
"func",
"(",
"s",
"*",
"SearchFacesOutput",
")",
"SetSearchedFaceId",
"(",
"v",
"string",
")",
"*",
"SearchFacesOutput",
"{",
"s",
".",
"SearchedFaceId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSearchedFaceId sets the SearchedFaceId field's value. | [
"SetSearchedFaceId",
"sets",
"the",
"SearchedFaceId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9479-L9482 |
166,307 | aws/aws-sdk-go | service/rekognition/api.go | SetFaceAttributes | func (s *StartFaceDetectionInput) SetFaceAttributes(v string) *StartFaceDetectionInput {
s.FaceAttributes = &v
return s
} | go | func (s *StartFaceDetectionInput) SetFaceAttributes(v string) *StartFaceDetectionInput {
s.FaceAttributes = &v
return s
} | [
"func",
"(",
"s",
"*",
"StartFaceDetectionInput",
")",
"SetFaceAttributes",
"(",
"v",
"string",
")",
"*",
"StartFaceDetectionInput",
"{",
"s",
".",
"FaceAttributes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFaceAttributes sets the FaceAttributes field's value. | [
"SetFaceAttributes",
"sets",
"the",
"FaceAttributes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9833-L9836 |
166,308 | aws/aws-sdk-go | service/rekognition/api.go | SetKinesisVideoStream | func (s *StreamProcessorInput) SetKinesisVideoStream(v *KinesisVideoStream) *StreamProcessorInput {
s.KinesisVideoStream = v
return s
} | go | func (s *StreamProcessorInput) SetKinesisVideoStream(v *KinesisVideoStream) *StreamProcessorInput {
s.KinesisVideoStream = v
return s
} | [
"func",
"(",
"s",
"*",
"StreamProcessorInput",
")",
"SetKinesisVideoStream",
"(",
"v",
"*",
"KinesisVideoStream",
")",
"*",
"StreamProcessorInput",
"{",
"s",
".",
"KinesisVideoStream",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetKinesisVideoStream sets the KinesisVideoStream field's value. | [
"SetKinesisVideoStream",
"sets",
"the",
"KinesisVideoStream",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L10421-L10424 |
166,309 | aws/aws-sdk-go | service/rekognition/api.go | SetKinesisDataStream | func (s *StreamProcessorOutput) SetKinesisDataStream(v *KinesisDataStream) *StreamProcessorOutput {
s.KinesisDataStream = v
return s
} | go | func (s *StreamProcessorOutput) SetKinesisDataStream(v *KinesisDataStream) *StreamProcessorOutput {
s.KinesisDataStream = v
return s
} | [
"func",
"(",
"s",
"*",
"StreamProcessorOutput",
")",
"SetKinesisDataStream",
"(",
"v",
"*",
"KinesisDataStream",
")",
"*",
"StreamProcessorOutput",
"{",
"s",
".",
"KinesisDataStream",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetKinesisDataStream sets the KinesisDataStream field's value. | [
"SetKinesisDataStream",
"sets",
"the",
"KinesisDataStream",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L10449-L10452 |
166,310 | aws/aws-sdk-go | service/rekognition/api.go | SetFaceSearch | func (s *StreamProcessorSettings) SetFaceSearch(v *FaceSearchSettings) *StreamProcessorSettings {
s.FaceSearch = v
return s
} | go | func (s *StreamProcessorSettings) SetFaceSearch(v *FaceSearchSettings) *StreamProcessorSettings {
s.FaceSearch = v
return s
} | [
"func",
"(",
"s",
"*",
"StreamProcessorSettings",
")",
"SetFaceSearch",
"(",
"v",
"*",
"FaceSearchSettings",
")",
"*",
"StreamProcessorSettings",
"{",
"s",
".",
"FaceSearch",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFaceSearch sets the FaceSearch field's value. | [
"SetFaceSearch",
"sets",
"the",
"FaceSearch",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L10489-L10492 |
166,311 | aws/aws-sdk-go | service/rekognition/api.go | SetDetectedText | func (s *TextDetection) SetDetectedText(v string) *TextDetection {
s.DetectedText = &v
return s
} | go | func (s *TextDetection) SetDetectedText(v string) *TextDetection {
s.DetectedText = &v
return s
} | [
"func",
"(",
"s",
"*",
"TextDetection",
")",
"SetDetectedText",
"(",
"v",
"string",
")",
"*",
"TextDetection",
"{",
"s",
".",
"DetectedText",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDetectedText sets the DetectedText field's value. | [
"SetDetectedText",
"sets",
"the",
"DetectedText",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L10584-L10587 |
166,312 | aws/aws-sdk-go | service/rekognition/api.go | SetReasons | func (s *UnindexedFace) SetReasons(v []*string) *UnindexedFace {
s.Reasons = v
return s
} | go | func (s *UnindexedFace) SetReasons(v []*string) *UnindexedFace {
s.Reasons = v
return s
} | [
"func",
"(",
"s",
"*",
"UnindexedFace",
")",
"SetReasons",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"UnindexedFace",
"{",
"s",
".",
"Reasons",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReasons sets the Reasons field's value. | [
"SetReasons",
"sets",
"the",
"Reasons",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L10657-L10660 |
166,313 | aws/aws-sdk-go | service/rekognition/api.go | SetFrameHeight | func (s *VideoMetadata) SetFrameHeight(v int64) *VideoMetadata {
s.FrameHeight = &v
return s
} | go | func (s *VideoMetadata) SetFrameHeight(v int64) *VideoMetadata {
s.FrameHeight = &v
return s
} | [
"func",
"(",
"s",
"*",
"VideoMetadata",
")",
"SetFrameHeight",
"(",
"v",
"int64",
")",
"*",
"VideoMetadata",
"{",
"s",
".",
"FrameHeight",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFrameHeight sets the FrameHeight field's value. | [
"SetFrameHeight",
"sets",
"the",
"FrameHeight",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L10757-L10760 |
166,314 | aws/aws-sdk-go | service/rekognition/api.go | SetFrameWidth | func (s *VideoMetadata) SetFrameWidth(v int64) *VideoMetadata {
s.FrameWidth = &v
return s
} | go | func (s *VideoMetadata) SetFrameWidth(v int64) *VideoMetadata {
s.FrameWidth = &v
return s
} | [
"func",
"(",
"s",
"*",
"VideoMetadata",
")",
"SetFrameWidth",
"(",
"v",
"int64",
")",
"*",
"VideoMetadata",
"{",
"s",
".",
"FrameWidth",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFrameWidth sets the FrameWidth field's value. | [
"SetFrameWidth",
"sets",
"the",
"FrameWidth",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L10769-L10772 |
166,315 | aws/aws-sdk-go | private/protocol/eventstream/header_value.go | encode | func (v BoolValue) encode(w io.Writer) error {
return binary.Write(w, binary.BigEndian, v.valueType())
} | go | func (v BoolValue) encode(w io.Writer) error {
return binary.Write(w, binary.BigEndian, v.valueType())
} | [
"func",
"(",
"v",
"BoolValue",
")",
"encode",
"(",
"w",
"io",
".",
"Writer",
")",
"error",
"{",
"return",
"binary",
".",
"Write",
"(",
"w",
",",
"binary",
".",
"BigEndian",
",",
"v",
".",
"valueType",
"(",
")",
")",
"\n",
"}"
] | // encode encodes the BoolValue into an eventstream binary value
// representation. | [
"encode",
"encodes",
"the",
"BoolValue",
"into",
"an",
"eventstream",
"binary",
"value",
"representation",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header_value.go#L189-L191 |
166,316 | aws/aws-sdk-go | private/protocol/eventstream/header_value.go | encode | func (v Int16Value) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeScalar(w, v)
} | go | func (v Int16Value) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeScalar(w, v)
} | [
"func",
"(",
"v",
"Int16Value",
")",
"encode",
"(",
"w",
"io",
".",
"Writer",
")",
"error",
"{",
"raw",
":=",
"rawValue",
"{",
"Type",
":",
"v",
".",
"valueType",
"(",
")",
",",
"}",
"\n",
"return",
"raw",
".",
"encodeScalar",
"(",
"w",
",",
"v",
")",
"\n",
"}"
] | // encode encodes the Int16Value into an eventstream binary value
// representation. | [
"encode",
"encodes",
"the",
"Int16Value",
"into",
"an",
"eventstream",
"binary",
"value",
"representation",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header_value.go#L251-L256 |
166,317 | aws/aws-sdk-go | private/protocol/eventstream/header_value.go | encode | func (v BytesValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeBytes(w, []byte(v))
} | go | func (v BytesValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeBytes(w, []byte(v))
} | [
"func",
"(",
"v",
"BytesValue",
")",
"encode",
"(",
"w",
"io",
".",
"Writer",
")",
"error",
"{",
"raw",
":=",
"rawValue",
"{",
"Type",
":",
"v",
".",
"valueType",
"(",
")",
",",
"}",
"\n\n",
"return",
"raw",
".",
"encodeBytes",
"(",
"w",
",",
"[",
"]",
"byte",
"(",
"v",
")",
")",
"\n",
"}"
] | // encode encodes the BytesValue into an eventstream binary value
// representation. | [
"encode",
"encodes",
"the",
"BytesValue",
"into",
"an",
"eventstream",
"binary",
"value",
"representation",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header_value.go#L362-L368 |
166,318 | aws/aws-sdk-go | private/protocol/eventstream/header_value.go | encode | func (v StringValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeString(w, string(v))
} | go | func (v StringValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeString(w, string(v))
} | [
"func",
"(",
"v",
"StringValue",
")",
"encode",
"(",
"w",
"io",
".",
"Writer",
")",
"error",
"{",
"raw",
":=",
"rawValue",
"{",
"Type",
":",
"v",
".",
"valueType",
"(",
")",
",",
"}",
"\n\n",
"return",
"raw",
".",
"encodeString",
"(",
"w",
",",
"string",
"(",
"v",
")",
")",
"\n",
"}"
] | // encode encodes the StringValue into an eventstream binary value
// representation. | [
"encode",
"encodes",
"the",
"StringValue",
"into",
"an",
"eventstream",
"binary",
"value",
"representation",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header_value.go#L400-L406 |
166,319 | aws/aws-sdk-go | private/protocol/eventstream/header_value.go | encode | func (v TimestampValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
msec := v.epochMilli()
return raw.encodeScalar(w, msec)
} | go | func (v TimestampValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
msec := v.epochMilli()
return raw.encodeScalar(w, msec)
} | [
"func",
"(",
"v",
"TimestampValue",
")",
"encode",
"(",
"w",
"io",
".",
"Writer",
")",
"error",
"{",
"raw",
":=",
"rawValue",
"{",
"Type",
":",
"v",
".",
"valueType",
"(",
")",
",",
"}",
"\n\n",
"msec",
":=",
"v",
".",
"epochMilli",
"(",
")",
"\n",
"return",
"raw",
".",
"encodeScalar",
"(",
"w",
",",
"msec",
")",
"\n",
"}"
] | // encode encodes the TimestampValue into an eventstream binary value
// representation. | [
"encode",
"encodes",
"the",
"TimestampValue",
"into",
"an",
"eventstream",
"binary",
"value",
"representation",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header_value.go#L445-L452 |
166,320 | aws/aws-sdk-go | private/protocol/eventstream/header_value.go | encode | func (v UUIDValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeFixedSlice(w, v[:])
} | go | func (v UUIDValue) encode(w io.Writer) error {
raw := rawValue{
Type: v.valueType(),
}
return raw.encodeFixedSlice(w, v[:])
} | [
"func",
"(",
"v",
"UUIDValue",
")",
"encode",
"(",
"w",
"io",
".",
"Writer",
")",
"error",
"{",
"raw",
":=",
"rawValue",
"{",
"Type",
":",
"v",
".",
"valueType",
"(",
")",
",",
"}",
"\n\n",
"return",
"raw",
".",
"encodeFixedSlice",
"(",
"w",
",",
"v",
"[",
":",
"]",
")",
"\n",
"}"
] | // encode encodes the UUIDValue into an eventstream binary value
// representation. | [
"encode",
"encodes",
"the",
"UUIDValue",
"into",
"an",
"eventstream",
"binary",
"value",
"representation",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header_value.go#L490-L496 |
166,321 | aws/aws-sdk-go | private/protocol/restxml/restxml.go | Build | func Build(r *request.Request) {
rest.Build(r)
if t := rest.PayloadType(r.Params); t == "structure" || t == "" {
var buf bytes.Buffer
err := xmlutil.BuildXML(r.Params, xml.NewEncoder(&buf))
if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed to encode rest XML request", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
r.SetBufferBody(buf.Bytes())
}
} | go | func Build(r *request.Request) {
rest.Build(r)
if t := rest.PayloadType(r.Params); t == "structure" || t == "" {
var buf bytes.Buffer
err := xmlutil.BuildXML(r.Params, xml.NewEncoder(&buf))
if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed to encode rest XML request", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
r.SetBufferBody(buf.Bytes())
}
} | [
"func",
"Build",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"rest",
".",
"Build",
"(",
"r",
")",
"\n\n",
"if",
"t",
":=",
"rest",
".",
"PayloadType",
"(",
"r",
".",
"Params",
")",
";",
"t",
"==",
"\"",
"\"",
"||",
"t",
"==",
"\"",
"\"",
"{",
"var",
"buf",
"bytes",
".",
"Buffer",
"\n",
"err",
":=",
"xmlutil",
".",
"BuildXML",
"(",
"r",
".",
"Params",
",",
"xml",
".",
"NewEncoder",
"(",
"&",
"buf",
")",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"err",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"return",
"\n",
"}",
"\n",
"r",
".",
"SetBufferBody",
"(",
"buf",
".",
"Bytes",
"(",
")",
")",
"\n",
"}",
"\n",
"}"
] | // Build builds a request payload for the REST XML protocol. | [
"Build",
"builds",
"a",
"request",
"payload",
"for",
"the",
"REST",
"XML",
"protocol",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/restxml/restxml.go#L32-L48 |
166,322 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetTaskCount | func (s *EcsParameters) SetTaskCount(v int64) *EcsParameters {
s.TaskCount = &v
return s
} | go | func (s *EcsParameters) SetTaskCount(v int64) *EcsParameters {
s.TaskCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"EcsParameters",
")",
"SetTaskCount",
"(",
"v",
"int64",
")",
"*",
"EcsParameters",
"{",
"s",
".",
"TaskCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTaskCount sets the TaskCount field's value. | [
"SetTaskCount",
"sets",
"the",
"TaskCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L2506-L2509 |
166,323 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetInputPathsMap | func (s *InputTransformer) SetInputPathsMap(v map[string]*string) *InputTransformer {
s.InputPathsMap = v
return s
} | go | func (s *InputTransformer) SetInputPathsMap(v map[string]*string) *InputTransformer {
s.InputPathsMap = v
return s
} | [
"func",
"(",
"s",
"*",
"InputTransformer",
")",
"SetInputPathsMap",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"InputTransformer",
"{",
"s",
".",
"InputPathsMap",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInputPathsMap sets the InputPathsMap field's value. | [
"SetInputPathsMap",
"sets",
"the",
"InputPathsMap",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L2656-L2659 |
166,324 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetInputTemplate | func (s *InputTransformer) SetInputTemplate(v string) *InputTransformer {
s.InputTemplate = &v
return s
} | go | func (s *InputTransformer) SetInputTemplate(v string) *InputTransformer {
s.InputTemplate = &v
return s
} | [
"func",
"(",
"s",
"*",
"InputTransformer",
")",
"SetInputTemplate",
"(",
"v",
"string",
")",
"*",
"InputTransformer",
"{",
"s",
".",
"InputTemplate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInputTemplate sets the InputTemplate field's value. | [
"SetInputTemplate",
"sets",
"the",
"InputTemplate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L2662-L2665 |
166,325 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetPartitionKeyPath | func (s *KinesisParameters) SetPartitionKeyPath(v string) *KinesisParameters {
s.PartitionKeyPath = &v
return s
} | go | func (s *KinesisParameters) SetPartitionKeyPath(v string) *KinesisParameters {
s.PartitionKeyPath = &v
return s
} | [
"func",
"(",
"s",
"*",
"KinesisParameters",
")",
"SetPartitionKeyPath",
"(",
"v",
"string",
")",
"*",
"KinesisParameters",
"{",
"s",
".",
"PartitionKeyPath",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPartitionKeyPath sets the PartitionKeyPath field's value. | [
"SetPartitionKeyPath",
"sets",
"the",
"PartitionKeyPath",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L2706-L2709 |
166,326 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetAwsvpcConfiguration | func (s *NetworkConfiguration) SetAwsvpcConfiguration(v *AwsVpcConfiguration) *NetworkConfiguration {
s.AwsvpcConfiguration = v
return s
} | go | func (s *NetworkConfiguration) SetAwsvpcConfiguration(v *AwsVpcConfiguration) *NetworkConfiguration {
s.AwsvpcConfiguration = v
return s
} | [
"func",
"(",
"s",
"*",
"NetworkConfiguration",
")",
"SetAwsvpcConfiguration",
"(",
"v",
"*",
"AwsVpcConfiguration",
")",
"*",
"NetworkConfiguration",
"{",
"s",
".",
"AwsvpcConfiguration",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAwsvpcConfiguration sets the AwsvpcConfiguration field's value. | [
"SetAwsvpcConfiguration",
"sets",
"the",
"AwsvpcConfiguration",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L3100-L3103 |
166,327 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetDetail | func (s *PutEventsRequestEntry) SetDetail(v string) *PutEventsRequestEntry {
s.Detail = &v
return s
} | go | func (s *PutEventsRequestEntry) SetDetail(v string) *PutEventsRequestEntry {
s.Detail = &v
return s
} | [
"func",
"(",
"s",
"*",
"PutEventsRequestEntry",
")",
"SetDetail",
"(",
"v",
"string",
")",
"*",
"PutEventsRequestEntry",
"{",
"s",
".",
"Detail",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDetail sets the Detail field's value. | [
"SetDetail",
"sets",
"the",
"Detail",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L3216-L3219 |
166,328 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetDetailType | func (s *PutEventsRequestEntry) SetDetailType(v string) *PutEventsRequestEntry {
s.DetailType = &v
return s
} | go | func (s *PutEventsRequestEntry) SetDetailType(v string) *PutEventsRequestEntry {
s.DetailType = &v
return s
} | [
"func",
"(",
"s",
"*",
"PutEventsRequestEntry",
")",
"SetDetailType",
"(",
"v",
"string",
")",
"*",
"PutEventsRequestEntry",
"{",
"s",
".",
"DetailType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDetailType sets the DetailType field's value. | [
"SetDetailType",
"sets",
"the",
"DetailType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L3222-L3225 |
166,329 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetRunCommandTargets | func (s *RunCommandParameters) SetRunCommandTargets(v []*RunCommandTarget) *RunCommandParameters {
s.RunCommandTargets = v
return s
} | go | func (s *RunCommandParameters) SetRunCommandTargets(v []*RunCommandTarget) *RunCommandParameters {
s.RunCommandTargets = v
return s
} | [
"func",
"(",
"s",
"*",
"RunCommandParameters",
")",
"SetRunCommandTargets",
"(",
"v",
"[",
"]",
"*",
"RunCommandTarget",
")",
"*",
"RunCommandParameters",
"{",
"s",
".",
"RunCommandTargets",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRunCommandTargets sets the RunCommandTargets field's value. | [
"SetRunCommandTargets",
"sets",
"the",
"RunCommandTargets",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4029-L4032 |
166,330 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetBatchParameters | func (s *Target) SetBatchParameters(v *BatchParameters) *Target {
s.BatchParameters = v
return s
} | go | func (s *Target) SetBatchParameters(v *BatchParameters) *Target {
s.BatchParameters = v
return s
} | [
"func",
"(",
"s",
"*",
"Target",
")",
"SetBatchParameters",
"(",
"v",
"*",
"BatchParameters",
")",
"*",
"Target",
"{",
"s",
".",
"BatchParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBatchParameters sets the BatchParameters field's value. | [
"SetBatchParameters",
"sets",
"the",
"BatchParameters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4393-L4396 |
166,331 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetEcsParameters | func (s *Target) SetEcsParameters(v *EcsParameters) *Target {
s.EcsParameters = v
return s
} | go | func (s *Target) SetEcsParameters(v *EcsParameters) *Target {
s.EcsParameters = v
return s
} | [
"func",
"(",
"s",
"*",
"Target",
")",
"SetEcsParameters",
"(",
"v",
"*",
"EcsParameters",
")",
"*",
"Target",
"{",
"s",
".",
"EcsParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEcsParameters sets the EcsParameters field's value. | [
"SetEcsParameters",
"sets",
"the",
"EcsParameters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4399-L4402 |
166,332 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetInputPath | func (s *Target) SetInputPath(v string) *Target {
s.InputPath = &v
return s
} | go | func (s *Target) SetInputPath(v string) *Target {
s.InputPath = &v
return s
} | [
"func",
"(",
"s",
"*",
"Target",
")",
"SetInputPath",
"(",
"v",
"string",
")",
"*",
"Target",
"{",
"s",
".",
"InputPath",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInputPath sets the InputPath field's value. | [
"SetInputPath",
"sets",
"the",
"InputPath",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4417-L4420 |
166,333 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetInputTransformer | func (s *Target) SetInputTransformer(v *InputTransformer) *Target {
s.InputTransformer = v
return s
} | go | func (s *Target) SetInputTransformer(v *InputTransformer) *Target {
s.InputTransformer = v
return s
} | [
"func",
"(",
"s",
"*",
"Target",
")",
"SetInputTransformer",
"(",
"v",
"*",
"InputTransformer",
")",
"*",
"Target",
"{",
"s",
".",
"InputTransformer",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInputTransformer sets the InputTransformer field's value. | [
"SetInputTransformer",
"sets",
"the",
"InputTransformer",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4423-L4426 |
166,334 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetKinesisParameters | func (s *Target) SetKinesisParameters(v *KinesisParameters) *Target {
s.KinesisParameters = v
return s
} | go | func (s *Target) SetKinesisParameters(v *KinesisParameters) *Target {
s.KinesisParameters = v
return s
} | [
"func",
"(",
"s",
"*",
"Target",
")",
"SetKinesisParameters",
"(",
"v",
"*",
"KinesisParameters",
")",
"*",
"Target",
"{",
"s",
".",
"KinesisParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetKinesisParameters sets the KinesisParameters field's value. | [
"SetKinesisParameters",
"sets",
"the",
"KinesisParameters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4429-L4432 |
166,335 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetRunCommandParameters | func (s *Target) SetRunCommandParameters(v *RunCommandParameters) *Target {
s.RunCommandParameters = v
return s
} | go | func (s *Target) SetRunCommandParameters(v *RunCommandParameters) *Target {
s.RunCommandParameters = v
return s
} | [
"func",
"(",
"s",
"*",
"Target",
")",
"SetRunCommandParameters",
"(",
"v",
"*",
"RunCommandParameters",
")",
"*",
"Target",
"{",
"s",
".",
"RunCommandParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRunCommandParameters sets the RunCommandParameters field's value. | [
"SetRunCommandParameters",
"sets",
"the",
"RunCommandParameters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4441-L4444 |
166,336 | aws/aws-sdk-go | service/cloudwatchevents/api.go | SetSqsParameters | func (s *Target) SetSqsParameters(v *SqsParameters) *Target {
s.SqsParameters = v
return s
} | go | func (s *Target) SetSqsParameters(v *SqsParameters) *Target {
s.SqsParameters = v
return s
} | [
"func",
"(",
"s",
"*",
"Target",
")",
"SetSqsParameters",
"(",
"v",
"*",
"SqsParameters",
")",
"*",
"Target",
"{",
"s",
".",
"SqsParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSqsParameters sets the SqsParameters field's value. | [
"SetSqsParameters",
"sets",
"the",
"SqsParameters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchevents/api.go#L4447-L4450 |
166,337 | aws/aws-sdk-go | aws/arn/arn.go | String | func (arn ARN) String() string {
return arnPrefix +
arn.Partition + arnDelimiter +
arn.Service + arnDelimiter +
arn.Region + arnDelimiter +
arn.AccountID + arnDelimiter +
arn.Resource
} | go | func (arn ARN) String() string {
return arnPrefix +
arn.Partition + arnDelimiter +
arn.Service + arnDelimiter +
arn.Region + arnDelimiter +
arn.AccountID + arnDelimiter +
arn.Resource
} | [
"func",
"(",
"arn",
"ARN",
")",
"String",
"(",
")",
"string",
"{",
"return",
"arnPrefix",
"+",
"arn",
".",
"Partition",
"+",
"arnDelimiter",
"+",
"arn",
".",
"Service",
"+",
"arnDelimiter",
"+",
"arn",
".",
"Region",
"+",
"arnDelimiter",
"+",
"arn",
".",
"AccountID",
"+",
"arnDelimiter",
"+",
"arn",
".",
"Resource",
"\n",
"}"
] | // String returns the canonical representation of the ARN | [
"String",
"returns",
"the",
"canonical",
"representation",
"of",
"the",
"ARN"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/arn/arn.go#L79-L86 |
166,338 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc_content_cipher.go | AESCBCContentCipherBuilder | func AESCBCContentCipherBuilder(generator CipherDataGenerator, padder Padder) ContentCipherBuilder {
return cbcContentCipherBuilder{generator: generator, padder: padder}
} | go | func AESCBCContentCipherBuilder(generator CipherDataGenerator, padder Padder) ContentCipherBuilder {
return cbcContentCipherBuilder{generator: generator, padder: padder}
} | [
"func",
"AESCBCContentCipherBuilder",
"(",
"generator",
"CipherDataGenerator",
",",
"padder",
"Padder",
")",
"ContentCipherBuilder",
"{",
"return",
"cbcContentCipherBuilder",
"{",
"generator",
":",
"generator",
",",
"padder",
":",
"padder",
"}",
"\n",
"}"
] | // AESCBCContentCipherBuilder returns a new encryption only mode structure with a specific cipher
// for the master key | [
"AESCBCContentCipherBuilder",
"returns",
"a",
"new",
"encryption",
"only",
"mode",
"structure",
"with",
"a",
"specific",
"cipher",
"for",
"the",
"master",
"key"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc_content_cipher.go#L20-L22 |
166,339 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc_content_cipher.go | newAESCBCContentCipher | func newAESCBCContentCipher(cd CipherData) (ContentCipher, error) {
if len(cd.CEKAlgorithm) == 0 {
cd.CEKAlgorithm = strings.Join([]string{AESCBC, cd.Padder.Name()}, "/")
}
cipher, err := newAESCBC(cd, cd.Padder)
if err != nil {
return nil, err
}
return &aesCBCContentCipher{
CipherData: cd,
Cipher: cipher,
}, nil
} | go | func newAESCBCContentCipher(cd CipherData) (ContentCipher, error) {
if len(cd.CEKAlgorithm) == 0 {
cd.CEKAlgorithm = strings.Join([]string{AESCBC, cd.Padder.Name()}, "/")
}
cipher, err := newAESCBC(cd, cd.Padder)
if err != nil {
return nil, err
}
return &aesCBCContentCipher{
CipherData: cd,
Cipher: cipher,
}, nil
} | [
"func",
"newAESCBCContentCipher",
"(",
"cd",
"CipherData",
")",
"(",
"ContentCipher",
",",
"error",
")",
"{",
"if",
"len",
"(",
"cd",
".",
"CEKAlgorithm",
")",
"==",
"0",
"{",
"cd",
".",
"CEKAlgorithm",
"=",
"strings",
".",
"Join",
"(",
"[",
"]",
"string",
"{",
"AESCBC",
",",
"cd",
".",
"Padder",
".",
"Name",
"(",
")",
"}",
",",
"\"",
"\"",
")",
"\n",
"}",
"\n",
"cipher",
",",
"err",
":=",
"newAESCBC",
"(",
"cd",
",",
"cd",
".",
"Padder",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"return",
"&",
"aesCBCContentCipher",
"{",
"CipherData",
":",
"cd",
",",
"Cipher",
":",
"cipher",
",",
"}",
",",
"nil",
"\n",
"}"
] | // newAESCBCContentCipher will create a new aes cbc content cipher. If the cipher data's
// will set the CEK algorithm if it hasn't been set. | [
"newAESCBCContentCipher",
"will",
"create",
"a",
"new",
"aes",
"cbc",
"content",
"cipher",
".",
"If",
"the",
"cipher",
"data",
"s",
"will",
"set",
"the",
"CEK",
"algorithm",
"if",
"it",
"hasn",
"t",
"been",
"set",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc_content_cipher.go#L36-L49 |
166,340 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc_content_cipher.go | EncryptContents | func (cc *aesCBCContentCipher) EncryptContents(src io.Reader) (io.Reader, error) {
return cc.Cipher.Encrypt(src), nil
} | go | func (cc *aesCBCContentCipher) EncryptContents(src io.Reader) (io.Reader, error) {
return cc.Cipher.Encrypt(src), nil
} | [
"func",
"(",
"cc",
"*",
"aesCBCContentCipher",
")",
"EncryptContents",
"(",
"src",
"io",
".",
"Reader",
")",
"(",
"io",
".",
"Reader",
",",
"error",
")",
"{",
"return",
"cc",
".",
"Cipher",
".",
"Encrypt",
"(",
"src",
")",
",",
"nil",
"\n",
"}"
] | // EncryptContents will generate a random key and iv and encrypt the data using cbc | [
"EncryptContents",
"will",
"generate",
"a",
"random",
"key",
"and",
"iv",
"and",
"encrypt",
"the",
"data",
"using",
"cbc"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc_content_cipher.go#L58-L60 |
166,341 | aws/aws-sdk-go | service/s3/s3crypto/encryption_client.go | PutObject | func (c *EncryptionClient) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error) {
req, out := c.PutObjectRequest(input)
return out, req.Send()
} | go | func (c *EncryptionClient) PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error) {
req, out := c.PutObjectRequest(input)
return out, req.Send()
} | [
"func",
"(",
"c",
"*",
"EncryptionClient",
")",
"PutObject",
"(",
"input",
"*",
"s3",
".",
"PutObjectInput",
")",
"(",
"*",
"s3",
".",
"PutObjectOutput",
",",
"error",
")",
"{",
"req",
",",
"out",
":=",
"c",
".",
"PutObjectRequest",
"(",
"input",
")",
"\n",
"return",
"out",
",",
"req",
".",
"Send",
"(",
")",
"\n",
"}"
] | // PutObject is a wrapper for PutObjectRequest | [
"PutObject",
"is",
"a",
"wrapper",
"for",
"PutObjectRequest"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/encryption_client.go#L129-L132 |
166,342 | aws/aws-sdk-go | service/cloudfront/sign/privkey.go | LoadPEMPrivKeyFile | func LoadPEMPrivKeyFile(name string) (*rsa.PrivateKey, error) {
file, err := os.Open(name)
if err != nil {
return nil, err
}
defer file.Close()
return LoadPEMPrivKey(file)
} | go | func LoadPEMPrivKeyFile(name string) (*rsa.PrivateKey, error) {
file, err := os.Open(name)
if err != nil {
return nil, err
}
defer file.Close()
return LoadPEMPrivKey(file)
} | [
"func",
"LoadPEMPrivKeyFile",
"(",
"name",
"string",
")",
"(",
"*",
"rsa",
".",
"PrivateKey",
",",
"error",
")",
"{",
"file",
",",
"err",
":=",
"os",
".",
"Open",
"(",
"name",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n",
"defer",
"file",
".",
"Close",
"(",
")",
"\n\n",
"return",
"LoadPEMPrivKey",
"(",
"file",
")",
"\n",
"}"
] | // LoadPEMPrivKeyFile reads a PEM encoded RSA private key from the file name.
// A new RSA private key will be returned if no error. | [
"LoadPEMPrivKeyFile",
"reads",
"a",
"PEM",
"encoded",
"RSA",
"private",
"key",
"from",
"the",
"file",
"name",
".",
"A",
"new",
"RSA",
"private",
"key",
"will",
"be",
"returned",
"if",
"no",
"error",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/privkey.go#L15-L23 |
166,343 | aws/aws-sdk-go | service/cloudfront/sign/privkey.go | LoadPEMPrivKey | func LoadPEMPrivKey(reader io.Reader) (*rsa.PrivateKey, error) {
block, err := loadPem(reader)
if err != nil {
return nil, err
}
return x509.ParsePKCS1PrivateKey(block.Bytes)
} | go | func LoadPEMPrivKey(reader io.Reader) (*rsa.PrivateKey, error) {
block, err := loadPem(reader)
if err != nil {
return nil, err
}
return x509.ParsePKCS1PrivateKey(block.Bytes)
} | [
"func",
"LoadPEMPrivKey",
"(",
"reader",
"io",
".",
"Reader",
")",
"(",
"*",
"rsa",
".",
"PrivateKey",
",",
"error",
")",
"{",
"block",
",",
"err",
":=",
"loadPem",
"(",
"reader",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"return",
"x509",
".",
"ParsePKCS1PrivateKey",
"(",
"block",
".",
"Bytes",
")",
"\n",
"}"
] | // LoadPEMPrivKey reads a PEM encoded RSA private key from the io.Reader.
// A new RSA private key will be returned if no error. | [
"LoadPEMPrivKey",
"reads",
"a",
"PEM",
"encoded",
"RSA",
"private",
"key",
"from",
"the",
"io",
".",
"Reader",
".",
"A",
"new",
"RSA",
"private",
"key",
"will",
"be",
"returned",
"if",
"no",
"error",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/privkey.go#L27-L34 |
166,344 | aws/aws-sdk-go | service/cloudfront/sign/privkey.go | LoadEncryptedPEMPrivKey | func LoadEncryptedPEMPrivKey(reader io.Reader, password []byte) (*rsa.PrivateKey, error) {
block, err := loadPem(reader)
if err != nil {
return nil, err
}
decryptedBlock, err := x509.DecryptPEMBlock(block, password)
if err != nil {
return nil, err
}
return x509.ParsePKCS1PrivateKey(decryptedBlock)
} | go | func LoadEncryptedPEMPrivKey(reader io.Reader, password []byte) (*rsa.PrivateKey, error) {
block, err := loadPem(reader)
if err != nil {
return nil, err
}
decryptedBlock, err := x509.DecryptPEMBlock(block, password)
if err != nil {
return nil, err
}
return x509.ParsePKCS1PrivateKey(decryptedBlock)
} | [
"func",
"LoadEncryptedPEMPrivKey",
"(",
"reader",
"io",
".",
"Reader",
",",
"password",
"[",
"]",
"byte",
")",
"(",
"*",
"rsa",
".",
"PrivateKey",
",",
"error",
")",
"{",
"block",
",",
"err",
":=",
"loadPem",
"(",
"reader",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"decryptedBlock",
",",
"err",
":=",
"x509",
".",
"DecryptPEMBlock",
"(",
"block",
",",
"password",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"return",
"x509",
".",
"ParsePKCS1PrivateKey",
"(",
"decryptedBlock",
")",
"\n",
"}"
] | // LoadEncryptedPEMPrivKey decrypts the PEM encoded private key using the
// password provided returning a RSA private key. If the PEM data is invalid,
// or unable to decrypt an error will be returned. | [
"LoadEncryptedPEMPrivKey",
"decrypts",
"the",
"PEM",
"encoded",
"private",
"key",
"using",
"the",
"password",
"provided",
"returning",
"a",
"RSA",
"private",
"key",
".",
"If",
"the",
"PEM",
"data",
"is",
"invalid",
"or",
"unable",
"to",
"decrypt",
"an",
"error",
"will",
"be",
"returned",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/privkey.go#L39-L51 |
166,345 | aws/aws-sdk-go | service/shield/api.go | SetAttackCounters | func (s *AttackDetail) SetAttackCounters(v []*SummarizedCounter) *AttackDetail {
s.AttackCounters = v
return s
} | go | func (s *AttackDetail) SetAttackCounters(v []*SummarizedCounter) *AttackDetail {
s.AttackCounters = v
return s
} | [
"func",
"(",
"s",
"*",
"AttackDetail",
")",
"SetAttackCounters",
"(",
"v",
"[",
"]",
"*",
"SummarizedCounter",
")",
"*",
"AttackDetail",
"{",
"s",
".",
"AttackCounters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttackCounters sets the AttackCounters field's value. | [
"SetAttackCounters",
"sets",
"the",
"AttackCounters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L1891-L1894 |
166,346 | aws/aws-sdk-go | service/shield/api.go | SetAttackProperties | func (s *AttackDetail) SetAttackProperties(v []*AttackProperty) *AttackDetail {
s.AttackProperties = v
return s
} | go | func (s *AttackDetail) SetAttackProperties(v []*AttackProperty) *AttackDetail {
s.AttackProperties = v
return s
} | [
"func",
"(",
"s",
"*",
"AttackDetail",
")",
"SetAttackProperties",
"(",
"v",
"[",
"]",
"*",
"AttackProperty",
")",
"*",
"AttackDetail",
"{",
"s",
".",
"AttackProperties",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttackProperties sets the AttackProperties field's value. | [
"SetAttackProperties",
"sets",
"the",
"AttackProperties",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L1903-L1906 |
166,347 | aws/aws-sdk-go | service/shield/api.go | SetMitigations | func (s *AttackDetail) SetMitigations(v []*Mitigation) *AttackDetail {
s.Mitigations = v
return s
} | go | func (s *AttackDetail) SetMitigations(v []*Mitigation) *AttackDetail {
s.Mitigations = v
return s
} | [
"func",
"(",
"s",
"*",
"AttackDetail",
")",
"SetMitigations",
"(",
"v",
"[",
"]",
"*",
"Mitigation",
")",
"*",
"AttackDetail",
"{",
"s",
".",
"Mitigations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMitigations sets the Mitigations field's value. | [
"SetMitigations",
"sets",
"the",
"Mitigations",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L1915-L1918 |
166,348 | aws/aws-sdk-go | service/shield/api.go | SetSubResources | func (s *AttackDetail) SetSubResources(v []*SubResourceSummary) *AttackDetail {
s.SubResources = v
return s
} | go | func (s *AttackDetail) SetSubResources(v []*SubResourceSummary) *AttackDetail {
s.SubResources = v
return s
} | [
"func",
"(",
"s",
"*",
"AttackDetail",
")",
"SetSubResources",
"(",
"v",
"[",
"]",
"*",
"SubResourceSummary",
")",
"*",
"AttackDetail",
"{",
"s",
".",
"SubResources",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubResources sets the SubResources field's value. | [
"SetSubResources",
"sets",
"the",
"SubResources",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L1933-L1936 |
166,349 | aws/aws-sdk-go | service/shield/api.go | SetAttackLayer | func (s *AttackProperty) SetAttackLayer(v string) *AttackProperty {
s.AttackLayer = &v
return s
} | go | func (s *AttackProperty) SetAttackLayer(v string) *AttackProperty {
s.AttackLayer = &v
return s
} | [
"func",
"(",
"s",
"*",
"AttackProperty",
")",
"SetAttackLayer",
"(",
"v",
"string",
")",
"*",
"AttackProperty",
"{",
"s",
".",
"AttackLayer",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttackLayer sets the AttackLayer field's value. | [
"SetAttackLayer",
"sets",
"the",
"AttackLayer",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L1972-L1975 |
166,350 | aws/aws-sdk-go | service/shield/api.go | SetAttackPropertyIdentifier | func (s *AttackProperty) SetAttackPropertyIdentifier(v string) *AttackProperty {
s.AttackPropertyIdentifier = &v
return s
} | go | func (s *AttackProperty) SetAttackPropertyIdentifier(v string) *AttackProperty {
s.AttackPropertyIdentifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"AttackProperty",
")",
"SetAttackPropertyIdentifier",
"(",
"v",
"string",
")",
"*",
"AttackProperty",
"{",
"s",
".",
"AttackPropertyIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttackPropertyIdentifier sets the AttackPropertyIdentifier field's value. | [
"SetAttackPropertyIdentifier",
"sets",
"the",
"AttackPropertyIdentifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L1978-L1981 |
166,351 | aws/aws-sdk-go | service/shield/api.go | SetTopContributors | func (s *AttackProperty) SetTopContributors(v []*Contributor) *AttackProperty {
s.TopContributors = v
return s
} | go | func (s *AttackProperty) SetTopContributors(v []*Contributor) *AttackProperty {
s.TopContributors = v
return s
} | [
"func",
"(",
"s",
"*",
"AttackProperty",
")",
"SetTopContributors",
"(",
"v",
"[",
"]",
"*",
"Contributor",
")",
"*",
"AttackProperty",
"{",
"s",
".",
"TopContributors",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTopContributors sets the TopContributors field's value. | [
"SetTopContributors",
"sets",
"the",
"TopContributors",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L1984-L1987 |
166,352 | aws/aws-sdk-go | service/shield/api.go | SetAttack | func (s *DescribeAttackOutput) SetAttack(v *AttackDetail) *DescribeAttackOutput {
s.Attack = v
return s
} | go | func (s *DescribeAttackOutput) SetAttack(v *AttackDetail) *DescribeAttackOutput {
s.Attack = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeAttackOutput",
")",
"SetAttack",
"(",
"v",
"*",
"AttackDetail",
")",
"*",
"DescribeAttackOutput",
"{",
"s",
".",
"Attack",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttack sets the Attack field's value. | [
"SetAttack",
"sets",
"the",
"Attack",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L2422-L2425 |
166,353 | aws/aws-sdk-go | service/shield/api.go | SetLogBucketList | func (s *DescribeDRTAccessOutput) SetLogBucketList(v []*string) *DescribeDRTAccessOutput {
s.LogBucketList = v
return s
} | go | func (s *DescribeDRTAccessOutput) SetLogBucketList(v []*string) *DescribeDRTAccessOutput {
s.LogBucketList = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDRTAccessOutput",
")",
"SetLogBucketList",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeDRTAccessOutput",
"{",
"s",
".",
"LogBucketList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLogBucketList sets the LogBucketList field's value. | [
"SetLogBucketList",
"sets",
"the",
"LogBucketList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L2463-L2466 |
166,354 | aws/aws-sdk-go | service/shield/api.go | SetProtection | func (s *DescribeProtectionOutput) SetProtection(v *Protection) *DescribeProtectionOutput {
s.Protection = v
return s
} | go | func (s *DescribeProtectionOutput) SetProtection(v *Protection) *DescribeProtectionOutput {
s.Protection = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeProtectionOutput",
")",
"SetProtection",
"(",
"v",
"*",
"Protection",
")",
"*",
"DescribeProtectionOutput",
"{",
"s",
".",
"Protection",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetProtection sets the Protection field's value. | [
"SetProtection",
"sets",
"the",
"Protection",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L2582-L2585 |
166,355 | aws/aws-sdk-go | service/shield/api.go | SetSubscriptionState | func (s *GetSubscriptionStateOutput) SetSubscriptionState(v string) *GetSubscriptionStateOutput {
s.SubscriptionState = &v
return s
} | go | func (s *GetSubscriptionStateOutput) SetSubscriptionState(v string) *GetSubscriptionStateOutput {
s.SubscriptionState = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetSubscriptionStateOutput",
")",
"SetSubscriptionState",
"(",
"v",
"string",
")",
"*",
"GetSubscriptionStateOutput",
"{",
"s",
".",
"SubscriptionState",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubscriptionState sets the SubscriptionState field's value. | [
"SetSubscriptionState",
"sets",
"the",
"SubscriptionState",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L2784-L2787 |
166,356 | aws/aws-sdk-go | service/shield/api.go | SetAttackSummaries | func (s *ListAttacksOutput) SetAttackSummaries(v []*AttackSummary) *ListAttacksOutput {
s.AttackSummaries = v
return s
} | go | func (s *ListAttacksOutput) SetAttackSummaries(v []*AttackSummary) *ListAttacksOutput {
s.AttackSummaries = v
return s
} | [
"func",
"(",
"s",
"*",
"ListAttacksOutput",
")",
"SetAttackSummaries",
"(",
"v",
"[",
"]",
"*",
"AttackSummary",
")",
"*",
"ListAttacksOutput",
"{",
"s",
".",
"AttackSummaries",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttackSummaries sets the AttackSummaries field's value. | [
"SetAttackSummaries",
"sets",
"the",
"AttackSummaries",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L2937-L2940 |
166,357 | aws/aws-sdk-go | service/shield/api.go | SetProtections | func (s *ListProtectionsOutput) SetProtections(v []*Protection) *ListProtectionsOutput {
s.Protections = v
return s
} | go | func (s *ListProtectionsOutput) SetProtections(v []*Protection) *ListProtectionsOutput {
s.Protections = v
return s
} | [
"func",
"(",
"s",
"*",
"ListProtectionsOutput",
")",
"SetProtections",
"(",
"v",
"[",
"]",
"*",
"Protection",
")",
"*",
"ListProtectionsOutput",
"{",
"s",
".",
"Protections",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetProtections sets the Protections field's value. | [
"SetProtections",
"sets",
"the",
"Protections",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L3036-L3039 |
166,358 | aws/aws-sdk-go | service/shield/api.go | SetMitigationName | func (s *Mitigation) SetMitigationName(v string) *Mitigation {
s.MitigationName = &v
return s
} | go | func (s *Mitigation) SetMitigationName(v string) *Mitigation {
s.MitigationName = &v
return s
} | [
"func",
"(",
"s",
"*",
"Mitigation",
")",
"SetMitigationName",
"(",
"v",
"string",
")",
"*",
"Mitigation",
"{",
"s",
".",
"MitigationName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMitigationName sets the MitigationName field's value. | [
"SetMitigationName",
"sets",
"the",
"MitigationName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L3060-L3063 |
166,359 | aws/aws-sdk-go | service/shield/api.go | SetTimeCommitmentInSeconds | func (s *Subscription) SetTimeCommitmentInSeconds(v int64) *Subscription {
s.TimeCommitmentInSeconds = &v
return s
} | go | func (s *Subscription) SetTimeCommitmentInSeconds(v int64) *Subscription {
s.TimeCommitmentInSeconds = &v
return s
} | [
"func",
"(",
"s",
"*",
"Subscription",
")",
"SetTimeCommitmentInSeconds",
"(",
"v",
"int64",
")",
"*",
"Subscription",
"{",
"s",
".",
"TimeCommitmentInSeconds",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTimeCommitmentInSeconds sets the TimeCommitmentInSeconds field's value. | [
"SetTimeCommitmentInSeconds",
"sets",
"the",
"TimeCommitmentInSeconds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L3220-L3223 |
166,360 | aws/aws-sdk-go | service/shield/api.go | SetVectorCounters | func (s *SummarizedAttackVector) SetVectorCounters(v []*SummarizedCounter) *SummarizedAttackVector {
s.VectorCounters = v
return s
} | go | func (s *SummarizedAttackVector) SetVectorCounters(v []*SummarizedCounter) *SummarizedAttackVector {
s.VectorCounters = v
return s
} | [
"func",
"(",
"s",
"*",
"SummarizedAttackVector",
")",
"SetVectorCounters",
"(",
"v",
"[",
"]",
"*",
"SummarizedCounter",
")",
"*",
"SummarizedAttackVector",
"{",
"s",
".",
"VectorCounters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVectorCounters sets the VectorCounters field's value. | [
"SetVectorCounters",
"sets",
"the",
"VectorCounters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L3249-L3252 |
166,361 | aws/aws-sdk-go | service/shield/api.go | SetFromInclusive | func (s *TimeRange) SetFromInclusive(v time.Time) *TimeRange {
s.FromInclusive = &v
return s
} | go | func (s *TimeRange) SetFromInclusive(v time.Time) *TimeRange {
s.FromInclusive = &v
return s
} | [
"func",
"(",
"s",
"*",
"TimeRange",
")",
"SetFromInclusive",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"TimeRange",
"{",
"s",
".",
"FromInclusive",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFromInclusive sets the FromInclusive field's value. | [
"SetFromInclusive",
"sets",
"the",
"FromInclusive",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L3353-L3356 |
166,362 | aws/aws-sdk-go | service/shield/api.go | SetToExclusive | func (s *TimeRange) SetToExclusive(v time.Time) *TimeRange {
s.ToExclusive = &v
return s
} | go | func (s *TimeRange) SetToExclusive(v time.Time) *TimeRange {
s.ToExclusive = &v
return s
} | [
"func",
"(",
"s",
"*",
"TimeRange",
")",
"SetToExclusive",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"TimeRange",
"{",
"s",
".",
"ToExclusive",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetToExclusive sets the ToExclusive field's value. | [
"SetToExclusive",
"sets",
"the",
"ToExclusive",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/shield/api.go#L3359-L3362 |
166,363 | aws/aws-sdk-go | private/protocol/restjson/restjson.go | Build | func Build(r *request.Request) {
rest.Build(r)
if t := rest.PayloadType(r.Params); t == "structure" || t == "" {
if v := r.HTTPRequest.Header.Get("Content-Type"); len(v) == 0 {
r.HTTPRequest.Header.Set("Content-Type", "application/json")
}
jsonrpc.Build(r)
}
} | go | func Build(r *request.Request) {
rest.Build(r)
if t := rest.PayloadType(r.Params); t == "structure" || t == "" {
if v := r.HTTPRequest.Header.Get("Content-Type"); len(v) == 0 {
r.HTTPRequest.Header.Set("Content-Type", "application/json")
}
jsonrpc.Build(r)
}
} | [
"func",
"Build",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"rest",
".",
"Build",
"(",
"r",
")",
"\n\n",
"if",
"t",
":=",
"rest",
".",
"PayloadType",
"(",
"r",
".",
"Params",
")",
";",
"t",
"==",
"\"",
"\"",
"||",
"t",
"==",
"\"",
"\"",
"{",
"if",
"v",
":=",
"r",
".",
"HTTPRequest",
".",
"Header",
".",
"Get",
"(",
"\"",
"\"",
")",
";",
"len",
"(",
"v",
")",
"==",
"0",
"{",
"r",
".",
"HTTPRequest",
".",
"Header",
".",
"Set",
"(",
"\"",
"\"",
",",
"\"",
"\"",
")",
"\n",
"}",
"\n",
"jsonrpc",
".",
"Build",
"(",
"r",
")",
"\n",
"}",
"\n",
"}"
] | // Build builds a request for the REST JSON protocol. | [
"Build",
"builds",
"a",
"request",
"for",
"the",
"REST",
"JSON",
"protocol",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/restjson/restjson.go#L32-L41 |
166,364 | aws/aws-sdk-go | private/protocol/restjson/restjson.go | Unmarshal | func Unmarshal(r *request.Request) {
if t := rest.PayloadType(r.Data); t == "structure" || t == "" {
jsonrpc.Unmarshal(r)
} else {
rest.Unmarshal(r)
}
} | go | func Unmarshal(r *request.Request) {
if t := rest.PayloadType(r.Data); t == "structure" || t == "" {
jsonrpc.Unmarshal(r)
} else {
rest.Unmarshal(r)
}
} | [
"func",
"Unmarshal",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"if",
"t",
":=",
"rest",
".",
"PayloadType",
"(",
"r",
".",
"Data",
")",
";",
"t",
"==",
"\"",
"\"",
"||",
"t",
"==",
"\"",
"\"",
"{",
"jsonrpc",
".",
"Unmarshal",
"(",
"r",
")",
"\n",
"}",
"else",
"{",
"rest",
".",
"Unmarshal",
"(",
"r",
")",
"\n",
"}",
"\n",
"}"
] | // Unmarshal unmarshals a response body for the REST JSON protocol. | [
"Unmarshal",
"unmarshals",
"a",
"response",
"body",
"for",
"the",
"REST",
"JSON",
"protocol",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/restjson/restjson.go#L44-L50 |
166,365 | aws/aws-sdk-go | private/protocol/restjson/restjson.go | UnmarshalError | func UnmarshalError(r *request.Request) {
defer r.HTTPResponse.Body.Close()
var jsonErr jsonErrorResponse
err := json.NewDecoder(r.HTTPResponse.Body).Decode(&jsonErr)
if err == io.EOF {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", r.HTTPResponse.Status, nil),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
} else if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed decoding REST JSON error response", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
code := r.HTTPResponse.Header.Get("X-Amzn-Errortype")
if code == "" {
code = jsonErr.Code
}
code = strings.SplitN(code, ":", 2)[0]
r.Error = awserr.NewRequestFailure(
awserr.New(code, jsonErr.Message, nil),
r.HTTPResponse.StatusCode,
r.RequestID,
)
} | go | func UnmarshalError(r *request.Request) {
defer r.HTTPResponse.Body.Close()
var jsonErr jsonErrorResponse
err := json.NewDecoder(r.HTTPResponse.Body).Decode(&jsonErr)
if err == io.EOF {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", r.HTTPResponse.Status, nil),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
} else if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed decoding REST JSON error response", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
code := r.HTTPResponse.Header.Get("X-Amzn-Errortype")
if code == "" {
code = jsonErr.Code
}
code = strings.SplitN(code, ":", 2)[0]
r.Error = awserr.NewRequestFailure(
awserr.New(code, jsonErr.Message, nil),
r.HTTPResponse.StatusCode,
r.RequestID,
)
} | [
"func",
"UnmarshalError",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"defer",
"r",
".",
"HTTPResponse",
".",
"Body",
".",
"Close",
"(",
")",
"\n\n",
"var",
"jsonErr",
"jsonErrorResponse",
"\n",
"err",
":=",
"json",
".",
"NewDecoder",
"(",
"r",
".",
"HTTPResponse",
".",
"Body",
")",
".",
"Decode",
"(",
"&",
"jsonErr",
")",
"\n",
"if",
"err",
"==",
"io",
".",
"EOF",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"r",
".",
"HTTPResponse",
".",
"Status",
",",
"nil",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"return",
"\n",
"}",
"else",
"if",
"err",
"!=",
"nil",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"err",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"return",
"\n",
"}",
"\n\n",
"code",
":=",
"r",
".",
"HTTPResponse",
".",
"Header",
".",
"Get",
"(",
"\"",
"\"",
")",
"\n",
"if",
"code",
"==",
"\"",
"\"",
"{",
"code",
"=",
"jsonErr",
".",
"Code",
"\n",
"}",
"\n\n",
"code",
"=",
"strings",
".",
"SplitN",
"(",
"code",
",",
"\"",
"\"",
",",
"2",
")",
"[",
"0",
"]",
"\n",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"code",
",",
"jsonErr",
".",
"Message",
",",
"nil",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"}"
] | // UnmarshalError unmarshals a response error for the REST JSON protocol. | [
"UnmarshalError",
"unmarshals",
"a",
"response",
"error",
"for",
"the",
"REST",
"JSON",
"protocol",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/restjson/restjson.go#L58-L90 |
166,366 | aws/aws-sdk-go | private/protocol/query/unmarshal_error.go | UnmarshalError | func UnmarshalError(r *request.Request) {
defer r.HTTPResponse.Body.Close()
bodyBytes, err := ioutil.ReadAll(r.HTTPResponse.Body)
if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed to read from query HTTP response body", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
// First check for specific error
resp := xmlErrorResponse{}
decodeErr := xml.Unmarshal(bodyBytes, &resp)
if decodeErr == nil {
reqID := resp.RequestID
if reqID == "" {
reqID = r.RequestID
}
r.Error = awserr.NewRequestFailure(
awserr.New(resp.Code, resp.Message, nil),
r.HTTPResponse.StatusCode,
reqID,
)
return
}
// Check for unhandled error
servUnavailResp := xmlServiceUnavailableResponse{}
unavailErr := xml.Unmarshal(bodyBytes, &servUnavailResp)
if unavailErr == nil {
r.Error = awserr.NewRequestFailure(
awserr.New("ServiceUnavailableException", "service is unavailable", nil),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
// Failed to retrieve any error message from the response body
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError",
"failed to decode query XML error response", decodeErr),
r.HTTPResponse.StatusCode,
r.RequestID,
)
} | go | func UnmarshalError(r *request.Request) {
defer r.HTTPResponse.Body.Close()
bodyBytes, err := ioutil.ReadAll(r.HTTPResponse.Body)
if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed to read from query HTTP response body", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
// First check for specific error
resp := xmlErrorResponse{}
decodeErr := xml.Unmarshal(bodyBytes, &resp)
if decodeErr == nil {
reqID := resp.RequestID
if reqID == "" {
reqID = r.RequestID
}
r.Error = awserr.NewRequestFailure(
awserr.New(resp.Code, resp.Message, nil),
r.HTTPResponse.StatusCode,
reqID,
)
return
}
// Check for unhandled error
servUnavailResp := xmlServiceUnavailableResponse{}
unavailErr := xml.Unmarshal(bodyBytes, &servUnavailResp)
if unavailErr == nil {
r.Error = awserr.NewRequestFailure(
awserr.New("ServiceUnavailableException", "service is unavailable", nil),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
// Failed to retrieve any error message from the response body
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError",
"failed to decode query XML error response", decodeErr),
r.HTTPResponse.StatusCode,
r.RequestID,
)
} | [
"func",
"UnmarshalError",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"defer",
"r",
".",
"HTTPResponse",
".",
"Body",
".",
"Close",
"(",
")",
"\n\n",
"bodyBytes",
",",
"err",
":=",
"ioutil",
".",
"ReadAll",
"(",
"r",
".",
"HTTPResponse",
".",
"Body",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"err",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"return",
"\n",
"}",
"\n\n",
"// First check for specific error",
"resp",
":=",
"xmlErrorResponse",
"{",
"}",
"\n",
"decodeErr",
":=",
"xml",
".",
"Unmarshal",
"(",
"bodyBytes",
",",
"&",
"resp",
")",
"\n",
"if",
"decodeErr",
"==",
"nil",
"{",
"reqID",
":=",
"resp",
".",
"RequestID",
"\n",
"if",
"reqID",
"==",
"\"",
"\"",
"{",
"reqID",
"=",
"r",
".",
"RequestID",
"\n",
"}",
"\n",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"resp",
".",
"Code",
",",
"resp",
".",
"Message",
",",
"nil",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"reqID",
",",
")",
"\n",
"return",
"\n",
"}",
"\n\n",
"// Check for unhandled error",
"servUnavailResp",
":=",
"xmlServiceUnavailableResponse",
"{",
"}",
"\n",
"unavailErr",
":=",
"xml",
".",
"Unmarshal",
"(",
"bodyBytes",
",",
"&",
"servUnavailResp",
")",
"\n",
"if",
"unavailErr",
"==",
"nil",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"return",
"\n",
"}",
"\n\n",
"// Failed to retrieve any error message from the response body",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"decodeErr",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"}"
] | // UnmarshalError unmarshals an error response for an AWS Query service. | [
"UnmarshalError",
"unmarshals",
"an",
"error",
"response",
"for",
"an",
"AWS",
"Query",
"service",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/query/unmarshal_error.go#L26-L74 |
166,367 | aws/aws-sdk-go | private/protocol/ec2query/unmarshal.go | Unmarshal | func Unmarshal(r *request.Request) {
defer r.HTTPResponse.Body.Close()
if r.DataFilled() {
decoder := xml.NewDecoder(r.HTTPResponse.Body)
err := xmlutil.UnmarshalXML(r.Data, decoder, "")
if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed decoding EC2 Query response", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
}
} | go | func Unmarshal(r *request.Request) {
defer r.HTTPResponse.Body.Close()
if r.DataFilled() {
decoder := xml.NewDecoder(r.HTTPResponse.Body)
err := xmlutil.UnmarshalXML(r.Data, decoder, "")
if err != nil {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed decoding EC2 Query response", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
return
}
}
} | [
"func",
"Unmarshal",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"defer",
"r",
".",
"HTTPResponse",
".",
"Body",
".",
"Close",
"(",
")",
"\n",
"if",
"r",
".",
"DataFilled",
"(",
")",
"{",
"decoder",
":=",
"xml",
".",
"NewDecoder",
"(",
"r",
".",
"HTTPResponse",
".",
"Body",
")",
"\n",
"err",
":=",
"xmlutil",
".",
"UnmarshalXML",
"(",
"r",
".",
"Data",
",",
"decoder",
",",
"\"",
"\"",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"err",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"return",
"\n",
"}",
"\n",
"}",
"\n",
"}"
] | // Unmarshal unmarshals a response body for the EC2 protocol. | [
"Unmarshal",
"unmarshals",
"a",
"response",
"body",
"for",
"the",
"EC2",
"protocol",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/ec2query/unmarshal.go#L24-L38 |
166,368 | aws/aws-sdk-go | private/protocol/ec2query/unmarshal.go | UnmarshalError | func UnmarshalError(r *request.Request) {
defer r.HTTPResponse.Body.Close()
resp := &xmlErrorResponse{}
err := xml.NewDecoder(r.HTTPResponse.Body).Decode(resp)
if err != nil && err != io.EOF {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed decoding EC2 Query error response", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
} else {
r.Error = awserr.NewRequestFailure(
awserr.New(resp.Code, resp.Message, nil),
r.HTTPResponse.StatusCode,
resp.RequestID,
)
}
} | go | func UnmarshalError(r *request.Request) {
defer r.HTTPResponse.Body.Close()
resp := &xmlErrorResponse{}
err := xml.NewDecoder(r.HTTPResponse.Body).Decode(resp)
if err != nil && err != io.EOF {
r.Error = awserr.NewRequestFailure(
awserr.New("SerializationError", "failed decoding EC2 Query error response", err),
r.HTTPResponse.StatusCode,
r.RequestID,
)
} else {
r.Error = awserr.NewRequestFailure(
awserr.New(resp.Code, resp.Message, nil),
r.HTTPResponse.StatusCode,
resp.RequestID,
)
}
} | [
"func",
"UnmarshalError",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"defer",
"r",
".",
"HTTPResponse",
".",
"Body",
".",
"Close",
"(",
")",
"\n\n",
"resp",
":=",
"&",
"xmlErrorResponse",
"{",
"}",
"\n",
"err",
":=",
"xml",
".",
"NewDecoder",
"(",
"r",
".",
"HTTPResponse",
".",
"Body",
")",
".",
"Decode",
"(",
"resp",
")",
"\n",
"if",
"err",
"!=",
"nil",
"&&",
"err",
"!=",
"io",
".",
"EOF",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"err",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"r",
".",
"RequestID",
",",
")",
"\n",
"}",
"else",
"{",
"r",
".",
"Error",
"=",
"awserr",
".",
"NewRequestFailure",
"(",
"awserr",
".",
"New",
"(",
"resp",
".",
"Code",
",",
"resp",
".",
"Message",
",",
"nil",
")",
",",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
",",
"resp",
".",
"RequestID",
",",
")",
"\n",
"}",
"\n",
"}"
] | // UnmarshalError unmarshals a response error for the EC2 protocol. | [
"UnmarshalError",
"unmarshals",
"a",
"response",
"error",
"for",
"the",
"EC2",
"protocol",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/ec2query/unmarshal.go#L53-L71 |
166,369 | aws/aws-sdk-go | service/route53domains/api.go | SetBillDate | func (s *BillingRecord) SetBillDate(v time.Time) *BillingRecord {
s.BillDate = &v
return s
} | go | func (s *BillingRecord) SetBillDate(v time.Time) *BillingRecord {
s.BillDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"BillingRecord",
")",
"SetBillDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"BillingRecord",
"{",
"s",
".",
"BillDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBillDate sets the BillDate field's value. | [
"SetBillDate",
"sets",
"the",
"BillDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2411-L2414 |
166,370 | aws/aws-sdk-go | service/route53domains/api.go | SetInvoiceId | func (s *BillingRecord) SetInvoiceId(v string) *BillingRecord {
s.InvoiceId = &v
return s
} | go | func (s *BillingRecord) SetInvoiceId(v string) *BillingRecord {
s.InvoiceId = &v
return s
} | [
"func",
"(",
"s",
"*",
"BillingRecord",
")",
"SetInvoiceId",
"(",
"v",
"string",
")",
"*",
"BillingRecord",
"{",
"s",
".",
"InvoiceId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInvoiceId sets the InvoiceId field's value. | [
"SetInvoiceId",
"sets",
"the",
"InvoiceId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2423-L2426 |
166,371 | aws/aws-sdk-go | service/route53domains/api.go | SetTransferability | func (s *CheckDomainTransferabilityOutput) SetTransferability(v *DomainTransferability) *CheckDomainTransferabilityOutput {
s.Transferability = v
return s
} | go | func (s *CheckDomainTransferabilityOutput) SetTransferability(v *DomainTransferability) *CheckDomainTransferabilityOutput {
s.Transferability = v
return s
} | [
"func",
"(",
"s",
"*",
"CheckDomainTransferabilityOutput",
")",
"SetTransferability",
"(",
"v",
"*",
"DomainTransferability",
")",
"*",
"CheckDomainTransferabilityOutput",
"{",
"s",
".",
"Transferability",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTransferability sets the Transferability field's value. | [
"SetTransferability",
"sets",
"the",
"Transferability",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2621-L2624 |
166,372 | aws/aws-sdk-go | service/route53domains/api.go | SetAddressLine1 | func (s *ContactDetail) SetAddressLine1(v string) *ContactDetail {
s.AddressLine1 = &v
return s
} | go | func (s *ContactDetail) SetAddressLine1(v string) *ContactDetail {
s.AddressLine1 = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContactDetail",
")",
"SetAddressLine1",
"(",
"v",
"string",
")",
"*",
"ContactDetail",
"{",
"s",
".",
"AddressLine1",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAddressLine1 sets the AddressLine1 field's value. | [
"SetAddressLine1",
"sets",
"the",
"AddressLine1",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2714-L2717 |
166,373 | aws/aws-sdk-go | service/route53domains/api.go | SetAddressLine2 | func (s *ContactDetail) SetAddressLine2(v string) *ContactDetail {
s.AddressLine2 = &v
return s
} | go | func (s *ContactDetail) SetAddressLine2(v string) *ContactDetail {
s.AddressLine2 = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContactDetail",
")",
"SetAddressLine2",
"(",
"v",
"string",
")",
"*",
"ContactDetail",
"{",
"s",
".",
"AddressLine2",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAddressLine2 sets the AddressLine2 field's value. | [
"SetAddressLine2",
"sets",
"the",
"AddressLine2",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2720-L2723 |
166,374 | aws/aws-sdk-go | service/route53domains/api.go | SetContactType | func (s *ContactDetail) SetContactType(v string) *ContactDetail {
s.ContactType = &v
return s
} | go | func (s *ContactDetail) SetContactType(v string) *ContactDetail {
s.ContactType = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContactDetail",
")",
"SetContactType",
"(",
"v",
"string",
")",
"*",
"ContactDetail",
"{",
"s",
".",
"ContactType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetContactType sets the ContactType field's value. | [
"SetContactType",
"sets",
"the",
"ContactType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2732-L2735 |
166,375 | aws/aws-sdk-go | service/route53domains/api.go | SetExtraParams | func (s *ContactDetail) SetExtraParams(v []*ExtraParam) *ContactDetail {
s.ExtraParams = v
return s
} | go | func (s *ContactDetail) SetExtraParams(v []*ExtraParam) *ContactDetail {
s.ExtraParams = v
return s
} | [
"func",
"(",
"s",
"*",
"ContactDetail",
")",
"SetExtraParams",
"(",
"v",
"[",
"]",
"*",
"ExtraParam",
")",
"*",
"ContactDetail",
"{",
"s",
".",
"ExtraParams",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetExtraParams sets the ExtraParams field's value. | [
"SetExtraParams",
"sets",
"the",
"ExtraParams",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2750-L2753 |
166,376 | aws/aws-sdk-go | service/route53domains/api.go | SetFax | func (s *ContactDetail) SetFax(v string) *ContactDetail {
s.Fax = &v
return s
} | go | func (s *ContactDetail) SetFax(v string) *ContactDetail {
s.Fax = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContactDetail",
")",
"SetFax",
"(",
"v",
"string",
")",
"*",
"ContactDetail",
"{",
"s",
".",
"Fax",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFax sets the Fax field's value. | [
"SetFax",
"sets",
"the",
"Fax",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2756-L2759 |
166,377 | aws/aws-sdk-go | service/route53domains/api.go | SetTagsToDelete | func (s *DeleteTagsForDomainInput) SetTagsToDelete(v []*string) *DeleteTagsForDomainInput {
s.TagsToDelete = v
return s
} | go | func (s *DeleteTagsForDomainInput) SetTagsToDelete(v []*string) *DeleteTagsForDomainInput {
s.TagsToDelete = v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteTagsForDomainInput",
")",
"SetTagsToDelete",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DeleteTagsForDomainInput",
"{",
"s",
".",
"TagsToDelete",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTagsToDelete sets the TagsToDelete field's value. | [
"SetTagsToDelete",
"sets",
"the",
"TagsToDelete",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L2845-L2848 |
166,378 | aws/aws-sdk-go | service/route53domains/api.go | SetExpiry | func (s *DomainSummary) SetExpiry(v time.Time) *DomainSummary {
s.Expiry = &v
return s
} | go | func (s *DomainSummary) SetExpiry(v time.Time) *DomainSummary {
s.Expiry = &v
return s
} | [
"func",
"(",
"s",
"*",
"DomainSummary",
")",
"SetExpiry",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"DomainSummary",
"{",
"s",
".",
"Expiry",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetExpiry sets the Expiry field's value. | [
"SetExpiry",
"sets",
"the",
"Expiry",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3085-L3088 |
166,379 | aws/aws-sdk-go | service/route53domains/api.go | SetTransferLock | func (s *DomainSummary) SetTransferLock(v bool) *DomainSummary {
s.TransferLock = &v
return s
} | go | func (s *DomainSummary) SetTransferLock(v bool) *DomainSummary {
s.TransferLock = &v
return s
} | [
"func",
"(",
"s",
"*",
"DomainSummary",
")",
"SetTransferLock",
"(",
"v",
"bool",
")",
"*",
"DomainSummary",
"{",
"s",
".",
"TransferLock",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTransferLock sets the TransferLock field's value. | [
"SetTransferLock",
"sets",
"the",
"TransferLock",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3091-L3094 |
166,380 | aws/aws-sdk-go | service/route53domains/api.go | SetTransferable | func (s *DomainTransferability) SetTransferable(v string) *DomainTransferability {
s.Transferable = &v
return s
} | go | func (s *DomainTransferability) SetTransferable(v string) *DomainTransferability {
s.Transferable = &v
return s
} | [
"func",
"(",
"s",
"*",
"DomainTransferability",
")",
"SetTransferable",
"(",
"v",
"string",
")",
"*",
"DomainTransferability",
"{",
"s",
".",
"Transferable",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTransferable sets the Transferable field's value. | [
"SetTransferable",
"sets",
"the",
"Transferable",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3126-L3129 |
166,381 | aws/aws-sdk-go | service/route53domains/api.go | SetAbuseContactEmail | func (s *GetDomainDetailOutput) SetAbuseContactEmail(v string) *GetDomainDetailOutput {
s.AbuseContactEmail = &v
return s
} | go | func (s *GetDomainDetailOutput) SetAbuseContactEmail(v string) *GetDomainDetailOutput {
s.AbuseContactEmail = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetAbuseContactEmail",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"AbuseContactEmail",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAbuseContactEmail sets the AbuseContactEmail field's value. | [
"SetAbuseContactEmail",
"sets",
"the",
"AbuseContactEmail",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3555-L3558 |
166,382 | aws/aws-sdk-go | service/route53domains/api.go | SetAbuseContactPhone | func (s *GetDomainDetailOutput) SetAbuseContactPhone(v string) *GetDomainDetailOutput {
s.AbuseContactPhone = &v
return s
} | go | func (s *GetDomainDetailOutput) SetAbuseContactPhone(v string) *GetDomainDetailOutput {
s.AbuseContactPhone = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetAbuseContactPhone",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"AbuseContactPhone",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAbuseContactPhone sets the AbuseContactPhone field's value. | [
"SetAbuseContactPhone",
"sets",
"the",
"AbuseContactPhone",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3561-L3564 |
166,383 | aws/aws-sdk-go | service/route53domains/api.go | SetDnsSec | func (s *GetDomainDetailOutput) SetDnsSec(v string) *GetDomainDetailOutput {
s.DnsSec = &v
return s
} | go | func (s *GetDomainDetailOutput) SetDnsSec(v string) *GetDomainDetailOutput {
s.DnsSec = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetDnsSec",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"DnsSec",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDnsSec sets the DnsSec field's value. | [
"SetDnsSec",
"sets",
"the",
"DnsSec",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3591-L3594 |
166,384 | aws/aws-sdk-go | service/route53domains/api.go | SetRegistrarName | func (s *GetDomainDetailOutput) SetRegistrarName(v string) *GetDomainDetailOutput {
s.RegistrarName = &v
return s
} | go | func (s *GetDomainDetailOutput) SetRegistrarName(v string) *GetDomainDetailOutput {
s.RegistrarName = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetRegistrarName",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"RegistrarName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegistrarName sets the RegistrarName field's value. | [
"SetRegistrarName",
"sets",
"the",
"RegistrarName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3627-L3630 |
166,385 | aws/aws-sdk-go | service/route53domains/api.go | SetRegistrarUrl | func (s *GetDomainDetailOutput) SetRegistrarUrl(v string) *GetDomainDetailOutput {
s.RegistrarUrl = &v
return s
} | go | func (s *GetDomainDetailOutput) SetRegistrarUrl(v string) *GetDomainDetailOutput {
s.RegistrarUrl = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetRegistrarUrl",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"RegistrarUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegistrarUrl sets the RegistrarUrl field's value. | [
"SetRegistrarUrl",
"sets",
"the",
"RegistrarUrl",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3633-L3636 |
166,386 | aws/aws-sdk-go | service/route53domains/api.go | SetRegistryDomainId | func (s *GetDomainDetailOutput) SetRegistryDomainId(v string) *GetDomainDetailOutput {
s.RegistryDomainId = &v
return s
} | go | func (s *GetDomainDetailOutput) SetRegistryDomainId(v string) *GetDomainDetailOutput {
s.RegistryDomainId = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetRegistryDomainId",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"RegistryDomainId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegistryDomainId sets the RegistryDomainId field's value. | [
"SetRegistryDomainId",
"sets",
"the",
"RegistryDomainId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3639-L3642 |
166,387 | aws/aws-sdk-go | service/route53domains/api.go | SetReseller | func (s *GetDomainDetailOutput) SetReseller(v string) *GetDomainDetailOutput {
s.Reseller = &v
return s
} | go | func (s *GetDomainDetailOutput) SetReseller(v string) *GetDomainDetailOutput {
s.Reseller = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetReseller",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"Reseller",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReseller sets the Reseller field's value. | [
"SetReseller",
"sets",
"the",
"Reseller",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3645-L3648 |
166,388 | aws/aws-sdk-go | service/route53domains/api.go | SetStatusList | func (s *GetDomainDetailOutput) SetStatusList(v []*string) *GetDomainDetailOutput {
s.StatusList = v
return s
} | go | func (s *GetDomainDetailOutput) SetStatusList(v []*string) *GetDomainDetailOutput {
s.StatusList = v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetStatusList",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"StatusList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStatusList sets the StatusList field's value. | [
"SetStatusList",
"sets",
"the",
"StatusList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3651-L3654 |
166,389 | aws/aws-sdk-go | service/route53domains/api.go | SetWhoIsServer | func (s *GetDomainDetailOutput) SetWhoIsServer(v string) *GetDomainDetailOutput {
s.WhoIsServer = &v
return s
} | go | func (s *GetDomainDetailOutput) SetWhoIsServer(v string) *GetDomainDetailOutput {
s.WhoIsServer = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainDetailOutput",
")",
"SetWhoIsServer",
"(",
"v",
"string",
")",
"*",
"GetDomainDetailOutput",
"{",
"s",
".",
"WhoIsServer",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWhoIsServer sets the WhoIsServer field's value. | [
"SetWhoIsServer",
"sets",
"the",
"WhoIsServer",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3675-L3678 |
166,390 | aws/aws-sdk-go | service/route53domains/api.go | SetOnlyAvailable | func (s *GetDomainSuggestionsInput) SetOnlyAvailable(v bool) *GetDomainSuggestionsInput {
s.OnlyAvailable = &v
return s
} | go | func (s *GetDomainSuggestionsInput) SetOnlyAvailable(v bool) *GetDomainSuggestionsInput {
s.OnlyAvailable = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainSuggestionsInput",
")",
"SetOnlyAvailable",
"(",
"v",
"bool",
")",
"*",
"GetDomainSuggestionsInput",
"{",
"s",
".",
"OnlyAvailable",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOnlyAvailable sets the OnlyAvailable field's value. | [
"SetOnlyAvailable",
"sets",
"the",
"OnlyAvailable",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3743-L3746 |
166,391 | aws/aws-sdk-go | service/route53domains/api.go | SetSuggestionCount | func (s *GetDomainSuggestionsInput) SetSuggestionCount(v int64) *GetDomainSuggestionsInput {
s.SuggestionCount = &v
return s
} | go | func (s *GetDomainSuggestionsInput) SetSuggestionCount(v int64) *GetDomainSuggestionsInput {
s.SuggestionCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainSuggestionsInput",
")",
"SetSuggestionCount",
"(",
"v",
"int64",
")",
"*",
"GetDomainSuggestionsInput",
"{",
"s",
".",
"SuggestionCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSuggestionCount sets the SuggestionCount field's value. | [
"SetSuggestionCount",
"sets",
"the",
"SuggestionCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3749-L3752 |
166,392 | aws/aws-sdk-go | service/route53domains/api.go | SetSuggestionsList | func (s *GetDomainSuggestionsOutput) SetSuggestionsList(v []*DomainSuggestion) *GetDomainSuggestionsOutput {
s.SuggestionsList = v
return s
} | go | func (s *GetDomainSuggestionsOutput) SetSuggestionsList(v []*DomainSuggestion) *GetDomainSuggestionsOutput {
s.SuggestionsList = v
return s
} | [
"func",
"(",
"s",
"*",
"GetDomainSuggestionsOutput",
")",
"SetSuggestionsList",
"(",
"v",
"[",
"]",
"*",
"DomainSuggestion",
")",
"*",
"GetDomainSuggestionsOutput",
"{",
"s",
".",
"SuggestionsList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSuggestionsList sets the SuggestionsList field's value. | [
"SetSuggestionsList",
"sets",
"the",
"SuggestionsList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L3773-L3776 |
166,393 | aws/aws-sdk-go | service/route53domains/api.go | SetSubmittedSince | func (s *ListOperationsInput) SetSubmittedSince(v time.Time) *ListOperationsInput {
s.SubmittedSince = &v
return s
} | go | func (s *ListOperationsInput) SetSubmittedSince(v time.Time) *ListOperationsInput {
s.SubmittedSince = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListOperationsInput",
")",
"SetSubmittedSince",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ListOperationsInput",
"{",
"s",
".",
"SubmittedSince",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubmittedSince sets the SubmittedSince field's value. | [
"SetSubmittedSince",
"sets",
"the",
"SubmittedSince",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L4012-L4015 |
166,394 | aws/aws-sdk-go | service/route53domains/api.go | SetGlueIps | func (s *Nameserver) SetGlueIps(v []*string) *Nameserver {
s.GlueIps = v
return s
} | go | func (s *Nameserver) SetGlueIps(v []*string) *Nameserver {
s.GlueIps = v
return s
} | [
"func",
"(",
"s",
"*",
"Nameserver",
")",
"SetGlueIps",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Nameserver",
"{",
"s",
".",
"GlueIps",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGlueIps sets the GlueIps field's value. | [
"SetGlueIps",
"sets",
"the",
"GlueIps",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L4163-L4166 |
166,395 | aws/aws-sdk-go | service/route53domains/api.go | SetCurrentExpiryYear | func (s *RenewDomainInput) SetCurrentExpiryYear(v int64) *RenewDomainInput {
s.CurrentExpiryYear = &v
return s
} | go | func (s *RenewDomainInput) SetCurrentExpiryYear(v int64) *RenewDomainInput {
s.CurrentExpiryYear = &v
return s
} | [
"func",
"(",
"s",
"*",
"RenewDomainInput",
")",
"SetCurrentExpiryYear",
"(",
"v",
"int64",
")",
"*",
"RenewDomainInput",
"{",
"s",
".",
"CurrentExpiryYear",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCurrentExpiryYear sets the CurrentExpiryYear field's value. | [
"SetCurrentExpiryYear",
"sets",
"the",
"CurrentExpiryYear",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L4505-L4508 |
166,396 | aws/aws-sdk-go | service/route53domains/api.go | SetIsAlreadyVerified | func (s *ResendContactReachabilityEmailOutput) SetIsAlreadyVerified(v bool) *ResendContactReachabilityEmailOutput {
s.IsAlreadyVerified = &v
return s
} | go | func (s *ResendContactReachabilityEmailOutput) SetIsAlreadyVerified(v bool) *ResendContactReachabilityEmailOutput {
s.IsAlreadyVerified = &v
return s
} | [
"func",
"(",
"s",
"*",
"ResendContactReachabilityEmailOutput",
")",
"SetIsAlreadyVerified",
"(",
"v",
"bool",
")",
"*",
"ResendContactReachabilityEmailOutput",
"{",
"s",
".",
"IsAlreadyVerified",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIsAlreadyVerified sets the IsAlreadyVerified field's value. | [
"SetIsAlreadyVerified",
"sets",
"the",
"IsAlreadyVerified",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L4611-L4614 |
166,397 | aws/aws-sdk-go | service/route53domains/api.go | SetFIAuthKey | func (s *UpdateDomainNameserversInput) SetFIAuthKey(v string) *UpdateDomainNameserversInput {
s.FIAuthKey = &v
return s
} | go | func (s *UpdateDomainNameserversInput) SetFIAuthKey(v string) *UpdateDomainNameserversInput {
s.FIAuthKey = &v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateDomainNameserversInput",
")",
"SetFIAuthKey",
"(",
"v",
"string",
")",
"*",
"UpdateDomainNameserversInput",
"{",
"s",
".",
"FIAuthKey",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFIAuthKey sets the FIAuthKey field's value. | [
"SetFIAuthKey",
"sets",
"the",
"FIAuthKey",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L5250-L5253 |
166,398 | aws/aws-sdk-go | service/route53domains/api.go | SetTagsToUpdate | func (s *UpdateTagsForDomainInput) SetTagsToUpdate(v []*Tag) *UpdateTagsForDomainInput {
s.TagsToUpdate = v
return s
} | go | func (s *UpdateTagsForDomainInput) SetTagsToUpdate(v []*Tag) *UpdateTagsForDomainInput {
s.TagsToUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateTagsForDomainInput",
")",
"SetTagsToUpdate",
"(",
"v",
"[",
"]",
"*",
"Tag",
")",
"*",
"UpdateTagsForDomainInput",
"{",
"s",
".",
"TagsToUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTagsToUpdate sets the TagsToUpdate field's value. | [
"SetTagsToUpdate",
"sets",
"the",
"TagsToUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L5332-L5335 |
166,399 | aws/aws-sdk-go | service/route53domains/api.go | SetBillingRecords | func (s *ViewBillingOutput) SetBillingRecords(v []*BillingRecord) *ViewBillingOutput {
s.BillingRecords = v
return s
} | go | func (s *ViewBillingOutput) SetBillingRecords(v []*BillingRecord) *ViewBillingOutput {
s.BillingRecords = v
return s
} | [
"func",
"(",
"s",
"*",
"ViewBillingOutput",
")",
"SetBillingRecords",
"(",
"v",
"[",
"]",
"*",
"BillingRecord",
")",
"*",
"ViewBillingOutput",
"{",
"s",
".",
"BillingRecords",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBillingRecords sets the BillingRecords field's value. | [
"SetBillingRecords",
"sets",
"the",
"BillingRecords",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53domains/api.go#L5439-L5442 |