/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::FraudDetector::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; GetEventRequest::GetEventRequest() : m_eventIdHasBeenSet(false), m_eventTypeNameHasBeenSet(false) { } Aws::String GetEventRequest::SerializePayload() const { JsonValue payload; if(m_eventIdHasBeenSet) { payload.WithString("eventId", m_eventId); } if(m_eventTypeNameHasBeenSet) { payload.WithString("eventTypeName", m_eventTypeName); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection GetEventRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSHawksNestServiceFacade.GetEvent")); return headers; }