/** * 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 AlexaForBusiness { namespace Model { CreateProactiveJoin::CreateProactiveJoin() : m_enabledByMotion(false), m_enabledByMotionHasBeenSet(false) { } CreateProactiveJoin::CreateProactiveJoin(JsonView jsonValue) : m_enabledByMotion(false), m_enabledByMotionHasBeenSet(false) { *this = jsonValue; } CreateProactiveJoin& CreateProactiveJoin::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("EnabledByMotion")) { m_enabledByMotion = jsonValue.GetBool("EnabledByMotion"); m_enabledByMotionHasBeenSet = true; } return *this; } JsonValue CreateProactiveJoin::Jsonize() const { JsonValue payload; if(m_enabledByMotionHasBeenSet) { payload.WithBool("EnabledByMotion", m_enabledByMotion); } return payload; } } // namespace Model } // namespace AlexaForBusiness } // namespace Aws