/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::GameLift::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateVpcPeeringAuthorizationRequest::CreateVpcPeeringAuthorizationRequest() : m_gameLiftAwsAccountIdHasBeenSet(false), m_peerVpcIdHasBeenSet(false) { } Aws::String CreateVpcPeeringAuthorizationRequest::SerializePayload() const { JsonValue payload; if(m_gameLiftAwsAccountIdHasBeenSet) { payload.WithString("GameLiftAwsAccountId", m_gameLiftAwsAccountId); } if(m_peerVpcIdHasBeenSet) { payload.WithString("PeerVpcId", m_peerVpcId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection CreateVpcPeeringAuthorizationRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "GameLift.CreateVpcPeeringAuthorization")); return headers; }