#pragma once /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. * * This file is generated */ #include #include #include #include #include #include namespace Aws { namespace Iotjobs { /** * Sent whenever a job execution is added to or removed from the list of pending job executions for a thing. * */ class AWS_IOTJOBS_API JobExecutionsChangedEvent final { public: JobExecutionsChangedEvent() = default; JobExecutionsChangedEvent(const Crt::JsonView &doc); JobExecutionsChangedEvent &operator=(const Crt::JsonView &doc); void SerializeToObject(Crt::JsonObject &doc) const; /** * Map from JobStatus to a list of Jobs transitioning to that status. * */ Aws::Crt::Optional< Aws::Crt::Map>> Jobs; /** * The time when the message was sent. * */ Aws::Crt::Optional Timestamp; private: static void LoadFromObject(JobExecutionsChangedEvent &obj, const Crt::JsonView &doc); }; } // namespace Iotjobs } // namespace Aws