1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #include <aws/iotsitewise/model/UpdateGatewayRequest.h>
7 #include <aws/core/utils/json/JsonSerializer.h>
8 
9 #include <utility>
10 
11 using namespace Aws::IoTSiteWise::Model;
12 using namespace Aws::Utils::Json;
13 using namespace Aws::Utils;
14 
UpdateGatewayRequest()15 UpdateGatewayRequest::UpdateGatewayRequest() :
16     m_gatewayIdHasBeenSet(false),
17     m_gatewayNameHasBeenSet(false)
18 {
19 }
20 
SerializePayload() const21 Aws::String UpdateGatewayRequest::SerializePayload() const
22 {
23   JsonValue payload;
24 
25   if(m_gatewayNameHasBeenSet)
26   {
27    payload.WithString("gatewayName", m_gatewayName);
28 
29   }
30 
31   return payload.View().WriteReadable();
32 }
33 
34 
35 
36 
37