/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::RDS::Model; using namespace Aws::Utils; DownloadDBLogFilePortionRequest::DownloadDBLogFilePortionRequest() : m_dBInstanceIdentifierHasBeenSet(false), m_logFileNameHasBeenSet(false), m_markerHasBeenSet(false), m_numberOfLines(0), m_numberOfLinesHasBeenSet(false) { } Aws::String DownloadDBLogFilePortionRequest::SerializePayload() const { Aws::StringStream ss; ss << "Action=DownloadDBLogFilePortion&"; if(m_dBInstanceIdentifierHasBeenSet) { ss << "DBInstanceIdentifier=" << StringUtils::URLEncode(m_dBInstanceIdentifier.c_str()) << "&"; } if(m_logFileNameHasBeenSet) { ss << "LogFileName=" << StringUtils::URLEncode(m_logFileName.c_str()) << "&"; } if(m_markerHasBeenSet) { ss << "Marker=" << StringUtils::URLEncode(m_marker.c_str()) << "&"; } if(m_numberOfLinesHasBeenSet) { ss << "NumberOfLines=" << m_numberOfLines << "&"; } ss << "Version=2014-10-31"; return ss.str(); } void DownloadDBLogFilePortionRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const { uri.SetQueryString(SerializePayload()); }