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
sequence
docstring
stringlengths
6
2.61k
docstring_tokens
sequence
sha
stringlengths
40
40
url
stringlengths
85
252
partition
stringclasses
1 value
aws/aws-sdk-go
service/acmpca/api.go
SetCertificateAuthorityType
func (s *CreateCertificateAuthorityInput) SetCertificateAuthorityType(v string) *CreateCertificateAuthorityInput { s.CertificateAuthorityType = &v return s }
go
func (s *CreateCertificateAuthorityInput) SetCertificateAuthorityType(v string) *CreateCertificateAuthorityInput { s.CertificateAuthorityType = &v return s }
[ "func", "(", "s", "*", "CreateCertificateAuthorityInput", ")", "SetCertificateAuthorityType", "(", "v", "string", ")", "*", "CreateCertificateAuthorityInput", "{", "s", ".", "CertificateAuthorityType", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCertificateAuthorityType sets the CertificateAuthorityType field's value.
[ "SetCertificateAuthorityType", "sets", "the", "CertificateAuthorityType", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/acmpca/api.go#L2737-L2740
train
aws/aws-sdk-go
service/acmpca/api.go
SetCustomCname
func (s *CrlConfiguration) SetCustomCname(v string) *CrlConfiguration { s.CustomCname = &v return s }
go
func (s *CrlConfiguration) SetCustomCname(v string) *CrlConfiguration { s.CustomCname = &v return s }
[ "func", "(", "s", "*", "CrlConfiguration", ")", "SetCustomCname", "(", "v", "string", ")", "*", "CrlConfiguration", "{", "s", ".", "CustomCname", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCustomCname sets the CustomCname field's value.
[ "SetCustomCname", "sets", "the", "CustomCname", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/acmpca/api.go#L3005-L3008
train
aws/aws-sdk-go
service/acmpca/api.go
SetPermanentDeletionTimeInDays
func (s *DeleteCertificateAuthorityInput) SetPermanentDeletionTimeInDays(v int64) *DeleteCertificateAuthorityInput { s.PermanentDeletionTimeInDays = &v return s }
go
func (s *DeleteCertificateAuthorityInput) SetPermanentDeletionTimeInDays(v int64) *DeleteCertificateAuthorityInput { s.PermanentDeletionTimeInDays = &v return s }
[ "func", "(", "s", "*", "DeleteCertificateAuthorityInput", ")", "SetPermanentDeletionTimeInDays", "(", "v", "int64", ")", "*", "DeleteCertificateAuthorityInput", "{", "s", ".", "PermanentDeletionTimeInDays", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPermanentDeletionTimeInDays sets the PermanentDeletionTimeInDays field's value.
[ "SetPermanentDeletionTimeInDays", "sets", "the", "PermanentDeletionTimeInDays", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/acmpca/api.go#L3080-L3083
train
aws/aws-sdk-go
service/acmpca/api.go
SetAuditReportStatus
func (s *DescribeCertificateAuthorityAuditReportOutput) SetAuditReportStatus(v string) *DescribeCertificateAuthorityAuditReportOutput { s.AuditReportStatus = &v return s }
go
func (s *DescribeCertificateAuthorityAuditReportOutput) SetAuditReportStatus(v string) *DescribeCertificateAuthorityAuditReportOutput { s.AuditReportStatus = &v return s }
[ "func", "(", "s", "*", "DescribeCertificateAuthorityAuditReportOutput", ")", "SetAuditReportStatus", "(", "v", "string", ")", "*", "DescribeCertificateAuthorityAuditReportOutput", "{", "s", ".", "AuditReportStatus", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAuditReportStatus sets the AuditReportStatus field's value.
[ "SetAuditReportStatus", "sets", "the", "AuditReportStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/acmpca/api.go#L3273-L3276
train
aws/aws-sdk-go
service/acmpca/api.go
SetCertificateAuthorities
func (s *ListCertificateAuthoritiesOutput) SetCertificateAuthorities(v []*CertificateAuthority) *ListCertificateAuthoritiesOutput { s.CertificateAuthorities = v return s }
go
func (s *ListCertificateAuthoritiesOutput) SetCertificateAuthorities(v []*CertificateAuthority) *ListCertificateAuthoritiesOutput { s.CertificateAuthorities = v return s }
[ "func", "(", "s", "*", "ListCertificateAuthoritiesOutput", ")", "SetCertificateAuthorities", "(", "v", "[", "]", "*", "CertificateAuthority", ")", "*", "ListCertificateAuthoritiesOutput", "{", "s", ".", "CertificateAuthorities", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCertificateAuthorities sets the CertificateAuthorities field's value.
[ "SetCertificateAuthorities", "sets", "the", "CertificateAuthorities", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/acmpca/api.go#L3930-L3933
train
aws/aws-sdk-go
service/acmpca/api.go
SetCrlConfiguration
func (s *RevocationConfiguration) SetCrlConfiguration(v *CrlConfiguration) *RevocationConfiguration { s.CrlConfiguration = v return s }
go
func (s *RevocationConfiguration) SetCrlConfiguration(v *CrlConfiguration) *RevocationConfiguration { s.CrlConfiguration = v return s }
[ "func", "(", "s", "*", "RevocationConfiguration", ")", "SetCrlConfiguration", "(", "v", "*", "CrlConfiguration", ")", "*", "RevocationConfiguration", "{", "s", ".", "CrlConfiguration", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCrlConfiguration sets the CrlConfiguration field's value.
[ "SetCrlConfiguration", "sets", "the", "CrlConfiguration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/acmpca/api.go#L4328-L4331
train
aws/aws-sdk-go
service/acmpca/api.go
SetCertificateSerial
func (s *RevokeCertificateInput) SetCertificateSerial(v string) *RevokeCertificateInput { s.CertificateSerial = &v return s }
go
func (s *RevokeCertificateInput) SetCertificateSerial(v string) *RevokeCertificateInput { s.CertificateSerial = &v return s }
[ "func", "(", "s", "*", "RevokeCertificateInput", ")", "SetCertificateSerial", "(", "v", "string", ")", "*", "RevokeCertificateInput", "{", "s", ".", "CertificateSerial", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCertificateSerial sets the CertificateSerial field's value.
[ "SetCertificateSerial", "sets", "the", "CertificateSerial", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/acmpca/api.go#L4405-L4408
train
aws/aws-sdk-go
service/redshift/api.go
SetTargetReservedNodeOfferingId
func (s *AcceptReservedNodeExchangeInput) SetTargetReservedNodeOfferingId(v string) *AcceptReservedNodeExchangeInput { s.TargetReservedNodeOfferingId = &v return s }
go
func (s *AcceptReservedNodeExchangeInput) SetTargetReservedNodeOfferingId(v string) *AcceptReservedNodeExchangeInput { s.TargetReservedNodeOfferingId = &v return s }
[ "func", "(", "s", "*", "AcceptReservedNodeExchangeInput", ")", "SetTargetReservedNodeOfferingId", "(", "v", "string", ")", "*", "AcceptReservedNodeExchangeInput", "{", "s", ".", "TargetReservedNodeOfferingId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTargetReservedNodeOfferingId sets the TargetReservedNodeOfferingId field's value.
[ "SetTargetReservedNodeOfferingId", "sets", "the", "TargetReservedNodeOfferingId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L8607-L8610
train
aws/aws-sdk-go
service/redshift/api.go
SetExchangedReservedNode
func (s *AcceptReservedNodeExchangeOutput) SetExchangedReservedNode(v *ReservedNode) *AcceptReservedNodeExchangeOutput { s.ExchangedReservedNode = v return s }
go
func (s *AcceptReservedNodeExchangeOutput) SetExchangedReservedNode(v *ReservedNode) *AcceptReservedNodeExchangeOutput { s.ExchangedReservedNode = v return s }
[ "func", "(", "s", "*", "AcceptReservedNodeExchangeOutput", ")", "SetExchangedReservedNode", "(", "v", "*", "ReservedNode", ")", "*", "AcceptReservedNodeExchangeOutput", "{", "s", ".", "ExchangedReservedNode", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetExchangedReservedNode sets the ExchangedReservedNode field's value.
[ "SetExchangedReservedNode", "sets", "the", "ExchangedReservedNode", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L8631-L8634
train
aws/aws-sdk-go
service/redshift/api.go
SetIdentifiers
func (s *BatchDeleteClusterSnapshotsInput) SetIdentifiers(v []*DeleteClusterSnapshotMessage) *BatchDeleteClusterSnapshotsInput { s.Identifiers = v return s }
go
func (s *BatchDeleteClusterSnapshotsInput) SetIdentifiers(v []*DeleteClusterSnapshotMessage) *BatchDeleteClusterSnapshotsInput { s.Identifiers = v return s }
[ "func", "(", "s", "*", "BatchDeleteClusterSnapshotsInput", ")", "SetIdentifiers", "(", "v", "[", "]", "*", "DeleteClusterSnapshotMessage", ")", "*", "BatchDeleteClusterSnapshotsInput", "{", "s", ".", "Identifiers", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetIdentifiers sets the Identifiers field's value.
[ "SetIdentifiers", "sets", "the", "Identifiers", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L8983-L8986
train
aws/aws-sdk-go
service/redshift/api.go
SetSnapshotIdentifierList
func (s *BatchModifyClusterSnapshotsInput) SetSnapshotIdentifierList(v []*string) *BatchModifyClusterSnapshotsInput { s.SnapshotIdentifierList = v return s }
go
func (s *BatchModifyClusterSnapshotsInput) SetSnapshotIdentifierList(v []*string) *BatchModifyClusterSnapshotsInput { s.SnapshotIdentifierList = v return s }
[ "func", "(", "s", "*", "BatchModifyClusterSnapshotsInput", ")", "SetSnapshotIdentifierList", "(", "v", "[", "]", "*", "string", ")", "*", "BatchModifyClusterSnapshotsInput", "{", "s", ".", "SnapshotIdentifierList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSnapshotIdentifierList sets the SnapshotIdentifierList field's value.
[ "SetSnapshotIdentifierList", "sets", "the", "SnapshotIdentifierList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9080-L9083
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterNodes
func (s *Cluster) SetClusterNodes(v []*ClusterNode) *Cluster { s.ClusterNodes = v return s }
go
func (s *Cluster) SetClusterNodes(v []*ClusterNode) *Cluster { s.ClusterNodes = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetClusterNodes", "(", "v", "[", "]", "*", "ClusterNode", ")", "*", "Cluster", "{", "s", ".", "ClusterNodes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterNodes sets the ClusterNodes field's value.
[ "SetClusterNodes", "sets", "the", "ClusterNodes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9597-L9600
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterParameterGroups
func (s *Cluster) SetClusterParameterGroups(v []*ClusterParameterGroupStatus) *Cluster { s.ClusterParameterGroups = v return s }
go
func (s *Cluster) SetClusterParameterGroups(v []*ClusterParameterGroupStatus) *Cluster { s.ClusterParameterGroups = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetClusterParameterGroups", "(", "v", "[", "]", "*", "ClusterParameterGroupStatus", ")", "*", "Cluster", "{", "s", ".", "ClusterParameterGroups", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterParameterGroups sets the ClusterParameterGroups field's value.
[ "SetClusterParameterGroups", "sets", "the", "ClusterParameterGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9603-L9606
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterPublicKey
func (s *Cluster) SetClusterPublicKey(v string) *Cluster { s.ClusterPublicKey = &v return s }
go
func (s *Cluster) SetClusterPublicKey(v string) *Cluster { s.ClusterPublicKey = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetClusterPublicKey", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "ClusterPublicKey", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterPublicKey sets the ClusterPublicKey field's value.
[ "SetClusterPublicKey", "sets", "the", "ClusterPublicKey", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9609-L9612
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterRevisionNumber
func (s *Cluster) SetClusterRevisionNumber(v string) *Cluster { s.ClusterRevisionNumber = &v return s }
go
func (s *Cluster) SetClusterRevisionNumber(v string) *Cluster { s.ClusterRevisionNumber = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetClusterRevisionNumber", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "ClusterRevisionNumber", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterRevisionNumber sets the ClusterRevisionNumber field's value.
[ "SetClusterRevisionNumber", "sets", "the", "ClusterRevisionNumber", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9615-L9618
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterSnapshotCopyStatus
func (s *Cluster) SetClusterSnapshotCopyStatus(v *ClusterSnapshotCopyStatus) *Cluster { s.ClusterSnapshotCopyStatus = v return s }
go
func (s *Cluster) SetClusterSnapshotCopyStatus(v *ClusterSnapshotCopyStatus) *Cluster { s.ClusterSnapshotCopyStatus = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetClusterSnapshotCopyStatus", "(", "v", "*", "ClusterSnapshotCopyStatus", ")", "*", "Cluster", "{", "s", ".", "ClusterSnapshotCopyStatus", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterSnapshotCopyStatus sets the ClusterSnapshotCopyStatus field's value.
[ "SetClusterSnapshotCopyStatus", "sets", "the", "ClusterSnapshotCopyStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9627-L9630
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterStatus
func (s *Cluster) SetClusterStatus(v string) *Cluster { s.ClusterStatus = &v return s }
go
func (s *Cluster) SetClusterStatus(v string) *Cluster { s.ClusterStatus = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetClusterStatus", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "ClusterStatus", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterStatus sets the ClusterStatus field's value.
[ "SetClusterStatus", "sets", "the", "ClusterStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9633-L9636
train
aws/aws-sdk-go
service/redshift/api.go
SetDeferredMaintenanceWindows
func (s *Cluster) SetDeferredMaintenanceWindows(v []*DeferredMaintenanceWindow) *Cluster { s.DeferredMaintenanceWindows = v return s }
go
func (s *Cluster) SetDeferredMaintenanceWindows(v []*DeferredMaintenanceWindow) *Cluster { s.DeferredMaintenanceWindows = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetDeferredMaintenanceWindows", "(", "v", "[", "]", "*", "DeferredMaintenanceWindow", ")", "*", "Cluster", "{", "s", ".", "DeferredMaintenanceWindows", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDeferredMaintenanceWindows sets the DeferredMaintenanceWindows field's value.
[ "SetDeferredMaintenanceWindows", "sets", "the", "DeferredMaintenanceWindows", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9663-L9666
train
aws/aws-sdk-go
service/redshift/api.go
SetElasticIpStatus
func (s *Cluster) SetElasticIpStatus(v *ElasticIpStatus) *Cluster { s.ElasticIpStatus = v return s }
go
func (s *Cluster) SetElasticIpStatus(v *ElasticIpStatus) *Cluster { s.ElasticIpStatus = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetElasticIpStatus", "(", "v", "*", "ElasticIpStatus", ")", "*", "Cluster", "{", "s", ".", "ElasticIpStatus", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetElasticIpStatus sets the ElasticIpStatus field's value.
[ "SetElasticIpStatus", "sets", "the", "ElasticIpStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9669-L9672
train
aws/aws-sdk-go
service/redshift/api.go
SetElasticResizeNumberOfNodeOptions
func (s *Cluster) SetElasticResizeNumberOfNodeOptions(v string) *Cluster { s.ElasticResizeNumberOfNodeOptions = &v return s }
go
func (s *Cluster) SetElasticResizeNumberOfNodeOptions(v string) *Cluster { s.ElasticResizeNumberOfNodeOptions = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetElasticResizeNumberOfNodeOptions", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "ElasticResizeNumberOfNodeOptions", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetElasticResizeNumberOfNodeOptions sets the ElasticResizeNumberOfNodeOptions field's value.
[ "SetElasticResizeNumberOfNodeOptions", "sets", "the", "ElasticResizeNumberOfNodeOptions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9675-L9678
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmStatus
func (s *Cluster) SetHsmStatus(v *HsmStatus) *Cluster { s.HsmStatus = v return s }
go
func (s *Cluster) SetHsmStatus(v *HsmStatus) *Cluster { s.HsmStatus = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetHsmStatus", "(", "v", "*", "HsmStatus", ")", "*", "Cluster", "{", "s", ".", "HsmStatus", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmStatus sets the HsmStatus field's value.
[ "SetHsmStatus", "sets", "the", "HsmStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9699-L9702
train
aws/aws-sdk-go
service/redshift/api.go
SetModifyStatus
func (s *Cluster) SetModifyStatus(v string) *Cluster { s.ModifyStatus = &v return s }
go
func (s *Cluster) SetModifyStatus(v string) *Cluster { s.ModifyStatus = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetModifyStatus", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "ModifyStatus", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetModifyStatus sets the ModifyStatus field's value.
[ "SetModifyStatus", "sets", "the", "ModifyStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9735-L9738
train
aws/aws-sdk-go
service/redshift/api.go
SetPendingActions
func (s *Cluster) SetPendingActions(v []*string) *Cluster { s.PendingActions = v return s }
go
func (s *Cluster) SetPendingActions(v []*string) *Cluster { s.PendingActions = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetPendingActions", "(", "v", "[", "]", "*", "string", ")", "*", "Cluster", "{", "s", ".", "PendingActions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPendingActions sets the PendingActions field's value.
[ "SetPendingActions", "sets", "the", "PendingActions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9753-L9756
train
aws/aws-sdk-go
service/redshift/api.go
SetResizeInfo
func (s *Cluster) SetResizeInfo(v *ResizeInfo) *Cluster { s.ResizeInfo = v return s }
go
func (s *Cluster) SetResizeInfo(v *ResizeInfo) *Cluster { s.ResizeInfo = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetResizeInfo", "(", "v", "*", "ResizeInfo", ")", "*", "Cluster", "{", "s", ".", "ResizeInfo", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetResizeInfo sets the ResizeInfo field's value.
[ "SetResizeInfo", "sets", "the", "ResizeInfo", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9777-L9780
train
aws/aws-sdk-go
service/redshift/api.go
SetRestoreStatus
func (s *Cluster) SetRestoreStatus(v *RestoreStatus) *Cluster { s.RestoreStatus = v return s }
go
func (s *Cluster) SetRestoreStatus(v *RestoreStatus) *Cluster { s.RestoreStatus = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetRestoreStatus", "(", "v", "*", "RestoreStatus", ")", "*", "Cluster", "{", "s", ".", "RestoreStatus", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRestoreStatus sets the RestoreStatus field's value.
[ "SetRestoreStatus", "sets", "the", "RestoreStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9783-L9786
train
aws/aws-sdk-go
service/redshift/api.go
SetSnapshotScheduleState
func (s *Cluster) SetSnapshotScheduleState(v string) *Cluster { s.SnapshotScheduleState = &v return s }
go
func (s *Cluster) SetSnapshotScheduleState(v string) *Cluster { s.SnapshotScheduleState = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetSnapshotScheduleState", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "SnapshotScheduleState", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSnapshotScheduleState sets the SnapshotScheduleState field's value.
[ "SetSnapshotScheduleState", "sets", "the", "SnapshotScheduleState", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9795-L9798
train
aws/aws-sdk-go
service/redshift/api.go
SetScheduleAssociationState
func (s *ClusterAssociatedToSchedule) SetScheduleAssociationState(v string) *ClusterAssociatedToSchedule { s.ScheduleAssociationState = &v return s }
go
func (s *ClusterAssociatedToSchedule) SetScheduleAssociationState(v string) *ClusterAssociatedToSchedule { s.ScheduleAssociationState = &v return s }
[ "func", "(", "s", "*", "ClusterAssociatedToSchedule", ")", "SetScheduleAssociationState", "(", "v", "string", ")", "*", "ClusterAssociatedToSchedule", "{", "s", ".", "ScheduleAssociationState", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetScheduleAssociationState sets the ScheduleAssociationState field's value.
[ "SetScheduleAssociationState", "sets", "the", "ScheduleAssociationState", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9843-L9846
train
aws/aws-sdk-go
service/redshift/api.go
SetCurrentDatabaseRevision
func (s *ClusterDbRevision) SetCurrentDatabaseRevision(v string) *ClusterDbRevision { s.CurrentDatabaseRevision = &v return s }
go
func (s *ClusterDbRevision) SetCurrentDatabaseRevision(v string) *ClusterDbRevision { s.CurrentDatabaseRevision = &v return s }
[ "func", "(", "s", "*", "ClusterDbRevision", ")", "SetCurrentDatabaseRevision", "(", "v", "string", ")", "*", "ClusterDbRevision", "{", "s", ".", "CurrentDatabaseRevision", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCurrentDatabaseRevision sets the CurrentDatabaseRevision field's value.
[ "SetCurrentDatabaseRevision", "sets", "the", "CurrentDatabaseRevision", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9883-L9886
train
aws/aws-sdk-go
service/redshift/api.go
SetRevisionTargets
func (s *ClusterDbRevision) SetRevisionTargets(v []*RevisionTarget) *ClusterDbRevision { s.RevisionTargets = v return s }
go
func (s *ClusterDbRevision) SetRevisionTargets(v []*RevisionTarget) *ClusterDbRevision { s.RevisionTargets = v return s }
[ "func", "(", "s", "*", "ClusterDbRevision", ")", "SetRevisionTargets", "(", "v", "[", "]", "*", "RevisionTarget", ")", "*", "ClusterDbRevision", "{", "s", ".", "RevisionTargets", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRevisionTargets sets the RevisionTargets field's value.
[ "SetRevisionTargets", "sets", "the", "RevisionTargets", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9895-L9898
train
aws/aws-sdk-go
service/redshift/api.go
SetApplyStatus
func (s *ClusterIamRole) SetApplyStatus(v string) *ClusterIamRole { s.ApplyStatus = &v return s }
go
func (s *ClusterIamRole) SetApplyStatus(v string) *ClusterIamRole { s.ApplyStatus = &v return s }
[ "func", "(", "s", "*", "ClusterIamRole", ")", "SetApplyStatus", "(", "v", "string", ")", "*", "ClusterIamRole", "{", "s", ".", "ApplyStatus", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetApplyStatus sets the ApplyStatus field's value.
[ "SetApplyStatus", "sets", "the", "ApplyStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9933-L9936
train
aws/aws-sdk-go
service/redshift/api.go
SetNodeRole
func (s *ClusterNode) SetNodeRole(v string) *ClusterNode { s.NodeRole = &v return s }
go
func (s *ClusterNode) SetNodeRole(v string) *ClusterNode { s.NodeRole = &v return s }
[ "func", "(", "s", "*", "ClusterNode", ")", "SetNodeRole", "(", "v", "string", ")", "*", "ClusterNode", "{", "s", ".", "NodeRole", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNodeRole sets the NodeRole field's value.
[ "SetNodeRole", "sets", "the", "NodeRole", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9969-L9972
train
aws/aws-sdk-go
service/redshift/api.go
SetPrivateIPAddress
func (s *ClusterNode) SetPrivateIPAddress(v string) *ClusterNode { s.PrivateIPAddress = &v return s }
go
func (s *ClusterNode) SetPrivateIPAddress(v string) *ClusterNode { s.PrivateIPAddress = &v return s }
[ "func", "(", "s", "*", "ClusterNode", ")", "SetPrivateIPAddress", "(", "v", "string", ")", "*", "ClusterNode", "{", "s", ".", "PrivateIPAddress", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPrivateIPAddress sets the PrivateIPAddress field's value.
[ "SetPrivateIPAddress", "sets", "the", "PrivateIPAddress", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9975-L9978
train
aws/aws-sdk-go
service/redshift/api.go
SetPublicIPAddress
func (s *ClusterNode) SetPublicIPAddress(v string) *ClusterNode { s.PublicIPAddress = &v return s }
go
func (s *ClusterNode) SetPublicIPAddress(v string) *ClusterNode { s.PublicIPAddress = &v return s }
[ "func", "(", "s", "*", "ClusterNode", ")", "SetPublicIPAddress", "(", "v", "string", ")", "*", "ClusterNode", "{", "s", ".", "PublicIPAddress", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPublicIPAddress sets the PublicIPAddress field's value.
[ "SetPublicIPAddress", "sets", "the", "PublicIPAddress", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L9981-L9984
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterParameterStatusList
func (s *ClusterParameterGroupStatus) SetClusterParameterStatusList(v []*ClusterParameterStatus) *ClusterParameterGroupStatus { s.ClusterParameterStatusList = v return s }
go
func (s *ClusterParameterGroupStatus) SetClusterParameterStatusList(v []*ClusterParameterStatus) *ClusterParameterGroupStatus { s.ClusterParameterStatusList = v return s }
[ "func", "(", "s", "*", "ClusterParameterGroupStatus", ")", "SetClusterParameterStatusList", "(", "v", "[", "]", "*", "ClusterParameterStatus", ")", "*", "ClusterParameterGroupStatus", "{", "s", ".", "ClusterParameterStatusList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterParameterStatusList sets the ClusterParameterStatusList field's value.
[ "SetClusterParameterStatusList", "sets", "the", "ClusterParameterStatusList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L10101-L10104
train
aws/aws-sdk-go
service/redshift/api.go
SetParameterApplyErrorDescription
func (s *ClusterParameterStatus) SetParameterApplyErrorDescription(v string) *ClusterParameterStatus { s.ParameterApplyErrorDescription = &v return s }
go
func (s *ClusterParameterStatus) SetParameterApplyErrorDescription(v string) *ClusterParameterStatus { s.ParameterApplyErrorDescription = &v return s }
[ "func", "(", "s", "*", "ClusterParameterStatus", ")", "SetParameterApplyErrorDescription", "(", "v", "string", ")", "*", "ClusterParameterStatus", "{", "s", ".", "ParameterApplyErrorDescription", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetParameterApplyErrorDescription sets the ParameterApplyErrorDescription field's value.
[ "SetParameterApplyErrorDescription", "sets", "the", "ParameterApplyErrorDescription", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L10166-L10169
train
aws/aws-sdk-go
service/redshift/api.go
SetSourceSnapshotClusterIdentifier
func (s *CopyClusterSnapshotInput) SetSourceSnapshotClusterIdentifier(v string) *CopyClusterSnapshotInput { s.SourceSnapshotClusterIdentifier = &v return s }
go
func (s *CopyClusterSnapshotInput) SetSourceSnapshotClusterIdentifier(v string) *CopyClusterSnapshotInput { s.SourceSnapshotClusterIdentifier = &v return s }
[ "func", "(", "s", "*", "CopyClusterSnapshotInput", ")", "SetSourceSnapshotClusterIdentifier", "(", "v", "string", ")", "*", "CopyClusterSnapshotInput", "{", "s", ".", "SourceSnapshotClusterIdentifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSourceSnapshotClusterIdentifier sets the SourceSnapshotClusterIdentifier field's value.
[ "SetSourceSnapshotClusterIdentifier", "sets", "the", "SourceSnapshotClusterIdentifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L10530-L10533
train
aws/aws-sdk-go
service/redshift/api.go
SetSourceSnapshotIdentifier
func (s *CopyClusterSnapshotInput) SetSourceSnapshotIdentifier(v string) *CopyClusterSnapshotInput { s.SourceSnapshotIdentifier = &v return s }
go
func (s *CopyClusterSnapshotInput) SetSourceSnapshotIdentifier(v string) *CopyClusterSnapshotInput { s.SourceSnapshotIdentifier = &v return s }
[ "func", "(", "s", "*", "CopyClusterSnapshotInput", ")", "SetSourceSnapshotIdentifier", "(", "v", "string", ")", "*", "CopyClusterSnapshotInput", "{", "s", ".", "SourceSnapshotIdentifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSourceSnapshotIdentifier sets the SourceSnapshotIdentifier field's value.
[ "SetSourceSnapshotIdentifier", "sets", "the", "SourceSnapshotIdentifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L10536-L10539
train
aws/aws-sdk-go
service/redshift/api.go
SetTargetSnapshotIdentifier
func (s *CopyClusterSnapshotInput) SetTargetSnapshotIdentifier(v string) *CopyClusterSnapshotInput { s.TargetSnapshotIdentifier = &v return s }
go
func (s *CopyClusterSnapshotInput) SetTargetSnapshotIdentifier(v string) *CopyClusterSnapshotInput { s.TargetSnapshotIdentifier = &v return s }
[ "func", "(", "s", "*", "CopyClusterSnapshotInput", ")", "SetTargetSnapshotIdentifier", "(", "v", "string", ")", "*", "CopyClusterSnapshotInput", "{", "s", ".", "TargetSnapshotIdentifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTargetSnapshotIdentifier sets the TargetSnapshotIdentifier field's value.
[ "SetTargetSnapshotIdentifier", "sets", "the", "TargetSnapshotIdentifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L10542-L10545
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterParameterGroup
func (s *CreateClusterParameterGroupOutput) SetClusterParameterGroup(v *ClusterParameterGroup) *CreateClusterParameterGroupOutput { s.ClusterParameterGroup = v return s }
go
func (s *CreateClusterParameterGroupOutput) SetClusterParameterGroup(v *ClusterParameterGroup) *CreateClusterParameterGroupOutput { s.ClusterParameterGroup = v return s }
[ "func", "(", "s", "*", "CreateClusterParameterGroupOutput", ")", "SetClusterParameterGroup", "(", "v", "*", "ClusterParameterGroup", ")", "*", "CreateClusterParameterGroupOutput", "{", "s", ".", "ClusterParameterGroup", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterParameterGroup sets the ClusterParameterGroup field's value.
[ "SetClusterParameterGroup", "sets", "the", "ClusterParameterGroup", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L11204-L11207
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmClientCertificate
func (s *CreateHsmClientCertificateOutput) SetHsmClientCertificate(v *HsmClientCertificate) *CreateHsmClientCertificateOutput { s.HsmClientCertificate = v return s }
go
func (s *CreateHsmClientCertificateOutput) SetHsmClientCertificate(v *HsmClientCertificate) *CreateHsmClientCertificateOutput { s.HsmClientCertificate = v return s }
[ "func", "(", "s", "*", "CreateHsmClientCertificateOutput", ")", "SetHsmClientCertificate", "(", "v", "*", "HsmClientCertificate", ")", "*", "CreateHsmClientCertificateOutput", "{", "s", ".", "HsmClientCertificate", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmClientCertificate sets the HsmClientCertificate field's value.
[ "SetHsmClientCertificate", "sets", "the", "HsmClientCertificate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L11757-L11760
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmPartitionPassword
func (s *CreateHsmConfigurationInput) SetHsmPartitionPassword(v string) *CreateHsmConfigurationInput { s.HsmPartitionPassword = &v return s }
go
func (s *CreateHsmConfigurationInput) SetHsmPartitionPassword(v string) *CreateHsmConfigurationInput { s.HsmPartitionPassword = &v return s }
[ "func", "(", "s", "*", "CreateHsmConfigurationInput", ")", "SetHsmPartitionPassword", "(", "v", "string", ")", "*", "CreateHsmConfigurationInput", "{", "s", ".", "HsmPartitionPassword", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmPartitionPassword sets the HsmPartitionPassword field's value.
[ "SetHsmPartitionPassword", "sets", "the", "HsmPartitionPassword", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L11864-L11867
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmServerPublicCertificate
func (s *CreateHsmConfigurationInput) SetHsmServerPublicCertificate(v string) *CreateHsmConfigurationInput { s.HsmServerPublicCertificate = &v return s }
go
func (s *CreateHsmConfigurationInput) SetHsmServerPublicCertificate(v string) *CreateHsmConfigurationInput { s.HsmServerPublicCertificate = &v return s }
[ "func", "(", "s", "*", "CreateHsmConfigurationInput", ")", "SetHsmServerPublicCertificate", "(", "v", "string", ")", "*", "CreateHsmConfigurationInput", "{", "s", ".", "HsmServerPublicCertificate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmServerPublicCertificate sets the HsmServerPublicCertificate field's value.
[ "SetHsmServerPublicCertificate", "sets", "the", "HsmServerPublicCertificate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L11870-L11873
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmConfiguration
func (s *CreateHsmConfigurationOutput) SetHsmConfiguration(v *HsmConfiguration) *CreateHsmConfigurationOutput { s.HsmConfiguration = v return s }
go
func (s *CreateHsmConfigurationOutput) SetHsmConfiguration(v *HsmConfiguration) *CreateHsmConfigurationOutput { s.HsmConfiguration = v return s }
[ "func", "(", "s", "*", "CreateHsmConfigurationOutput", ")", "SetHsmConfiguration", "(", "v", "*", "HsmConfiguration", ")", "*", "CreateHsmConfigurationOutput", "{", "s", ".", "HsmConfiguration", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmConfiguration sets the HsmConfiguration field's value.
[ "SetHsmConfiguration", "sets", "the", "HsmConfiguration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L11901-L11904
train
aws/aws-sdk-go
service/redshift/api.go
SetSnapshotCopyGrant
func (s *CreateSnapshotCopyGrantOutput) SetSnapshotCopyGrant(v *SnapshotCopyGrant) *CreateSnapshotCopyGrantOutput { s.SnapshotCopyGrant = v return s }
go
func (s *CreateSnapshotCopyGrantOutput) SetSnapshotCopyGrant(v *SnapshotCopyGrant) *CreateSnapshotCopyGrantOutput { s.SnapshotCopyGrant = v return s }
[ "func", "(", "s", "*", "CreateSnapshotCopyGrantOutput", ")", "SetSnapshotCopyGrant", "(", "v", "*", "SnapshotCopyGrant", ")", "*", "CreateSnapshotCopyGrantOutput", "{", "s", ".", "SnapshotCopyGrant", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSnapshotCopyGrant sets the SnapshotCopyGrant field's value.
[ "SetSnapshotCopyGrant", "sets", "the", "SnapshotCopyGrant", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L12001-L12004
train
aws/aws-sdk-go
service/redshift/api.go
SetCurrentRateInMegaBytesPerSecond
func (s *DataTransferProgress) SetCurrentRateInMegaBytesPerSecond(v float64) *DataTransferProgress { s.CurrentRateInMegaBytesPerSecond = &v return s }
go
func (s *DataTransferProgress) SetCurrentRateInMegaBytesPerSecond(v float64) *DataTransferProgress { s.CurrentRateInMegaBytesPerSecond = &v return s }
[ "func", "(", "s", "*", "DataTransferProgress", ")", "SetCurrentRateInMegaBytesPerSecond", "(", "v", "float64", ")", "*", "DataTransferProgress", "{", "s", ".", "CurrentRateInMegaBytesPerSecond", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCurrentRateInMegaBytesPerSecond sets the CurrentRateInMegaBytesPerSecond field's value.
[ "SetCurrentRateInMegaBytesPerSecond", "sets", "the", "CurrentRateInMegaBytesPerSecond", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L12261-L12264
train
aws/aws-sdk-go
service/redshift/api.go
SetDataTransferredInMegaBytes
func (s *DataTransferProgress) SetDataTransferredInMegaBytes(v int64) *DataTransferProgress { s.DataTransferredInMegaBytes = &v return s }
go
func (s *DataTransferProgress) SetDataTransferredInMegaBytes(v int64) *DataTransferProgress { s.DataTransferredInMegaBytes = &v return s }
[ "func", "(", "s", "*", "DataTransferProgress", ")", "SetDataTransferredInMegaBytes", "(", "v", "int64", ")", "*", "DataTransferProgress", "{", "s", ".", "DataTransferredInMegaBytes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDataTransferredInMegaBytes sets the DataTransferredInMegaBytes field's value.
[ "SetDataTransferredInMegaBytes", "sets", "the", "DataTransferredInMegaBytes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L12267-L12270
train
aws/aws-sdk-go
service/redshift/api.go
SetFinalClusterSnapshotIdentifier
func (s *DeleteClusterInput) SetFinalClusterSnapshotIdentifier(v string) *DeleteClusterInput { s.FinalClusterSnapshotIdentifier = &v return s }
go
func (s *DeleteClusterInput) SetFinalClusterSnapshotIdentifier(v string) *DeleteClusterInput { s.FinalClusterSnapshotIdentifier = &v return s }
[ "func", "(", "s", "*", "DeleteClusterInput", ")", "SetFinalClusterSnapshotIdentifier", "(", "v", "string", ")", "*", "DeleteClusterInput", "{", "s", ".", "FinalClusterSnapshotIdentifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetFinalClusterSnapshotIdentifier sets the FinalClusterSnapshotIdentifier field's value.
[ "SetFinalClusterSnapshotIdentifier", "sets", "the", "FinalClusterSnapshotIdentifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L12465-L12468
train
aws/aws-sdk-go
service/redshift/api.go
SetFinalClusterSnapshotRetentionPeriod
func (s *DeleteClusterInput) SetFinalClusterSnapshotRetentionPeriod(v int64) *DeleteClusterInput { s.FinalClusterSnapshotRetentionPeriod = &v return s }
go
func (s *DeleteClusterInput) SetFinalClusterSnapshotRetentionPeriod(v int64) *DeleteClusterInput { s.FinalClusterSnapshotRetentionPeriod = &v return s }
[ "func", "(", "s", "*", "DeleteClusterInput", ")", "SetFinalClusterSnapshotRetentionPeriod", "(", "v", "int64", ")", "*", "DeleteClusterInput", "{", "s", ".", "FinalClusterSnapshotRetentionPeriod", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetFinalClusterSnapshotRetentionPeriod sets the FinalClusterSnapshotRetentionPeriod field's value.
[ "SetFinalClusterSnapshotRetentionPeriod", "sets", "the", "FinalClusterSnapshotRetentionPeriod", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L12471-L12474
train
aws/aws-sdk-go
service/redshift/api.go
SetSkipFinalClusterSnapshot
func (s *DeleteClusterInput) SetSkipFinalClusterSnapshot(v bool) *DeleteClusterInput { s.SkipFinalClusterSnapshot = &v return s }
go
func (s *DeleteClusterInput) SetSkipFinalClusterSnapshot(v bool) *DeleteClusterInput { s.SkipFinalClusterSnapshot = &v return s }
[ "func", "(", "s", "*", "DeleteClusterInput", ")", "SetSkipFinalClusterSnapshot", "(", "v", "bool", ")", "*", "DeleteClusterInput", "{", "s", ".", "SkipFinalClusterSnapshot", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSkipFinalClusterSnapshot sets the SkipFinalClusterSnapshot field's value.
[ "SetSkipFinalClusterSnapshot", "sets", "the", "SkipFinalClusterSnapshot", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L12477-L12480
train
aws/aws-sdk-go
service/redshift/api.go
SetAccountAttributes
func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttribute) *DescribeAccountAttributesOutput { s.AccountAttributes = v return s }
go
func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttribute) *DescribeAccountAttributesOutput { s.AccountAttributes = v return s }
[ "func", "(", "s", "*", "DescribeAccountAttributesOutput", ")", "SetAccountAttributes", "(", "v", "[", "]", "*", "AccountAttribute", ")", "*", "DescribeAccountAttributesOutput", "{", "s", ".", "AccountAttributes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAccountAttributes sets the AccountAttributes field's value.
[ "SetAccountAttributes", "sets", "the", "AccountAttributes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L13168-L13171
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterDbRevisions
func (s *DescribeClusterDbRevisionsOutput) SetClusterDbRevisions(v []*ClusterDbRevision) *DescribeClusterDbRevisionsOutput { s.ClusterDbRevisions = v return s }
go
func (s *DescribeClusterDbRevisionsOutput) SetClusterDbRevisions(v []*ClusterDbRevision) *DescribeClusterDbRevisionsOutput { s.ClusterDbRevisions = v return s }
[ "func", "(", "s", "*", "DescribeClusterDbRevisionsOutput", ")", "SetClusterDbRevisions", "(", "v", "[", "]", "*", "ClusterDbRevision", ")", "*", "DescribeClusterDbRevisionsOutput", "{", "s", ".", "ClusterDbRevisions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterDbRevisions sets the ClusterDbRevisions field's value.
[ "SetClusterDbRevisions", "sets", "the", "ClusterDbRevisions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L13256-L13259
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterExists
func (s *DescribeClusterSnapshotsInput) SetClusterExists(v bool) *DescribeClusterSnapshotsInput { s.ClusterExists = &v return s }
go
func (s *DescribeClusterSnapshotsInput) SetClusterExists(v bool) *DescribeClusterSnapshotsInput { s.ClusterExists = &v return s }
[ "func", "(", "s", "*", "DescribeClusterSnapshotsInput", ")", "SetClusterExists", "(", "v", "bool", ")", "*", "DescribeClusterSnapshotsInput", "{", "s", ".", "ClusterExists", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterExists sets the ClusterExists field's value.
[ "SetClusterExists", "sets", "the", "ClusterExists", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L13753-L13756
train
aws/aws-sdk-go
service/redshift/api.go
SetSortingEntities
func (s *DescribeClusterSnapshotsInput) SetSortingEntities(v []*SnapshotSortingEntity) *DescribeClusterSnapshotsInput { s.SortingEntities = v return s }
go
func (s *DescribeClusterSnapshotsInput) SetSortingEntities(v []*SnapshotSortingEntity) *DescribeClusterSnapshotsInput { s.SortingEntities = v return s }
[ "func", "(", "s", "*", "DescribeClusterSnapshotsInput", ")", "SetSortingEntities", "(", "v", "[", "]", "*", "SnapshotSortingEntity", ")", "*", "DescribeClusterSnapshotsInput", "{", "s", ".", "SortingEntities", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSortingEntities sets the SortingEntities field's value.
[ "SetSortingEntities", "sets", "the", "SortingEntities", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L13801-L13804
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterSubnetGroups
func (s *DescribeClusterSubnetGroupsOutput) SetClusterSubnetGroups(v []*ClusterSubnetGroup) *DescribeClusterSubnetGroupsOutput { s.ClusterSubnetGroups = v return s }
go
func (s *DescribeClusterSubnetGroupsOutput) SetClusterSubnetGroups(v []*ClusterSubnetGroup) *DescribeClusterSubnetGroupsOutput { s.ClusterSubnetGroups = v return s }
[ "func", "(", "s", "*", "DescribeClusterSubnetGroupsOutput", ")", "SetClusterSubnetGroups", "(", "v", "[", "]", "*", "ClusterSubnetGroup", ")", "*", "DescribeClusterSubnetGroupsOutput", "{", "s", ".", "ClusterSubnetGroups", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterSubnetGroups sets the ClusterSubnetGroups field's value.
[ "SetClusterSubnetGroups", "sets", "the", "ClusterSubnetGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L13968-L13971
train
aws/aws-sdk-go
service/redshift/api.go
SetMaintenanceTracks
func (s *DescribeClusterTracksOutput) SetMaintenanceTracks(v []*MaintenanceTrack) *DescribeClusterTracksOutput { s.MaintenanceTracks = v return s }
go
func (s *DescribeClusterTracksOutput) SetMaintenanceTracks(v []*MaintenanceTrack) *DescribeClusterTracksOutput { s.MaintenanceTracks = v return s }
[ "func", "(", "s", "*", "DescribeClusterTracksOutput", ")", "SetMaintenanceTracks", "(", "v", "[", "]", "*", "MaintenanceTrack", ")", "*", "DescribeClusterTracksOutput", "{", "s", ".", "MaintenanceTracks", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetMaintenanceTracks sets the MaintenanceTracks field's value.
[ "SetMaintenanceTracks", "sets", "the", "MaintenanceTracks", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L14048-L14051
train
aws/aws-sdk-go
service/redshift/api.go
SetClusterVersions
func (s *DescribeClusterVersionsOutput) SetClusterVersions(v []*ClusterVersion) *DescribeClusterVersionsOutput { s.ClusterVersions = v return s }
go
func (s *DescribeClusterVersionsOutput) SetClusterVersions(v []*ClusterVersion) *DescribeClusterVersionsOutput { s.ClusterVersions = v return s }
[ "func", "(", "s", "*", "DescribeClusterVersionsOutput", ")", "SetClusterVersions", "(", "v", "[", "]", "*", "ClusterVersion", ")", "*", "DescribeClusterVersionsOutput", "{", "s", ".", "ClusterVersions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterVersions sets the ClusterVersions field's value.
[ "SetClusterVersions", "sets", "the", "ClusterVersions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L14156-L14159
train
aws/aws-sdk-go
service/redshift/api.go
SetDefaultClusterParameters
func (s *DescribeDefaultClusterParametersOutput) SetDefaultClusterParameters(v *DefaultClusterParameters) *DescribeDefaultClusterParametersOutput { s.DefaultClusterParameters = v return s }
go
func (s *DescribeDefaultClusterParametersOutput) SetDefaultClusterParameters(v *DefaultClusterParameters) *DescribeDefaultClusterParametersOutput { s.DefaultClusterParameters = v return s }
[ "func", "(", "s", "*", "DescribeDefaultClusterParametersOutput", ")", "SetDefaultClusterParameters", "(", "v", "*", "DefaultClusterParameters", ")", "*", "DescribeDefaultClusterParametersOutput", "{", "s", ".", "DefaultClusterParameters", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDefaultClusterParameters sets the DefaultClusterParameters field's value.
[ "SetDefaultClusterParameters", "sets", "the", "DefaultClusterParameters", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L14376-L14379
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmClientCertificates
func (s *DescribeHsmClientCertificatesOutput) SetHsmClientCertificates(v []*HsmClientCertificate) *DescribeHsmClientCertificatesOutput { s.HsmClientCertificates = v return s }
go
func (s *DescribeHsmClientCertificatesOutput) SetHsmClientCertificates(v []*HsmClientCertificate) *DescribeHsmClientCertificatesOutput { s.HsmClientCertificates = v return s }
[ "func", "(", "s", "*", "DescribeHsmClientCertificatesOutput", ")", "SetHsmClientCertificates", "(", "v", "[", "]", "*", "HsmClientCertificate", ")", "*", "DescribeHsmClientCertificatesOutput", "{", "s", ".", "HsmClientCertificates", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmClientCertificates sets the HsmClientCertificates field's value.
[ "SetHsmClientCertificates", "sets", "the", "HsmClientCertificates", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L14822-L14825
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmConfigurations
func (s *DescribeHsmConfigurationsOutput) SetHsmConfigurations(v []*HsmConfiguration) *DescribeHsmConfigurationsOutput { s.HsmConfigurations = v return s }
go
func (s *DescribeHsmConfigurationsOutput) SetHsmConfigurations(v []*HsmConfiguration) *DescribeHsmConfigurationsOutput { s.HsmConfigurations = v return s }
[ "func", "(", "s", "*", "DescribeHsmConfigurationsOutput", ")", "SetHsmConfigurations", "(", "v", "[", "]", "*", "HsmConfiguration", ")", "*", "DescribeHsmConfigurationsOutput", "{", "s", ".", "HsmConfigurations", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmConfigurations sets the HsmConfigurations field's value.
[ "SetHsmConfigurations", "sets", "the", "HsmConfigurations", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L14941-L14944
train
aws/aws-sdk-go
service/redshift/api.go
SetOrderableClusterOptions
func (s *DescribeOrderableClusterOptionsOutput) SetOrderableClusterOptions(v []*OrderableClusterOption) *DescribeOrderableClusterOptionsOutput { s.OrderableClusterOptions = v return s }
go
func (s *DescribeOrderableClusterOptionsOutput) SetOrderableClusterOptions(v []*OrderableClusterOption) *DescribeOrderableClusterOptionsOutput { s.OrderableClusterOptions = v return s }
[ "func", "(", "s", "*", "DescribeOrderableClusterOptionsOutput", ")", "SetOrderableClusterOptions", "(", "v", "[", "]", "*", "OrderableClusterOption", ")", "*", "DescribeOrderableClusterOptionsOutput", "{", "s", ".", "OrderableClusterOptions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetOrderableClusterOptions sets the OrderableClusterOptions field's value.
[ "SetOrderableClusterOptions", "sets", "the", "OrderableClusterOptions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L15093-L15096
train
aws/aws-sdk-go
service/redshift/api.go
SetReservedNodes
func (s *DescribeReservedNodesOutput) SetReservedNodes(v []*ReservedNode) *DescribeReservedNodesOutput { s.ReservedNodes = v return s }
go
func (s *DescribeReservedNodesOutput) SetReservedNodes(v []*ReservedNode) *DescribeReservedNodesOutput { s.ReservedNodes = v return s }
[ "func", "(", "s", "*", "DescribeReservedNodesOutput", ")", "SetReservedNodes", "(", "v", "[", "]", "*", "ReservedNode", ")", "*", "DescribeReservedNodesOutput", "{", "s", ".", "ReservedNodes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReservedNodes sets the ReservedNodes field's value.
[ "SetReservedNodes", "sets", "the", "ReservedNodes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L15270-L15273
train
aws/aws-sdk-go
service/redshift/api.go
SetSnapshotCopyGrants
func (s *DescribeSnapshotCopyGrantsOutput) SetSnapshotCopyGrants(v []*SnapshotCopyGrant) *DescribeSnapshotCopyGrantsOutput { s.SnapshotCopyGrants = v return s }
go
func (s *DescribeSnapshotCopyGrantsOutput) SetSnapshotCopyGrants(v []*SnapshotCopyGrant) *DescribeSnapshotCopyGrantsOutput { s.SnapshotCopyGrants = v return s }
[ "func", "(", "s", "*", "DescribeSnapshotCopyGrantsOutput", ")", "SetSnapshotCopyGrants", "(", "v", "[", "]", "*", "SnapshotCopyGrant", ")", "*", "DescribeSnapshotCopyGrantsOutput", "{", "s", ".", "SnapshotCopyGrants", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSnapshotCopyGrants sets the SnapshotCopyGrants field's value.
[ "SetSnapshotCopyGrants", "sets", "the", "SnapshotCopyGrants", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L15623-L15626
train
aws/aws-sdk-go
service/redshift/api.go
SetSnapshotSchedules
func (s *DescribeSnapshotSchedulesOutput) SetSnapshotSchedules(v []*SnapshotSchedule) *DescribeSnapshotSchedulesOutput { s.SnapshotSchedules = v return s }
go
func (s *DescribeSnapshotSchedulesOutput) SetSnapshotSchedules(v []*SnapshotSchedule) *DescribeSnapshotSchedulesOutput { s.SnapshotSchedules = v return s }
[ "func", "(", "s", "*", "DescribeSnapshotSchedulesOutput", ")", "SetSnapshotSchedules", "(", "v", "[", "]", "*", "SnapshotSchedule", ")", "*", "DescribeSnapshotSchedulesOutput", "{", "s", ".", "SnapshotSchedules", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSnapshotSchedules sets the SnapshotSchedules field's value.
[ "SetSnapshotSchedules", "sets", "the", "SnapshotSchedules", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L15735-L15738
train
aws/aws-sdk-go
service/redshift/api.go
SetTotalProvisionedStorageInMegaBytes
func (s *DescribeStorageOutput) SetTotalProvisionedStorageInMegaBytes(v float64) *DescribeStorageOutput { s.TotalProvisionedStorageInMegaBytes = &v return s }
go
func (s *DescribeStorageOutput) SetTotalProvisionedStorageInMegaBytes(v float64) *DescribeStorageOutput { s.TotalProvisionedStorageInMegaBytes = &v return s }
[ "func", "(", "s", "*", "DescribeStorageOutput", ")", "SetTotalProvisionedStorageInMegaBytes", "(", "v", "float64", ")", "*", "DescribeStorageOutput", "{", "s", ".", "TotalProvisionedStorageInMegaBytes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTotalProvisionedStorageInMegaBytes sets the TotalProvisionedStorageInMegaBytes field's value.
[ "SetTotalProvisionedStorageInMegaBytes", "sets", "the", "TotalProvisionedStorageInMegaBytes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L15781-L15784
train
aws/aws-sdk-go
service/redshift/api.go
SetTableRestoreStatusDetails
func (s *DescribeTableRestoreStatusOutput) SetTableRestoreStatusDetails(v []*TableRestoreStatus) *DescribeTableRestoreStatusOutput { s.TableRestoreStatusDetails = v return s }
go
func (s *DescribeTableRestoreStatusOutput) SetTableRestoreStatusDetails(v []*TableRestoreStatus) *DescribeTableRestoreStatusOutput { s.TableRestoreStatusDetails = v return s }
[ "func", "(", "s", "*", "DescribeTableRestoreStatusOutput", ")", "SetTableRestoreStatusDetails", "(", "v", "[", "]", "*", "TableRestoreStatus", ")", "*", "DescribeTableRestoreStatusOutput", "{", "s", ".", "TableRestoreStatusDetails", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetTableRestoreStatusDetails sets the TableRestoreStatusDetails field's value.
[ "SetTableRestoreStatusDetails", "sets", "the", "TableRestoreStatusDetails", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L15870-L15873
train
aws/aws-sdk-go
service/redshift/api.go
SetTaggedResources
func (s *DescribeTagsOutput) SetTaggedResources(v []*TaggedResource) *DescribeTagsOutput { s.TaggedResources = v return s }
go
func (s *DescribeTagsOutput) SetTaggedResources(v []*TaggedResource) *DescribeTagsOutput { s.TaggedResources = v return s }
[ "func", "(", "s", "*", "DescribeTagsOutput", ")", "SetTaggedResources", "(", "v", "[", "]", "*", "TaggedResource", ")", "*", "DescribeTagsOutput", "{", "s", ".", "TaggedResources", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetTaggedResources sets the TaggedResources field's value.
[ "SetTaggedResources", "sets", "the", "TaggedResources", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L16018-L16021
train
aws/aws-sdk-go
service/redshift/api.go
SetAutoCreate
func (s *GetClusterCredentialsInput) SetAutoCreate(v bool) *GetClusterCredentialsInput { s.AutoCreate = &v return s }
go
func (s *GetClusterCredentialsInput) SetAutoCreate(v bool) *GetClusterCredentialsInput { s.AutoCreate = &v return s }
[ "func", "(", "s", "*", "GetClusterCredentialsInput", ")", "SetAutoCreate", "(", "v", "bool", ")", "*", "GetClusterCredentialsInput", "{", "s", ".", "AutoCreate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAutoCreate sets the AutoCreate field's value.
[ "SetAutoCreate", "sets", "the", "AutoCreate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L16872-L16875
train
aws/aws-sdk-go
service/redshift/api.go
SetDbGroups
func (s *GetClusterCredentialsInput) SetDbGroups(v []*string) *GetClusterCredentialsInput { s.DbGroups = v return s }
go
func (s *GetClusterCredentialsInput) SetDbGroups(v []*string) *GetClusterCredentialsInput { s.DbGroups = v return s }
[ "func", "(", "s", "*", "GetClusterCredentialsInput", ")", "SetDbGroups", "(", "v", "[", "]", "*", "string", ")", "*", "GetClusterCredentialsInput", "{", "s", ".", "DbGroups", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDbGroups sets the DbGroups field's value.
[ "SetDbGroups", "sets", "the", "DbGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L16884-L16887
train
aws/aws-sdk-go
service/redshift/api.go
SetDbName
func (s *GetClusterCredentialsInput) SetDbName(v string) *GetClusterCredentialsInput { s.DbName = &v return s }
go
func (s *GetClusterCredentialsInput) SetDbName(v string) *GetClusterCredentialsInput { s.DbName = &v return s }
[ "func", "(", "s", "*", "GetClusterCredentialsInput", ")", "SetDbName", "(", "v", "string", ")", "*", "GetClusterCredentialsInput", "{", "s", ".", "DbName", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDbName sets the DbName field's value.
[ "SetDbName", "sets", "the", "DbName", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L16890-L16893
train
aws/aws-sdk-go
service/redshift/api.go
SetHsmClientCertificatePublicKey
func (s *HsmClientCertificate) SetHsmClientCertificatePublicKey(v string) *HsmClientCertificate { s.HsmClientCertificatePublicKey = &v return s }
go
func (s *HsmClientCertificate) SetHsmClientCertificatePublicKey(v string) *HsmClientCertificate { s.HsmClientCertificatePublicKey = &v return s }
[ "func", "(", "s", "*", "HsmClientCertificate", ")", "SetHsmClientCertificatePublicKey", "(", "v", "string", ")", "*", "HsmClientCertificate", "{", "s", ".", "HsmClientCertificatePublicKey", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetHsmClientCertificatePublicKey sets the HsmClientCertificatePublicKey field's value.
[ "SetHsmClientCertificatePublicKey", "sets", "the", "HsmClientCertificatePublicKey", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17084-L17087
train
aws/aws-sdk-go
service/redshift/api.go
SetLastFailureTime
func (s *LoggingStatus) SetLastFailureTime(v time.Time) *LoggingStatus { s.LastFailureTime = &v return s }
go
func (s *LoggingStatus) SetLastFailureTime(v time.Time) *LoggingStatus { s.LastFailureTime = &v return s }
[ "func", "(", "s", "*", "LoggingStatus", ")", "SetLastFailureTime", "(", "v", "time", ".", "Time", ")", "*", "LoggingStatus", "{", "s", ".", "LastFailureTime", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastFailureTime sets the LastFailureTime field's value.
[ "SetLastFailureTime", "sets", "the", "LastFailureTime", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17293-L17296
train
aws/aws-sdk-go
service/redshift/api.go
SetLastSuccessfulDeliveryTime
func (s *LoggingStatus) SetLastSuccessfulDeliveryTime(v time.Time) *LoggingStatus { s.LastSuccessfulDeliveryTime = &v return s }
go
func (s *LoggingStatus) SetLastSuccessfulDeliveryTime(v time.Time) *LoggingStatus { s.LastSuccessfulDeliveryTime = &v return s }
[ "func", "(", "s", "*", "LoggingStatus", ")", "SetLastSuccessfulDeliveryTime", "(", "v", "time", ".", "Time", ")", "*", "LoggingStatus", "{", "s", ".", "LastSuccessfulDeliveryTime", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastSuccessfulDeliveryTime sets the LastSuccessfulDeliveryTime field's value.
[ "SetLastSuccessfulDeliveryTime", "sets", "the", "LastSuccessfulDeliveryTime", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17299-L17302
train
aws/aws-sdk-go
service/redshift/api.go
SetRevisionTarget
func (s *ModifyClusterDbRevisionInput) SetRevisionTarget(v string) *ModifyClusterDbRevisionInput { s.RevisionTarget = &v return s }
go
func (s *ModifyClusterDbRevisionInput) SetRevisionTarget(v string) *ModifyClusterDbRevisionInput { s.RevisionTarget = &v return s }
[ "func", "(", "s", "*", "ModifyClusterDbRevisionInput", ")", "SetRevisionTarget", "(", "v", "string", ")", "*", "ModifyClusterDbRevisionInput", "{", "s", ".", "RevisionTarget", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRevisionTarget sets the RevisionTarget field's value.
[ "SetRevisionTarget", "sets", "the", "RevisionTarget", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17412-L17415
train
aws/aws-sdk-go
service/redshift/api.go
SetAddIamRoles
func (s *ModifyClusterIamRolesInput) SetAddIamRoles(v []*string) *ModifyClusterIamRolesInput { s.AddIamRoles = v return s }
go
func (s *ModifyClusterIamRolesInput) SetAddIamRoles(v []*string) *ModifyClusterIamRolesInput { s.AddIamRoles = v return s }
[ "func", "(", "s", "*", "ModifyClusterIamRolesInput", ")", "SetAddIamRoles", "(", "v", "[", "]", "*", "string", ")", "*", "ModifyClusterIamRolesInput", "{", "s", ".", "AddIamRoles", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAddIamRoles sets the AddIamRoles field's value.
[ "SetAddIamRoles", "sets", "the", "AddIamRoles", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17483-L17486
train
aws/aws-sdk-go
service/redshift/api.go
SetRemoveIamRoles
func (s *ModifyClusterIamRolesInput) SetRemoveIamRoles(v []*string) *ModifyClusterIamRolesInput { s.RemoveIamRoles = v return s }
go
func (s *ModifyClusterIamRolesInput) SetRemoveIamRoles(v []*string) *ModifyClusterIamRolesInput { s.RemoveIamRoles = v return s }
[ "func", "(", "s", "*", "ModifyClusterIamRolesInput", ")", "SetRemoveIamRoles", "(", "v", "[", "]", "*", "string", ")", "*", "ModifyClusterIamRolesInput", "{", "s", ".", "RemoveIamRoles", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRemoveIamRoles sets the RemoveIamRoles field's value.
[ "SetRemoveIamRoles", "sets", "the", "RemoveIamRoles", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17495-L17498
train
aws/aws-sdk-go
service/redshift/api.go
SetNewClusterIdentifier
func (s *ModifyClusterInput) SetNewClusterIdentifier(v string) *ModifyClusterInput { s.NewClusterIdentifier = &v return s }
go
func (s *ModifyClusterInput) SetNewClusterIdentifier(v string) *ModifyClusterInput { s.NewClusterIdentifier = &v return s }
[ "func", "(", "s", "*", "ModifyClusterInput", ")", "SetNewClusterIdentifier", "(", "v", "string", ")", "*", "ModifyClusterInput", "{", "s", ".", "NewClusterIdentifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNewClusterIdentifier sets the NewClusterIdentifier field's value.
[ "SetNewClusterIdentifier", "sets", "the", "NewClusterIdentifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17872-L17875
train
aws/aws-sdk-go
service/redshift/api.go
SetDeferMaintenance
func (s *ModifyClusterMaintenanceInput) SetDeferMaintenance(v bool) *ModifyClusterMaintenanceInput { s.DeferMaintenance = &v return s }
go
func (s *ModifyClusterMaintenanceInput) SetDeferMaintenance(v bool) *ModifyClusterMaintenanceInput { s.DeferMaintenance = &v return s }
[ "func", "(", "s", "*", "ModifyClusterMaintenanceInput", ")", "SetDeferMaintenance", "(", "v", "bool", ")", "*", "ModifyClusterMaintenanceInput", "{", "s", ".", "DeferMaintenance", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDeferMaintenance sets the DeferMaintenance field's value.
[ "SetDeferMaintenance", "sets", "the", "DeferMaintenance", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17964-L17967
train
aws/aws-sdk-go
service/redshift/api.go
SetDeferMaintenanceDuration
func (s *ModifyClusterMaintenanceInput) SetDeferMaintenanceDuration(v int64) *ModifyClusterMaintenanceInput { s.DeferMaintenanceDuration = &v return s }
go
func (s *ModifyClusterMaintenanceInput) SetDeferMaintenanceDuration(v int64) *ModifyClusterMaintenanceInput { s.DeferMaintenanceDuration = &v return s }
[ "func", "(", "s", "*", "ModifyClusterMaintenanceInput", ")", "SetDeferMaintenanceDuration", "(", "v", "int64", ")", "*", "ModifyClusterMaintenanceInput", "{", "s", ".", "DeferMaintenanceDuration", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDeferMaintenanceDuration sets the DeferMaintenanceDuration field's value.
[ "SetDeferMaintenanceDuration", "sets", "the", "DeferMaintenanceDuration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L17970-L17973
train
aws/aws-sdk-go
service/redshift/api.go
SetDisassociateSchedule
func (s *ModifyClusterSnapshotScheduleInput) SetDisassociateSchedule(v bool) *ModifyClusterSnapshotScheduleInput { s.DisassociateSchedule = &v return s }
go
func (s *ModifyClusterSnapshotScheduleInput) SetDisassociateSchedule(v bool) *ModifyClusterSnapshotScheduleInput { s.DisassociateSchedule = &v return s }
[ "func", "(", "s", "*", "ModifyClusterSnapshotScheduleInput", ")", "SetDisassociateSchedule", "(", "v", "bool", ")", "*", "ModifyClusterSnapshotScheduleInput", "{", "s", ".", "DisassociateSchedule", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDisassociateSchedule sets the DisassociateSchedule field's value.
[ "SetDisassociateSchedule", "sets", "the", "DisassociateSchedule", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L18231-L18234
train
aws/aws-sdk-go
service/redshift/api.go
SetManual
func (s *ModifySnapshotCopyRetentionPeriodInput) SetManual(v bool) *ModifySnapshotCopyRetentionPeriodInput { s.Manual = &v return s }
go
func (s *ModifySnapshotCopyRetentionPeriodInput) SetManual(v bool) *ModifySnapshotCopyRetentionPeriodInput { s.Manual = &v return s }
[ "func", "(", "s", "*", "ModifySnapshotCopyRetentionPeriodInput", ")", "SetManual", "(", "v", "bool", ")", "*", "ModifySnapshotCopyRetentionPeriodInput", "{", "s", ".", "Manual", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetManual sets the Manual field's value.
[ "SetManual", "sets", "the", "Manual", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L18554-L18557
train
aws/aws-sdk-go
service/redshift/api.go
SetReservedNode
func (s *PurchaseReservedNodeOfferingOutput) SetReservedNode(v *ReservedNode) *PurchaseReservedNodeOfferingOutput { s.ReservedNode = v return s }
go
func (s *PurchaseReservedNodeOfferingOutput) SetReservedNode(v *ReservedNode) *PurchaseReservedNodeOfferingOutput { s.ReservedNode = v return s }
[ "func", "(", "s", "*", "PurchaseReservedNodeOfferingOutput", ")", "SetReservedNode", "(", "v", "*", "ReservedNode", ")", "*", "PurchaseReservedNodeOfferingOutput", "{", "s", ".", "ReservedNode", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReservedNode sets the ReservedNode field's value.
[ "SetReservedNode", "sets", "the", "ReservedNode", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L19067-L19070
train
aws/aws-sdk-go
service/redshift/api.go
SetClassic
func (s *ResizeClusterInput) SetClassic(v bool) *ResizeClusterInput { s.Classic = &v return s }
go
func (s *ResizeClusterInput) SetClassic(v bool) *ResizeClusterInput { s.Classic = &v return s }
[ "func", "(", "s", "*", "ResizeClusterInput", ")", "SetClassic", "(", "v", "bool", ")", "*", "ResizeClusterInput", "{", "s", ".", "Classic", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetClassic sets the Classic field's value.
[ "SetClassic", "sets", "the", "Classic", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L19530-L19533
train
aws/aws-sdk-go
service/redshift/api.go
SetAllowCancelResize
func (s *ResizeInfo) SetAllowCancelResize(v bool) *ResizeInfo { s.AllowCancelResize = &v return s }
go
func (s *ResizeInfo) SetAllowCancelResize(v bool) *ResizeInfo { s.AllowCancelResize = &v return s }
[ "func", "(", "s", "*", "ResizeInfo", ")", "SetAllowCancelResize", "(", "v", "bool", ")", "*", "ResizeInfo", "{", "s", ".", "AllowCancelResize", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAllowCancelResize sets the AllowCancelResize field's value.
[ "SetAllowCancelResize", "sets", "the", "AllowCancelResize", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L19604-L19607
train
aws/aws-sdk-go
service/redshift/api.go
SetCurrentRestoreRateInMegaBytesPerSecond
func (s *RestoreStatus) SetCurrentRestoreRateInMegaBytesPerSecond(v float64) *RestoreStatus { s.CurrentRestoreRateInMegaBytesPerSecond = &v return s }
go
func (s *RestoreStatus) SetCurrentRestoreRateInMegaBytesPerSecond(v float64) *RestoreStatus { s.CurrentRestoreRateInMegaBytesPerSecond = &v return s }
[ "func", "(", "s", "*", "RestoreStatus", ")", "SetCurrentRestoreRateInMegaBytesPerSecond", "(", "v", "float64", ")", "*", "RestoreStatus", "{", "s", ".", "CurrentRestoreRateInMegaBytesPerSecond", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCurrentRestoreRateInMegaBytesPerSecond sets the CurrentRestoreRateInMegaBytesPerSecond field's value.
[ "SetCurrentRestoreRateInMegaBytesPerSecond", "sets", "the", "CurrentRestoreRateInMegaBytesPerSecond", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20046-L20049
train
aws/aws-sdk-go
service/redshift/api.go
SetSnapshotSizeInMegaBytes
func (s *RestoreStatus) SetSnapshotSizeInMegaBytes(v int64) *RestoreStatus { s.SnapshotSizeInMegaBytes = &v return s }
go
func (s *RestoreStatus) SetSnapshotSizeInMegaBytes(v int64) *RestoreStatus { s.SnapshotSizeInMegaBytes = &v return s }
[ "func", "(", "s", "*", "RestoreStatus", ")", "SetSnapshotSizeInMegaBytes", "(", "v", "int64", ")", "*", "RestoreStatus", "{", "s", ".", "SnapshotSizeInMegaBytes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSnapshotSizeInMegaBytes sets the SnapshotSizeInMegaBytes field's value.
[ "SetSnapshotSizeInMegaBytes", "sets", "the", "SnapshotSizeInMegaBytes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20070-L20073
train
aws/aws-sdk-go
service/redshift/api.go
SetTableRestoreStatus
func (s *RestoreTableFromClusterSnapshotOutput) SetTableRestoreStatus(v *TableRestoreStatus) *RestoreTableFromClusterSnapshotOutput { s.TableRestoreStatus = v return s }
go
func (s *RestoreTableFromClusterSnapshotOutput) SetTableRestoreStatus(v *TableRestoreStatus) *RestoreTableFromClusterSnapshotOutput { s.TableRestoreStatus = v return s }
[ "func", "(", "s", "*", "RestoreTableFromClusterSnapshotOutput", ")", "SetTableRestoreStatus", "(", "v", "*", "TableRestoreStatus", ")", "*", "RestoreTableFromClusterSnapshotOutput", "{", "s", ".", "TableRestoreStatus", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetTableRestoreStatus sets the TableRestoreStatus field's value.
[ "SetTableRestoreStatus", "sets", "the", "TableRestoreStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20223-L20226
train
aws/aws-sdk-go
service/redshift/api.go
SetDatabaseRevision
func (s *RevisionTarget) SetDatabaseRevision(v string) *RevisionTarget { s.DatabaseRevision = &v return s }
go
func (s *RevisionTarget) SetDatabaseRevision(v string) *RevisionTarget { s.DatabaseRevision = &v return s }
[ "func", "(", "s", "*", "RevisionTarget", ")", "SetDatabaseRevision", "(", "v", "string", ")", "*", "RevisionTarget", "{", "s", ".", "DatabaseRevision", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDatabaseRevision sets the DatabaseRevision field's value.
[ "SetDatabaseRevision", "sets", "the", "DatabaseRevision", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20255-L20258
train
aws/aws-sdk-go
service/redshift/api.go
SetAccountsWithRestoreAccess
func (s *Snapshot) SetAccountsWithRestoreAccess(v []*AccountWithRestoreAccess) *Snapshot { s.AccountsWithRestoreAccess = v return s }
go
func (s *Snapshot) SetAccountsWithRestoreAccess(v []*AccountWithRestoreAccess) *Snapshot { s.AccountsWithRestoreAccess = v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetAccountsWithRestoreAccess", "(", "v", "[", "]", "*", "AccountWithRestoreAccess", ")", "*", "Snapshot", "{", "s", ".", "AccountsWithRestoreAccess", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAccountsWithRestoreAccess sets the AccountsWithRestoreAccess field's value.
[ "SetAccountsWithRestoreAccess", "sets", "the", "AccountsWithRestoreAccess", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20668-L20671
train
aws/aws-sdk-go
service/redshift/api.go
SetActualIncrementalBackupSizeInMegaBytes
func (s *Snapshot) SetActualIncrementalBackupSizeInMegaBytes(v float64) *Snapshot { s.ActualIncrementalBackupSizeInMegaBytes = &v return s }
go
func (s *Snapshot) SetActualIncrementalBackupSizeInMegaBytes(v float64) *Snapshot { s.ActualIncrementalBackupSizeInMegaBytes = &v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetActualIncrementalBackupSizeInMegaBytes", "(", "v", "float64", ")", "*", "Snapshot", "{", "s", ".", "ActualIncrementalBackupSizeInMegaBytes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetActualIncrementalBackupSizeInMegaBytes sets the ActualIncrementalBackupSizeInMegaBytes field's value.
[ "SetActualIncrementalBackupSizeInMegaBytes", "sets", "the", "ActualIncrementalBackupSizeInMegaBytes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20674-L20677
train
aws/aws-sdk-go
service/redshift/api.go
SetBackupProgressInMegaBytes
func (s *Snapshot) SetBackupProgressInMegaBytes(v float64) *Snapshot { s.BackupProgressInMegaBytes = &v return s }
go
func (s *Snapshot) SetBackupProgressInMegaBytes(v float64) *Snapshot { s.BackupProgressInMegaBytes = &v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetBackupProgressInMegaBytes", "(", "v", "float64", ")", "*", "Snapshot", "{", "s", ".", "BackupProgressInMegaBytes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetBackupProgressInMegaBytes sets the BackupProgressInMegaBytes field's value.
[ "SetBackupProgressInMegaBytes", "sets", "the", "BackupProgressInMegaBytes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20686-L20689
train
aws/aws-sdk-go
service/redshift/api.go
SetCurrentBackupRateInMegaBytesPerSecond
func (s *Snapshot) SetCurrentBackupRateInMegaBytesPerSecond(v float64) *Snapshot { s.CurrentBackupRateInMegaBytesPerSecond = &v return s }
go
func (s *Snapshot) SetCurrentBackupRateInMegaBytesPerSecond(v float64) *Snapshot { s.CurrentBackupRateInMegaBytesPerSecond = &v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetCurrentBackupRateInMegaBytesPerSecond", "(", "v", "float64", ")", "*", "Snapshot", "{", "s", ".", "CurrentBackupRateInMegaBytesPerSecond", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCurrentBackupRateInMegaBytesPerSecond sets the CurrentBackupRateInMegaBytesPerSecond field's value.
[ "SetCurrentBackupRateInMegaBytesPerSecond", "sets", "the", "CurrentBackupRateInMegaBytesPerSecond", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20710-L20713
train
aws/aws-sdk-go
service/redshift/api.go
SetEncryptedWithHSM
func (s *Snapshot) SetEncryptedWithHSM(v bool) *Snapshot { s.EncryptedWithHSM = &v return s }
go
func (s *Snapshot) SetEncryptedWithHSM(v bool) *Snapshot { s.EncryptedWithHSM = &v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetEncryptedWithHSM", "(", "v", "bool", ")", "*", "Snapshot", "{", "s", ".", "EncryptedWithHSM", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEncryptedWithHSM sets the EncryptedWithHSM field's value.
[ "SetEncryptedWithHSM", "sets", "the", "EncryptedWithHSM", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20734-L20737
train
aws/aws-sdk-go
service/redshift/api.go
SetEstimatedSecondsToCompletion
func (s *Snapshot) SetEstimatedSecondsToCompletion(v int64) *Snapshot { s.EstimatedSecondsToCompletion = &v return s }
go
func (s *Snapshot) SetEstimatedSecondsToCompletion(v int64) *Snapshot { s.EstimatedSecondsToCompletion = &v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetEstimatedSecondsToCompletion", "(", "v", "int64", ")", "*", "Snapshot", "{", "s", ".", "EstimatedSecondsToCompletion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEstimatedSecondsToCompletion sets the EstimatedSecondsToCompletion field's value.
[ "SetEstimatedSecondsToCompletion", "sets", "the", "EstimatedSecondsToCompletion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20746-L20749
train
aws/aws-sdk-go
service/redshift/api.go
SetManualSnapshotRemainingDays
func (s *Snapshot) SetManualSnapshotRemainingDays(v int64) *Snapshot { s.ManualSnapshotRemainingDays = &v return s }
go
func (s *Snapshot) SetManualSnapshotRemainingDays(v int64) *Snapshot { s.ManualSnapshotRemainingDays = &v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetManualSnapshotRemainingDays", "(", "v", "int64", ")", "*", "Snapshot", "{", "s", ".", "ManualSnapshotRemainingDays", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetManualSnapshotRemainingDays sets the ManualSnapshotRemainingDays field's value.
[ "SetManualSnapshotRemainingDays", "sets", "the", "ManualSnapshotRemainingDays", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20764-L20767
train
aws/aws-sdk-go
service/redshift/api.go
SetRestorableNodeTypes
func (s *Snapshot) SetRestorableNodeTypes(v []*string) *Snapshot { s.RestorableNodeTypes = v return s }
go
func (s *Snapshot) SetRestorableNodeTypes(v []*string) *Snapshot { s.RestorableNodeTypes = v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetRestorableNodeTypes", "(", "v", "[", "]", "*", "string", ")", "*", "Snapshot", "{", "s", ".", "RestorableNodeTypes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRestorableNodeTypes sets the RestorableNodeTypes field's value.
[ "SetRestorableNodeTypes", "sets", "the", "RestorableNodeTypes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20806-L20809
train
aws/aws-sdk-go
service/redshift/api.go
SetSnapshotRetentionStartTime
func (s *Snapshot) SetSnapshotRetentionStartTime(v time.Time) *Snapshot { s.SnapshotRetentionStartTime = &v return s }
go
func (s *Snapshot) SetSnapshotRetentionStartTime(v time.Time) *Snapshot { s.SnapshotRetentionStartTime = &v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetSnapshotRetentionStartTime", "(", "v", "time", ".", "Time", ")", "*", "Snapshot", "{", "s", ".", "SnapshotRetentionStartTime", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSnapshotRetentionStartTime sets the SnapshotRetentionStartTime field's value.
[ "SetSnapshotRetentionStartTime", "sets", "the", "SnapshotRetentionStartTime", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L20824-L20827
train
aws/aws-sdk-go
service/redshift/api.go
SetRequestTime
func (s *TableRestoreStatus) SetRequestTime(v time.Time) *TableRestoreStatus { s.RequestTime = &v return s }
go
func (s *TableRestoreStatus) SetRequestTime(v time.Time) *TableRestoreStatus { s.RequestTime = &v return s }
[ "func", "(", "s", "*", "TableRestoreStatus", ")", "SetRequestTime", "(", "v", "time", ".", "Time", ")", "*", "TableRestoreStatus", "{", "s", ".", "RequestTime", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRequestTime sets the RequestTime field's value.
[ "SetRequestTime", "sets", "the", "RequestTime", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L21268-L21271
train
aws/aws-sdk-go
service/redshift/api.go
SetSupportedOperations
func (s *UpdateTarget) SetSupportedOperations(v []*SupportedOperation) *UpdateTarget { s.SupportedOperations = v return s }
go
func (s *UpdateTarget) SetSupportedOperations(v []*SupportedOperation) *UpdateTarget { s.SupportedOperations = v return s }
[ "func", "(", "s", "*", "UpdateTarget", ")", "SetSupportedOperations", "(", "v", "[", "]", "*", "SupportedOperation", ")", "*", "UpdateTarget", "{", "s", ".", "SupportedOperations", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSupportedOperations sets the SupportedOperations field's value.
[ "SetSupportedOperations", "sets", "the", "SupportedOperations", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/api.go#L21463-L21466
train
aws/aws-sdk-go
aws/credentials/plugincreds/provider.go
NewCredentials
func NewCredentials(p *plugin.Plugin) (*credentials.Credentials, error) { retrieve, isExpired, err := GetPluginProviderFns(p) if err != nil { return nil, err } return credentials.NewCredentials(Provider{ RetrieveFn: retrieve, IsExpiredFn: isExpired, }), nil }
go
func NewCredentials(p *plugin.Plugin) (*credentials.Credentials, error) { retrieve, isExpired, err := GetPluginProviderFns(p) if err != nil { return nil, err } return credentials.NewCredentials(Provider{ RetrieveFn: retrieve, IsExpiredFn: isExpired, }), nil }
[ "func", "NewCredentials", "(", "p", "*", "plugin", ".", "Plugin", ")", "(", "*", "credentials", ".", "Credentials", ",", "error", ")", "{", "retrieve", ",", "isExpired", ",", "err", ":=", "GetPluginProviderFns", "(", "p", ")", "\n", "if", "err", "!=", "nil", "{", "return", "nil", ",", "err", "\n", "}", "\n\n", "return", "credentials", ".", "NewCredentials", "(", "Provider", "{", "RetrieveFn", ":", "retrieve", ",", "IsExpiredFn", ":", "isExpired", ",", "}", ")", ",", "nil", "\n", "}" ]
// NewCredentials returns a new Credentials loader using the plugin provider. // If the symbol isn't found or is invalid in the plugin an error will be // returned.
[ "NewCredentials", "returns", "a", "new", "Credentials", "loader", "using", "the", "plugin", "provider", ".", "If", "the", "symbol", "isn", "t", "found", "or", "is", "invalid", "in", "the", "plugin", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/plugincreds/provider.go#L137-L147
train
aws/aws-sdk-go
aws/credentials/plugincreds/provider.go
Retrieve
func (p Provider) Retrieve() (credentials.Value, error) { creds := credentials.Value{ ProviderName: ProviderName, } k, s, t, err := p.RetrieveFn() if err != nil { return creds, awserr.New(ErrCodePluginProviderRetrieve, "failed to retrieve credentials with plugin provider", err) } creds.AccessKeyID = k creds.SecretAccessKey = s creds.SessionToken = t return creds, nil }
go
func (p Provider) Retrieve() (credentials.Value, error) { creds := credentials.Value{ ProviderName: ProviderName, } k, s, t, err := p.RetrieveFn() if err != nil { return creds, awserr.New(ErrCodePluginProviderRetrieve, "failed to retrieve credentials with plugin provider", err) } creds.AccessKeyID = k creds.SecretAccessKey = s creds.SessionToken = t return creds, nil }
[ "func", "(", "p", "Provider", ")", "Retrieve", "(", ")", "(", "credentials", ".", "Value", ",", "error", ")", "{", "creds", ":=", "credentials", ".", "Value", "{", "ProviderName", ":", "ProviderName", ",", "}", "\n\n", "k", ",", "s", ",", "t", ",", "err", ":=", "p", ".", "RetrieveFn", "(", ")", "\n", "if", "err", "!=", "nil", "{", "return", "creds", ",", "awserr", ".", "New", "(", "ErrCodePluginProviderRetrieve", ",", "\"", "\"", ",", "err", ")", "\n", "}", "\n\n", "creds", ".", "AccessKeyID", "=", "k", "\n", "creds", ".", "SecretAccessKey", "=", "s", "\n", "creds", ".", "SessionToken", "=", "t", "\n\n", "return", "creds", ",", "nil", "\n", "}" ]
// Retrieve will return the credentials Value if they were successfully retrieved // from the underlying plugin provider. An error will be returned otherwise.
[ "Retrieve", "will", "return", "the", "credentials", "Value", "if", "they", "were", "successfully", "retrieved", "from", "the", "underlying", "plugin", "provider", ".", "An", "error", "will", "be", "returned", "otherwise", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/plugincreds/provider.go#L151-L167
train