std::string ParameterPath::get_local_path()

in aws_common/src/sdk_utils/parameter_path.cpp [46:57]


std::string ParameterPath::get_local_path(char parameter_namespace_separator) const
{
  std::string resolved_path;
  /* Construct the parameter's path by the provided lists of keys */
  for (const auto & parameter_path_key : parameter_path_keys_) {
    resolved_path += parameter_path_key + parameter_namespace_separator;
  }
  if (!resolved_path.empty() && resolved_path.back() == parameter_namespace_separator) {
    resolved_path.pop_back();
  }
  return resolved_path;
}