/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Amplify::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; GenerateAccessLogsRequest::GenerateAccessLogsRequest() : m_startTimeHasBeenSet(false), m_endTimeHasBeenSet(false), m_domainNameHasBeenSet(false), m_appIdHasBeenSet(false) { } Aws::String GenerateAccessLogsRequest::SerializePayload() const { JsonValue payload; if(m_startTimeHasBeenSet) { payload.WithDouble("startTime", m_startTime.SecondsWithMSPrecision()); } if(m_endTimeHasBeenSet) { payload.WithDouble("endTime", m_endTime.SecondsWithMSPrecision()); } if(m_domainNameHasBeenSet) { payload.WithString("domainName", m_domainName); } return payload.View().WriteReadable(); }