/** * 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; DeleteOptOutListRequest::DeleteOptOutListRequest() : m_optOutListNameHasBeenSet(false) { } Aws::String DeleteOptOutListRequest::SerializePayload() const { JsonValue payload; if(m_optOutListNameHasBeenSet) { payload.WithString("OptOutListName", m_optOutListName); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteOptOutListRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "PinpointSMSVoiceV2.DeleteOptOutList")); return headers; }