/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include using namespace Aws::CodeGuruProfiler::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws::Http; GetRecommendationsRequest::GetRecommendationsRequest() : m_endTimeHasBeenSet(false), m_localeHasBeenSet(false), m_profilingGroupNameHasBeenSet(false), m_startTimeHasBeenSet(false) { } Aws::String GetRecommendationsRequest::SerializePayload() const { return {}; } void GetRecommendationsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; if(m_endTimeHasBeenSet) { ss << m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601); uri.AddQueryStringParameter("endTime", ss.str()); ss.str(""); } if(m_localeHasBeenSet) { ss << m_locale; uri.AddQueryStringParameter("locale", ss.str()); ss.str(""); } if(m_startTimeHasBeenSet) { ss << m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601); uri.AddQueryStringParameter("startTime", ss.str()); ss.str(""); } }