github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/backend/s3/setfrom.go (about) 1 // Code generated by "go run gen_setfrom.go"; DO NOT EDIT. 2 3 package s3 4 5 import "github.com/aws/aws-sdk-go/service/s3" 6 7 // setFrom_s3ListObjectsInput_s3ListObjectsV2Input copies matching elements from a to b 8 func setFrom_s3ListObjectsInput_s3ListObjectsV2Input(a *s3.ListObjectsInput, b *s3.ListObjectsV2Input) { 9 a.Bucket = b.Bucket 10 a.Delimiter = b.Delimiter 11 a.EncodingType = b.EncodingType 12 a.ExpectedBucketOwner = b.ExpectedBucketOwner 13 a.MaxKeys = b.MaxKeys 14 a.OptionalObjectAttributes = b.OptionalObjectAttributes 15 a.Prefix = b.Prefix 16 a.RequestPayer = b.RequestPayer 17 } 18 19 // setFrom_s3ListObjectsV2Output_s3ListObjectsOutput copies matching elements from a to b 20 func setFrom_s3ListObjectsV2Output_s3ListObjectsOutput(a *s3.ListObjectsV2Output, b *s3.ListObjectsOutput) { 21 a.CommonPrefixes = b.CommonPrefixes 22 a.Contents = b.Contents 23 a.Delimiter = b.Delimiter 24 a.EncodingType = b.EncodingType 25 a.IsTruncated = b.IsTruncated 26 a.MaxKeys = b.MaxKeys 27 a.Name = b.Name 28 a.Prefix = b.Prefix 29 a.RequestCharged = b.RequestCharged 30 } 31 32 // setFrom_s3ListObjectVersionsInput_s3ListObjectsV2Input copies matching elements from a to b 33 func setFrom_s3ListObjectVersionsInput_s3ListObjectsV2Input(a *s3.ListObjectVersionsInput, b *s3.ListObjectsV2Input) { 34 a.Bucket = b.Bucket 35 a.Delimiter = b.Delimiter 36 a.EncodingType = b.EncodingType 37 a.ExpectedBucketOwner = b.ExpectedBucketOwner 38 a.MaxKeys = b.MaxKeys 39 a.OptionalObjectAttributes = b.OptionalObjectAttributes 40 a.Prefix = b.Prefix 41 a.RequestPayer = b.RequestPayer 42 } 43 44 // setFrom_s3ObjectVersion_s3DeleteMarkerEntry copies matching elements from a to b 45 func setFrom_s3ObjectVersion_s3DeleteMarkerEntry(a *s3.ObjectVersion, b *s3.DeleteMarkerEntry) { 46 a.IsLatest = b.IsLatest 47 a.Key = b.Key 48 a.LastModified = b.LastModified 49 a.Owner = b.Owner 50 a.VersionId = b.VersionId 51 } 52 53 // setFrom_s3ListObjectsV2Output_s3ListObjectVersionsOutput copies matching elements from a to b 54 func setFrom_s3ListObjectsV2Output_s3ListObjectVersionsOutput(a *s3.ListObjectsV2Output, b *s3.ListObjectVersionsOutput) { 55 a.CommonPrefixes = b.CommonPrefixes 56 a.Delimiter = b.Delimiter 57 a.EncodingType = b.EncodingType 58 a.IsTruncated = b.IsTruncated 59 a.MaxKeys = b.MaxKeys 60 a.Name = b.Name 61 a.Prefix = b.Prefix 62 a.RequestCharged = b.RequestCharged 63 } 64 65 // setFrom_s3Object_s3ObjectVersion copies matching elements from a to b 66 func setFrom_s3Object_s3ObjectVersion(a *s3.Object, b *s3.ObjectVersion) { 67 a.ChecksumAlgorithm = b.ChecksumAlgorithm 68 a.ETag = b.ETag 69 a.Key = b.Key 70 a.LastModified = b.LastModified 71 a.Owner = b.Owner 72 a.RestoreStatus = b.RestoreStatus 73 a.Size = b.Size 74 a.StorageClass = b.StorageClass 75 } 76 77 // setFrom_s3CreateMultipartUploadInput_s3HeadObjectOutput copies matching elements from a to b 78 func setFrom_s3CreateMultipartUploadInput_s3HeadObjectOutput(a *s3.CreateMultipartUploadInput, b *s3.HeadObjectOutput) { 79 a.BucketKeyEnabled = b.BucketKeyEnabled 80 a.CacheControl = b.CacheControl 81 a.ContentDisposition = b.ContentDisposition 82 a.ContentEncoding = b.ContentEncoding 83 a.ContentLanguage = b.ContentLanguage 84 a.ContentType = b.ContentType 85 a.Metadata = b.Metadata 86 a.ObjectLockLegalHoldStatus = b.ObjectLockLegalHoldStatus 87 a.ObjectLockMode = b.ObjectLockMode 88 a.ObjectLockRetainUntilDate = b.ObjectLockRetainUntilDate 89 a.SSECustomerAlgorithm = b.SSECustomerAlgorithm 90 a.SSECustomerKeyMD5 = b.SSECustomerKeyMD5 91 a.SSEKMSKeyId = b.SSEKMSKeyId 92 a.ServerSideEncryption = b.ServerSideEncryption 93 a.StorageClass = b.StorageClass 94 a.WebsiteRedirectLocation = b.WebsiteRedirectLocation 95 } 96 97 // setFrom_s3CreateMultipartUploadInput_s3CopyObjectInput copies matching elements from a to b 98 func setFrom_s3CreateMultipartUploadInput_s3CopyObjectInput(a *s3.CreateMultipartUploadInput, b *s3.CopyObjectInput) { 99 a.ACL = b.ACL 100 a.Bucket = b.Bucket 101 a.BucketKeyEnabled = b.BucketKeyEnabled 102 a.CacheControl = b.CacheControl 103 a.ChecksumAlgorithm = b.ChecksumAlgorithm 104 a.ContentDisposition = b.ContentDisposition 105 a.ContentEncoding = b.ContentEncoding 106 a.ContentLanguage = b.ContentLanguage 107 a.ContentType = b.ContentType 108 a.ExpectedBucketOwner = b.ExpectedBucketOwner 109 a.Expires = b.Expires 110 a.GrantFullControl = b.GrantFullControl 111 a.GrantRead = b.GrantRead 112 a.GrantReadACP = b.GrantReadACP 113 a.GrantWriteACP = b.GrantWriteACP 114 a.Key = b.Key 115 a.Metadata = b.Metadata 116 a.ObjectLockLegalHoldStatus = b.ObjectLockLegalHoldStatus 117 a.ObjectLockMode = b.ObjectLockMode 118 a.ObjectLockRetainUntilDate = b.ObjectLockRetainUntilDate 119 a.RequestPayer = b.RequestPayer 120 a.SSECustomerAlgorithm = b.SSECustomerAlgorithm 121 a.SSECustomerKey = b.SSECustomerKey 122 a.SSECustomerKeyMD5 = b.SSECustomerKeyMD5 123 a.SSEKMSEncryptionContext = b.SSEKMSEncryptionContext 124 a.SSEKMSKeyId = b.SSEKMSKeyId 125 a.ServerSideEncryption = b.ServerSideEncryption 126 a.StorageClass = b.StorageClass 127 a.Tagging = b.Tagging 128 a.WebsiteRedirectLocation = b.WebsiteRedirectLocation 129 } 130 131 // setFrom_s3UploadPartCopyInput_s3CopyObjectInput copies matching elements from a to b 132 func setFrom_s3UploadPartCopyInput_s3CopyObjectInput(a *s3.UploadPartCopyInput, b *s3.CopyObjectInput) { 133 a.Bucket = b.Bucket 134 a.CopySource = b.CopySource 135 a.CopySourceIfMatch = b.CopySourceIfMatch 136 a.CopySourceIfModifiedSince = b.CopySourceIfModifiedSince 137 a.CopySourceIfNoneMatch = b.CopySourceIfNoneMatch 138 a.CopySourceIfUnmodifiedSince = b.CopySourceIfUnmodifiedSince 139 a.CopySourceSSECustomerAlgorithm = b.CopySourceSSECustomerAlgorithm 140 a.CopySourceSSECustomerKey = b.CopySourceSSECustomerKey 141 a.CopySourceSSECustomerKeyMD5 = b.CopySourceSSECustomerKeyMD5 142 a.ExpectedBucketOwner = b.ExpectedBucketOwner 143 a.ExpectedSourceBucketOwner = b.ExpectedSourceBucketOwner 144 a.Key = b.Key 145 a.RequestPayer = b.RequestPayer 146 a.SSECustomerAlgorithm = b.SSECustomerAlgorithm 147 a.SSECustomerKey = b.SSECustomerKey 148 a.SSECustomerKeyMD5 = b.SSECustomerKeyMD5 149 } 150 151 // setFrom_s3HeadObjectOutput_s3GetObjectOutput copies matching elements from a to b 152 func setFrom_s3HeadObjectOutput_s3GetObjectOutput(a *s3.HeadObjectOutput, b *s3.GetObjectOutput) { 153 a.AcceptRanges = b.AcceptRanges 154 a.BucketKeyEnabled = b.BucketKeyEnabled 155 a.CacheControl = b.CacheControl 156 a.ChecksumCRC32 = b.ChecksumCRC32 157 a.ChecksumCRC32C = b.ChecksumCRC32C 158 a.ChecksumSHA1 = b.ChecksumSHA1 159 a.ChecksumSHA256 = b.ChecksumSHA256 160 a.ContentDisposition = b.ContentDisposition 161 a.ContentEncoding = b.ContentEncoding 162 a.ContentLanguage = b.ContentLanguage 163 a.ContentLength = b.ContentLength 164 a.ContentType = b.ContentType 165 a.DeleteMarker = b.DeleteMarker 166 a.ETag = b.ETag 167 a.Expiration = b.Expiration 168 a.Expires = b.Expires 169 a.LastModified = b.LastModified 170 a.Metadata = b.Metadata 171 a.MissingMeta = b.MissingMeta 172 a.ObjectLockLegalHoldStatus = b.ObjectLockLegalHoldStatus 173 a.ObjectLockMode = b.ObjectLockMode 174 a.ObjectLockRetainUntilDate = b.ObjectLockRetainUntilDate 175 a.PartsCount = b.PartsCount 176 a.ReplicationStatus = b.ReplicationStatus 177 a.RequestCharged = b.RequestCharged 178 a.Restore = b.Restore 179 a.SSECustomerAlgorithm = b.SSECustomerAlgorithm 180 a.SSECustomerKeyMD5 = b.SSECustomerKeyMD5 181 a.SSEKMSKeyId = b.SSEKMSKeyId 182 a.ServerSideEncryption = b.ServerSideEncryption 183 a.StorageClass = b.StorageClass 184 a.VersionId = b.VersionId 185 a.WebsiteRedirectLocation = b.WebsiteRedirectLocation 186 } 187 188 // setFrom_s3CreateMultipartUploadInput_s3PutObjectInput copies matching elements from a to b 189 func setFrom_s3CreateMultipartUploadInput_s3PutObjectInput(a *s3.CreateMultipartUploadInput, b *s3.PutObjectInput) { 190 a.ACL = b.ACL 191 a.Bucket = b.Bucket 192 a.BucketKeyEnabled = b.BucketKeyEnabled 193 a.CacheControl = b.CacheControl 194 a.ChecksumAlgorithm = b.ChecksumAlgorithm 195 a.ContentDisposition = b.ContentDisposition 196 a.ContentEncoding = b.ContentEncoding 197 a.ContentLanguage = b.ContentLanguage 198 a.ContentType = b.ContentType 199 a.ExpectedBucketOwner = b.ExpectedBucketOwner 200 a.Expires = b.Expires 201 a.GrantFullControl = b.GrantFullControl 202 a.GrantRead = b.GrantRead 203 a.GrantReadACP = b.GrantReadACP 204 a.GrantWriteACP = b.GrantWriteACP 205 a.Key = b.Key 206 a.Metadata = b.Metadata 207 a.ObjectLockLegalHoldStatus = b.ObjectLockLegalHoldStatus 208 a.ObjectLockMode = b.ObjectLockMode 209 a.ObjectLockRetainUntilDate = b.ObjectLockRetainUntilDate 210 a.RequestPayer = b.RequestPayer 211 a.SSECustomerAlgorithm = b.SSECustomerAlgorithm 212 a.SSECustomerKey = b.SSECustomerKey 213 a.SSECustomerKeyMD5 = b.SSECustomerKeyMD5 214 a.SSEKMSEncryptionContext = b.SSEKMSEncryptionContext 215 a.SSEKMSKeyId = b.SSEKMSKeyId 216 a.ServerSideEncryption = b.ServerSideEncryption 217 a.StorageClass = b.StorageClass 218 a.Tagging = b.Tagging 219 a.WebsiteRedirectLocation = b.WebsiteRedirectLocation 220 } 221 222 // setFrom_s3HeadObjectOutput_s3PutObjectInput copies matching elements from a to b 223 func setFrom_s3HeadObjectOutput_s3PutObjectInput(a *s3.HeadObjectOutput, b *s3.PutObjectInput) { 224 a.BucketKeyEnabled = b.BucketKeyEnabled 225 a.CacheControl = b.CacheControl 226 a.ChecksumCRC32 = b.ChecksumCRC32 227 a.ChecksumCRC32C = b.ChecksumCRC32C 228 a.ChecksumSHA1 = b.ChecksumSHA1 229 a.ChecksumSHA256 = b.ChecksumSHA256 230 a.ContentDisposition = b.ContentDisposition 231 a.ContentEncoding = b.ContentEncoding 232 a.ContentLanguage = b.ContentLanguage 233 a.ContentLength = b.ContentLength 234 a.ContentType = b.ContentType 235 a.Metadata = b.Metadata 236 a.ObjectLockLegalHoldStatus = b.ObjectLockLegalHoldStatus 237 a.ObjectLockMode = b.ObjectLockMode 238 a.ObjectLockRetainUntilDate = b.ObjectLockRetainUntilDate 239 a.SSECustomerAlgorithm = b.SSECustomerAlgorithm 240 a.SSECustomerKeyMD5 = b.SSECustomerKeyMD5 241 a.SSEKMSKeyId = b.SSEKMSKeyId 242 a.ServerSideEncryption = b.ServerSideEncryption 243 a.StorageClass = b.StorageClass 244 a.WebsiteRedirectLocation = b.WebsiteRedirectLocation 245 } 246 247 // setFrom_s3CopyObjectInput_s3PutObjectInput copies matching elements from a to b 248 func setFrom_s3CopyObjectInput_s3PutObjectInput(a *s3.CopyObjectInput, b *s3.PutObjectInput) { 249 a.ACL = b.ACL 250 a.Bucket = b.Bucket 251 a.BucketKeyEnabled = b.BucketKeyEnabled 252 a.CacheControl = b.CacheControl 253 a.ChecksumAlgorithm = b.ChecksumAlgorithm 254 a.ContentDisposition = b.ContentDisposition 255 a.ContentEncoding = b.ContentEncoding 256 a.ContentLanguage = b.ContentLanguage 257 a.ContentType = b.ContentType 258 a.ExpectedBucketOwner = b.ExpectedBucketOwner 259 a.Expires = b.Expires 260 a.GrantFullControl = b.GrantFullControl 261 a.GrantRead = b.GrantRead 262 a.GrantReadACP = b.GrantReadACP 263 a.GrantWriteACP = b.GrantWriteACP 264 a.Key = b.Key 265 a.Metadata = b.Metadata 266 a.ObjectLockLegalHoldStatus = b.ObjectLockLegalHoldStatus 267 a.ObjectLockMode = b.ObjectLockMode 268 a.ObjectLockRetainUntilDate = b.ObjectLockRetainUntilDate 269 a.RequestPayer = b.RequestPayer 270 a.SSECustomerAlgorithm = b.SSECustomerAlgorithm 271 a.SSECustomerKey = b.SSECustomerKey 272 a.SSECustomerKeyMD5 = b.SSECustomerKeyMD5 273 a.SSEKMSEncryptionContext = b.SSEKMSEncryptionContext 274 a.SSEKMSKeyId = b.SSEKMSKeyId 275 a.ServerSideEncryption = b.ServerSideEncryption 276 a.StorageClass = b.StorageClass 277 a.Tagging = b.Tagging 278 a.WebsiteRedirectLocation = b.WebsiteRedirectLocation 279 }