'Using AWS S3 c++ SDK with a custom endpoint

I'm trying to use the AWS C++ SDK with a custom S3 compatible endpoint such as a minio server server instance.

I am trying to do something similar with what is done here only that I need to do this with the C++ SDK instead. I went through their documentation but I was unable to find any method that allows me to do this.

Is something like this supported ? If so, then some code samples could be greatly appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source