/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/servicecatalog-appregistry/model/Integrations.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace AppRegistry { namespace Model { Integrations::Integrations() : m_resourceGroupHasBeenSet(false) { } Integrations::Integrations(JsonView jsonValue) : m_resourceGroupHasBeenSet(false) { *this = jsonValue; } Integrations& Integrations::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("resourceGroup")) { m_resourceGroup = jsonValue.GetObject("resourceGroup"); m_resourceGroupHasBeenSet = true; } return *this; } JsonValue Integrations::Jsonize() const { JsonValue payload; if(m_resourceGroupHasBeenSet) { payload.WithObject("resourceGroup", m_resourceGroup.Jsonize()); } return payload; } } // namespace Model } // namespace AppRegistry } // namespace Aws