/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace AppMesh { namespace Model { VirtualGatewayGrpcConnectionPool::VirtualGatewayGrpcConnectionPool() : m_maxRequests(0), m_maxRequestsHasBeenSet(false) { } VirtualGatewayGrpcConnectionPool::VirtualGatewayGrpcConnectionPool(JsonView jsonValue) : m_maxRequests(0), m_maxRequestsHasBeenSet(false) { *this = jsonValue; } VirtualGatewayGrpcConnectionPool& VirtualGatewayGrpcConnectionPool::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("maxRequests")) { m_maxRequests = jsonValue.GetInteger("maxRequests"); m_maxRequestsHasBeenSet = true; } return *this; } JsonValue VirtualGatewayGrpcConnectionPool::Jsonize() const { JsonValue payload; if(m_maxRequestsHasBeenSet) { payload.WithInteger("maxRequests", m_maxRequests); } return payload; } } // namespace Model } // namespace AppMesh } // namespace Aws