/** * 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 { HttpGatewayRoutePathRewrite::HttpGatewayRoutePathRewrite() : m_exactHasBeenSet(false) { } HttpGatewayRoutePathRewrite::HttpGatewayRoutePathRewrite(JsonView jsonValue) : m_exactHasBeenSet(false) { *this = jsonValue; } HttpGatewayRoutePathRewrite& HttpGatewayRoutePathRewrite::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("exact")) { m_exact = jsonValue.GetString("exact"); m_exactHasBeenSet = true; } return *this; } JsonValue HttpGatewayRoutePathRewrite::Jsonize() const { JsonValue payload; if(m_exactHasBeenSet) { payload.WithString("exact", m_exact); } return payload; } } // namespace Model } // namespace AppMesh } // namespace Aws