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