Closed
Description
While trying to build a simple S3 client similar to one presented at AWS Blog, I am getting the following error:
test.cxx:6:35: error: variable has incomplete type 'Aws::S3::Model::GetObjectRequest'
Aws::S3::Model::GetObjectRequest getObjectRequest;
^
/home/satyenr/github/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Client.h:128:15: note: forward declaration of 'Aws::S3::Model::GetObjectRequest'
class GetObjectRequest;
^
Here is the code snippet that is throwing the error:
Aws::S3::S3Client s3Client;
Aws::S3::Model::GetObjectRequest getObjectRequest;
getObjectRequest.SetBucket("test-bucket");
getObjectRequest.SetKey("test.txt");
Am I missing something here?
Additionally, some explanation of ALLOCATION_TAG would be really helpful.
Is there any documentation or examples that I can use to explore this further?
Metadata
Metadata
Assignees
Labels
No labels