/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include using namespace Aws::Lambda::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws::Http; ListLayerVersionsRequest::ListLayerVersionsRequest() : m_compatibleRuntime(Runtime::NOT_SET), m_compatibleRuntimeHasBeenSet(false), m_layerNameHasBeenSet(false), m_markerHasBeenSet(false), m_maxItems(0), m_maxItemsHasBeenSet(false), m_compatibleArchitecture(Architecture::NOT_SET), m_compatibleArchitectureHasBeenSet(false) { } Aws::String ListLayerVersionsRequest::SerializePayload() const { return {}; } void ListLayerVersionsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; if(m_compatibleRuntimeHasBeenSet) { ss << RuntimeMapper::GetNameForRuntime(m_compatibleRuntime); uri.AddQueryStringParameter("CompatibleRuntime", ss.str()); ss.str(""); } if(m_markerHasBeenSet) { ss << m_marker; uri.AddQueryStringParameter("Marker", ss.str()); ss.str(""); } if(m_maxItemsHasBeenSet) { ss << m_maxItems; uri.AddQueryStringParameter("MaxItems", ss.str()); ss.str(""); } if(m_compatibleArchitectureHasBeenSet) { ss << ArchitectureMapper::GetNameForArchitecture(m_compatibleArchitecture); uri.AddQueryStringParameter("CompatibleArchitecture", ss.str()); ss.str(""); } }