/** * 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 Pinpoint { namespace Model { ContactCenterActivity::ContactCenterActivity() : m_nextActivityHasBeenSet(false) { } ContactCenterActivity::ContactCenterActivity(JsonView jsonValue) : m_nextActivityHasBeenSet(false) { *this = jsonValue; } ContactCenterActivity& ContactCenterActivity::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("NextActivity")) { m_nextActivity = jsonValue.GetString("NextActivity"); m_nextActivityHasBeenSet = true; } return *this; } JsonValue ContactCenterActivity::Jsonize() const { JsonValue payload; if(m_nextActivityHasBeenSet) { payload.WithString("NextActivity", m_nextActivity); } return payload; } } // namespace Model } // namespace Pinpoint } // namespace Aws