/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace AccessAnalyzer { namespace Model { VpcConfiguration::VpcConfiguration() : m_vpcIdHasBeenSet(false) { } VpcConfiguration::VpcConfiguration(JsonView jsonValue) : m_vpcIdHasBeenSet(false) { *this = jsonValue; } VpcConfiguration& VpcConfiguration::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("vpcId")) { m_vpcId = jsonValue.GetString("vpcId"); m_vpcIdHasBeenSet = true; } return *this; } JsonValue VpcConfiguration::Jsonize() const { JsonValue payload; if(m_vpcIdHasBeenSet) { payload.WithString("vpcId", m_vpcId); } return payload; } } // namespace Model } // namespace AccessAnalyzer } // namespace Aws