/** * 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 VerifiedPermissions { namespace Model { Configuration::Configuration() : m_cognitoUserPoolConfigurationHasBeenSet(false) { } Configuration::Configuration(JsonView jsonValue) : m_cognitoUserPoolConfigurationHasBeenSet(false) { *this = jsonValue; } Configuration& Configuration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("cognitoUserPoolConfiguration")) { m_cognitoUserPoolConfiguration = jsonValue.GetObject("cognitoUserPoolConfiguration"); m_cognitoUserPoolConfigurationHasBeenSet = true; } return *this; } JsonValue Configuration::Jsonize() const { JsonValue payload; if(m_cognitoUserPoolConfigurationHasBeenSet) { payload.WithObject("cognitoUserPoolConfiguration", m_cognitoUserPoolConfiguration.Jsonize()); } return payload; } } // namespace Model } // namespace VerifiedPermissions } // namespace Aws