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-lambda/source/model/FileSystemConfig.cpp

75 lines
1.3 KiB
C++
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/lambda/model/FileSystemConfig.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace Lambda
{
namespace Model
{
FileSystemConfig::FileSystemConfig() :
m_arnHasBeenSet(false),
m_localMountPathHasBeenSet(false)
{
}
FileSystemConfig::FileSystemConfig(JsonView jsonValue) :
m_arnHasBeenSet(false),
m_localMountPathHasBeenSet(false)
{
*this = jsonValue;
}
FileSystemConfig& FileSystemConfig::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("Arn"))
{
m_arn = jsonValue.GetString("Arn");
m_arnHasBeenSet = true;
}
if(jsonValue.ValueExists("LocalMountPath"))
{
m_localMountPath = jsonValue.GetString("LocalMountPath");
m_localMountPathHasBeenSet = true;
}
return *this;
}
JsonValue FileSystemConfig::Jsonize() const
{
JsonValue payload;
if(m_arnHasBeenSet)
{
payload.WithString("Arn", m_arn);
}
if(m_localMountPathHasBeenSet)
{
payload.WithString("LocalMountPath", m_localMountPath);
}
return payload;
}
} // namespace Model
} // namespace Lambda
} // namespace Aws