/** * 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 GuardDuty { namespace Model { OrganizationScanEc2InstanceWithFindingsResult::OrganizationScanEc2InstanceWithFindingsResult() : m_ebsVolumesHasBeenSet(false) { } OrganizationScanEc2InstanceWithFindingsResult::OrganizationScanEc2InstanceWithFindingsResult(JsonView jsonValue) : m_ebsVolumesHasBeenSet(false) { *this = jsonValue; } OrganizationScanEc2InstanceWithFindingsResult& OrganizationScanEc2InstanceWithFindingsResult::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("ebsVolumes")) { m_ebsVolumes = jsonValue.GetObject("ebsVolumes"); m_ebsVolumesHasBeenSet = true; } return *this; } JsonValue OrganizationScanEc2InstanceWithFindingsResult::Jsonize() const { JsonValue payload; if(m_ebsVolumesHasBeenSet) { payload.WithObject("ebsVolumes", m_ebsVolumes.Jsonize()); } return payload; } } // namespace Model } // namespace GuardDuty } // namespace Aws