This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-amplify/source/model/GenerateAccessLogsRequest.cpp

49 lines
982 B
C++
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/amplify/model/GenerateAccessLogsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
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();
}