/** * 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 IoTAnalytics { namespace Model { Schedule::Schedule() : m_expressionHasBeenSet(false) { } Schedule::Schedule(JsonView jsonValue) : m_expressionHasBeenSet(false) { *this = jsonValue; } Schedule& Schedule::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("expression")) { m_expression = jsonValue.GetString("expression"); m_expressionHasBeenSet = true; } return *this; } JsonValue Schedule::Jsonize() const { JsonValue payload; if(m_expressionHasBeenSet) { payload.WithString("expression", m_expression); } return payload; } } // namespace Model } // namespace IoTAnalytics } // namespace Aws