/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include using namespace Aws::WorkDocs::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws::Http; DeleteLabelsRequest::DeleteLabelsRequest() : m_resourceIdHasBeenSet(false), m_authenticationTokenHasBeenSet(false), m_labelsHasBeenSet(false), m_deleteAll(false), m_deleteAllHasBeenSet(false) { } Aws::String DeleteLabelsRequest::SerializePayload() const { return {}; } Aws::Http::HeaderValueCollection DeleteLabelsRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; Aws::StringStream ss; if(m_authenticationTokenHasBeenSet) { ss << m_authenticationToken; headers.emplace("authentication", ss.str()); ss.str(""); } return headers; } void DeleteLabelsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; if(m_labelsHasBeenSet) { for(const auto& item : m_labels) { ss << item; uri.AddQueryStringParameter("labels", ss.str()); ss.str(""); } } if(m_deleteAllHasBeenSet) { ss << m_deleteAll; uri.AddQueryStringParameter("deleteAll", ss.str()); ss.str(""); } }