/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include using namespace Aws::AppConfig::Model; using namespace Aws::Utils::Stream; using namespace Aws::Utils; using namespace Aws; CreateHostedConfigurationVersionRequest::CreateHostedConfigurationVersionRequest() : m_applicationIdHasBeenSet(false), m_configurationProfileIdHasBeenSet(false), m_descriptionHasBeenSet(false), m_latestVersionNumber(0), m_latestVersionNumberHasBeenSet(false), m_versionLabelHasBeenSet(false) { } Aws::Http::HeaderValueCollection CreateHostedConfigurationVersionRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; Aws::StringStream ss; if(m_descriptionHasBeenSet) { ss << m_description; headers.emplace("description", ss.str()); ss.str(""); } if(m_latestVersionNumberHasBeenSet) { ss << m_latestVersionNumber; headers.emplace("latest-version-number", ss.str()); ss.str(""); } if(m_versionLabelHasBeenSet) { ss << m_versionLabel; headers.emplace("versionlabel", ss.str()); ss.str(""); } return headers; }