/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Proton::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateServiceTemplateRequest::UpdateServiceTemplateRequest() : m_descriptionHasBeenSet(false), m_displayNameHasBeenSet(false), m_nameHasBeenSet(false) { } Aws::String UpdateServiceTemplateRequest::SerializePayload() const { JsonValue payload; if(m_descriptionHasBeenSet) { payload.WithString("description", m_description); } if(m_displayNameHasBeenSet) { payload.WithString("displayName", m_displayName); } if(m_nameHasBeenSet) { payload.WithString("name", m_name); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection UpdateServiceTemplateRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AwsProton20200720.UpdateServiceTemplate")); return headers; }