/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::CloudTrail::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; StartEventDataStoreIngestionRequest::StartEventDataStoreIngestionRequest() : m_eventDataStoreHasBeenSet(false) { } Aws::String StartEventDataStoreIngestionRequest::SerializePayload() const { JsonValue payload; if(m_eventDataStoreHasBeenSet) { payload.WithString("EventDataStore", m_eventDataStore); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection StartEventDataStoreIngestionRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.StartEventDataStoreIngestion")); return headers; }