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