/** * 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 Appflow { namespace Model { SlackSourceProperties::SlackSourceProperties() : m_objectHasBeenSet(false) { } SlackSourceProperties::SlackSourceProperties(JsonView jsonValue) : m_objectHasBeenSet(false) { *this = jsonValue; } SlackSourceProperties& SlackSourceProperties::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("object")) { m_object = jsonValue.GetString("object"); m_objectHasBeenSet = true; } return *this; } JsonValue SlackSourceProperties::Jsonize() const { JsonValue payload; if(m_objectHasBeenSet) { payload.WithString("object", m_object); } return payload; } } // namespace Model } // namespace Appflow } // namespace Aws