/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::EFS::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateFileSystemRequest::UpdateFileSystemRequest() : m_fileSystemIdHasBeenSet(false), m_throughputMode(ThroughputMode::NOT_SET), m_throughputModeHasBeenSet(false), m_provisionedThroughputInMibps(0.0), m_provisionedThroughputInMibpsHasBeenSet(false) { } Aws::String UpdateFileSystemRequest::SerializePayload() const { JsonValue payload; if(m_throughputModeHasBeenSet) { payload.WithString("ThroughputMode", ThroughputModeMapper::GetNameForThroughputMode(m_throughputMode)); } if(m_provisionedThroughputInMibpsHasBeenSet) { payload.WithDouble("ProvisionedThroughputInMibps", m_provisionedThroughputInMibps); } return payload.View().WriteReadable(); }