/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::AlexaForBusiness::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateGatewayRequest::UpdateGatewayRequest() : m_gatewayArnHasBeenSet(false), m_nameHasBeenSet(false), m_descriptionHasBeenSet(false), m_softwareVersionHasBeenSet(false) { } Aws::String UpdateGatewayRequest::SerializePayload() const { JsonValue payload; if(m_gatewayArnHasBeenSet) { payload.WithString("GatewayArn", m_gatewayArn); } if(m_nameHasBeenSet) { payload.WithString("Name", m_name); } if(m_descriptionHasBeenSet) { payload.WithString("Description", m_description); } if(m_softwareVersionHasBeenSet) { payload.WithString("SoftwareVersion", m_softwareVersion); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection UpdateGatewayRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AlexaForBusiness.UpdateGateway")); return headers; }