if(!metadata->has_autoclass()){ std::cout <<"The bucket "<< metadata->name()<<" does not have an" <<" autoclass configuration.\n"; return; }
std::cout <<"Autoclass is " <<(metadata->autoclass().enabled ?"enabled":"disabled") <<" for bucket "<< metadata->name()<<". " <<" The bucket's full autoclass configuration is " << metadata->autoclass()<<"\n"; }
std::cout <<"The autoclass configuration for bucket "<< bucket_name <<" was successfully updated."; if(!metadata->has_autoclass()){ std::cout <<" The bucket no longer has an autoclass configuration.\n"; return; } std::cout <<" The new configuration is "<< metadata->autoclass()<<"\n"; }
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-26 UTC."],[],[]]