/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::VoiceID::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateWatchlistRequest::UpdateWatchlistRequest() : m_descriptionHasBeenSet(false), m_domainIdHasBeenSet(false), m_nameHasBeenSet(false), m_watchlistIdHasBeenSet(false) { } Aws::String UpdateWatchlistRequest::SerializePayload() const { JsonValue payload; if(m_descriptionHasBeenSet) { payload.WithString("Description", m_description); } if(m_domainIdHasBeenSet) { payload.WithString("DomainId", m_domainId); } if(m_nameHasBeenSet) { payload.WithString("Name", m_name); } if(m_watchlistIdHasBeenSet) { payload.WithString("WatchlistId", m_watchlistId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection UpdateWatchlistRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "VoiceID.UpdateWatchlist")); return headers; }