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-accessanalyzer/source/model/FindingSourceDetail.cpp

60 lines
1.1 KiB
C++

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