/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::MemoryDB::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteSnapshotRequest::DeleteSnapshotRequest() : m_snapshotNameHasBeenSet(false) { } Aws::String DeleteSnapshotRequest::SerializePayload() const { JsonValue payload; if(m_snapshotNameHasBeenSet) { payload.WithString("SnapshotName", m_snapshotName); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteSnapshotRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AmazonMemoryDB.DeleteSnapshot")); return headers; }