/** * 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 ServiceDiscovery { namespace Model { PrivateDnsPropertiesMutableChange::PrivateDnsPropertiesMutableChange() : m_sOAHasBeenSet(false) { } PrivateDnsPropertiesMutableChange::PrivateDnsPropertiesMutableChange(JsonView jsonValue) : m_sOAHasBeenSet(false) { *this = jsonValue; } PrivateDnsPropertiesMutableChange& PrivateDnsPropertiesMutableChange::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("SOA")) { m_sOA = jsonValue.GetObject("SOA"); m_sOAHasBeenSet = true; } return *this; } JsonValue PrivateDnsPropertiesMutableChange::Jsonize() const { JsonValue payload; if(m_sOAHasBeenSet) { payload.WithObject("SOA", m_sOA.Jsonize()); } return payload; } } // namespace Model } // namespace ServiceDiscovery } // namespace Aws