/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Rekognition::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateProjectRequest::CreateProjectRequest() : m_projectNameHasBeenSet(false) { } Aws::String CreateProjectRequest::SerializePayload() const { JsonValue payload; if(m_projectNameHasBeenSet) { payload.WithString("ProjectName", m_projectName); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection CreateProjectRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "RekognitionService.CreateProject")); return headers; }