/** * 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; DeleteTemplateSyncConfigRequest::DeleteTemplateSyncConfigRequest() : m_templateNameHasBeenSet(false), m_templateType(TemplateType::NOT_SET), m_templateTypeHasBeenSet(false) { } Aws::String DeleteTemplateSyncConfigRequest::SerializePayload() const { JsonValue payload; if(m_templateNameHasBeenSet) { payload.WithString("templateName", m_templateName); } if(m_templateTypeHasBeenSet) { payload.WithString("templateType", TemplateTypeMapper::GetNameForTemplateType(m_templateType)); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DeleteTemplateSyncConfigRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AwsProton20200720.DeleteTemplateSyncConfig")); return headers; }