RGWQuotaInfo bucket_quota;
RGWQuotaInfo user_quota;
- void set_access_key(std::string& access_key) {
+ void set_access_key(const std::string& access_key) {
if (access_key.empty())
return;
key_op = true;
}
- void set_secret_key(std::string& secret_key) {
+ void set_secret_key(const std::string& secret_key) {
if (secret_key.empty())
return;
user_email_specified = true;
}
- void set_display_name(std::string& name) {
+ void set_display_name(const std::string& name) {
if (name.empty())
return;
subuser_specified = true;
}
- void set_caps(std::string& _caps) {
+ void set_caps(const std::string& _caps) {
if (_caps.empty())
return;