/** * 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 LicenseManager { namespace Model { LicenseSpecification::LicenseSpecification() : m_licenseConfigurationArnHasBeenSet(false) { } LicenseSpecification::LicenseSpecification(JsonView jsonValue) : m_licenseConfigurationArnHasBeenSet(false) { *this = jsonValue; } LicenseSpecification& LicenseSpecification::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("LicenseConfigurationArn")) { m_licenseConfigurationArn = jsonValue.GetString("LicenseConfigurationArn"); m_licenseConfigurationArnHasBeenSet = true; } return *this; } JsonValue LicenseSpecification::Jsonize() const { JsonValue payload; if(m_licenseConfigurationArnHasBeenSet) { payload.WithString("LicenseConfigurationArn", m_licenseConfigurationArn); } return payload; } } // namespace Model } // namespace LicenseManager } // namespace Aws