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