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-fsx/source/model/DeleteFileSystemRequest.cpp

66 lines
1.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/fsx/model/DeleteFileSystemRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::FSx::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
DeleteFileSystemRequest::DeleteFileSystemRequest() :
m_fileSystemIdHasBeenSet(false),
m_clientRequestToken(Aws::Utils::UUID::RandomUUID()),
m_clientRequestTokenHasBeenSet(true),
m_windowsConfigurationHasBeenSet(false),
m_lustreConfigurationHasBeenSet(false)
{
}
Aws::String DeleteFileSystemRequest::SerializePayload() const
{
JsonValue payload;
if(m_fileSystemIdHasBeenSet)
{
payload.WithString("FileSystemId", m_fileSystemId);
}
if(m_clientRequestTokenHasBeenSet)
{
payload.WithString("ClientRequestToken", m_clientRequestToken);
}
if(m_windowsConfigurationHasBeenSet)
{
payload.WithObject("WindowsConfiguration", m_windowsConfiguration.Jsonize());
}
if(m_lustreConfigurationHasBeenSet)
{
payload.WithObject("LustreConfiguration", m_lustreConfiguration.Jsonize());
}
return payload.View().WriteReadable();
}
Aws::Http::HeaderValueCollection DeleteFileSystemRequest::GetRequestSpecificHeaders() const
{
Aws::Http::HeaderValueCollection headers;
headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSSimbaAPIService_v20180301.DeleteFileSystem"));
return headers;
}