void JobExecutionSummary::SerializeToObject()

in jobs/source/JobExecutionSummary.cpp [49:82]


        void JobExecutionSummary::SerializeToObject(Aws::Crt::JsonObject &object) const
        {
            (void)object;

            if (JobId)
            {
                object.WithString("jobId", *JobId);
            }

            if (ExecutionNumber)
            {
                object.WithInt64("executionNumber", *ExecutionNumber);
            }

            if (VersionNumber)
            {
                object.WithInteger("versionNumber", *VersionNumber);
            }

            if (LastUpdatedAt)
            {
                object.WithDouble("lastUpdatedAt", LastUpdatedAt->SecondsWithMSPrecision());
            }

            if (QueuedAt)
            {
                object.WithDouble("queuedAt", QueuedAt->SecondsWithMSPrecision());
            }

            if (StartedAt)
            {
                object.WithDouble("startedAt", StartedAt->SecondsWithMSPrecision());
            }
        }