/** * 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 { VirtualGatewayTlsValidationContext::VirtualGatewayTlsValidationContext() : m_trustHasBeenSet(false) { } VirtualGatewayTlsValidationContext::VirtualGatewayTlsValidationContext(JsonView jsonValue) : m_trustHasBeenSet(false) { *this = jsonValue; } VirtualGatewayTlsValidationContext& VirtualGatewayTlsValidationContext::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("trust")) { m_trust = jsonValue.GetObject("trust"); m_trustHasBeenSet = true; } return *this; } JsonValue VirtualGatewayTlsValidationContext::Jsonize() const { JsonValue payload; if(m_trustHasBeenSet) { payload.WithObject("trust", m_trust.Jsonize()); } return payload; } } // namespace Model } // namespace AppMesh } // namespace Aws