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