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