This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-apigateway/source/model/UpdateIntegrationResponseRequest.cpp

45 lines
1.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/apigateway/model/UpdateIntegrationResponseRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::APIGateway::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
UpdateIntegrationResponseRequest::UpdateIntegrationResponseRequest() :
m_restApiIdHasBeenSet(false),
m_resourceIdHasBeenSet(false),
m_httpMethodHasBeenSet(false),
m_statusCodeHasBeenSet(false),
m_patchOperationsHasBeenSet(false)
{
}
Aws::String UpdateIntegrationResponseRequest::SerializePayload() const
{
JsonValue payload;
if(m_patchOperationsHasBeenSet)
{
Array<JsonValue> patchOperationsJsonList(m_patchOperations.size());
for(unsigned patchOperationsIndex = 0; patchOperationsIndex < patchOperationsJsonList.GetLength(); ++patchOperationsIndex)
{
patchOperationsJsonList[patchOperationsIndex].AsObject(m_patchOperations[patchOperationsIndex].Jsonize());
}
payload.WithArray("patchOperations", std::move(patchOperationsJsonList));
}
return payload.View().WriteReadable();
}