/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::PinpointSMSVoiceV2::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteEventDestinationRequest::DeleteEventDestinationRequest() : m_configurationSetNameHasBeenSet(false), m_eventDestinationNameHasBeenSet(false) { } Aws::String DeleteEventDestinationRequest::SerializePayload() const { JsonValue payload; if(m_configurationSetNameHasBeenSet) { payload.WithString("ConfigurationSetName", m_configurationSetName); } if(m_eventDestinationNameHasBeenSet) { payload.WithString("EventDestinationName", m_eventDestinationName); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteEventDestinationRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "PinpointSMSVoiceV2.DeleteEventDestination")); return headers; }