Aws::String StringUtils::ToUpper(const char* source) { Aws::String copy; size_t sourceLength = strlen(source); copy.resize(sourceLength); std::transform(source, source + sourceLength, copy.begin(), ::toupper); return std::move(copy); }