toValue method
Implementation
String toValue() {
switch (this) {
case AssessmentRunNotificationSnsStatusCode.success:
return 'SUCCESS';
case AssessmentRunNotificationSnsStatusCode.topicDoesNotExist:
return 'TOPIC_DOES_NOT_EXIST';
case AssessmentRunNotificationSnsStatusCode.accessDenied:
return 'ACCESS_DENIED';
case AssessmentRunNotificationSnsStatusCode.internalError:
return 'INTERNAL_ERROR';
}
}