/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Athena::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateNotebookRequest::CreateNotebookRequest() : m_workGroupHasBeenSet(false), m_nameHasBeenSet(false), m_clientRequestTokenHasBeenSet(false) { } Aws::String CreateNotebookRequest::SerializePayload() const { JsonValue payload; if(m_workGroupHasBeenSet) { payload.WithString("WorkGroup", m_workGroup); } if(m_nameHasBeenSet) { payload.WithString("Name", m_name); } if(m_clientRequestTokenHasBeenSet) { payload.WithString("ClientRequestToken", m_clientRequestToken); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection CreateNotebookRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AmazonAthena.CreateNotebook")); return headers; }