// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package ebs

type ChecksumAlgorithm string

// Enum values for ChecksumAlgorithm
const (
	ChecksumAlgorithmSha256 ChecksumAlgorithm = "SHA256"
)

func (enum ChecksumAlgorithm) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum ChecksumAlgorithm) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type ValidationExceptionReason string

// Enum values for ValidationExceptionReason
const (
	ValidationExceptionReasonInvalidCustomerKey ValidationExceptionReason = "INVALID_CUSTOMER_KEY"
	ValidationExceptionReasonInvalidPageToken   ValidationExceptionReason = "INVALID_PAGE_TOKEN"
	ValidationExceptionReasonInvalidBlockToken  ValidationExceptionReason = "INVALID_BLOCK_TOKEN"
	ValidationExceptionReasonInvalidSnapshotId  ValidationExceptionReason = "INVALID_SNAPSHOT_ID"
	ValidationExceptionReasonUnrelatedSnapshots ValidationExceptionReason = "UNRELATED_SNAPSHOTS"
)

func (enum ValidationExceptionReason) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum ValidationExceptionReason) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}
