Aws::Http::HeaderValueCollection headers; headers.insert("Content-Type", "application/json");
Aws::Http::HeaderValueCollection headers; headers.insert("X-Amz-Date", "20220101T000000Z"); headers.insert("Authorization", "AWS4-HMAC-SHA256 Credential=ACCESS_KEY_ID/20220101/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=SIGNATURE_HASH");This example creates a HeaderValueCollection object and inserts two HTTP headers for use with AWS Signature Version 4. The package library is the AWS SDK for C++.