/** * 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 IoTEventsData { namespace Model { EnableActionConfiguration::EnableActionConfiguration() : m_noteHasBeenSet(false) { } EnableActionConfiguration::EnableActionConfiguration(JsonView jsonValue) : m_noteHasBeenSet(false) { *this = jsonValue; } EnableActionConfiguration& EnableActionConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("note")) { m_note = jsonValue.GetString("note"); m_noteHasBeenSet = true; } return *this; } JsonValue EnableActionConfiguration::Jsonize() const { JsonValue payload; if(m_noteHasBeenSet) { payload.WithString("note", m_note); } return payload; } } // namespace Model } // namespace IoTEventsData } // namespace Aws