/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Detective::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateOrganizationConfigurationRequest::UpdateOrganizationConfigurationRequest() : m_graphArnHasBeenSet(false), m_autoEnable(false), m_autoEnableHasBeenSet(false) { } Aws::String UpdateOrganizationConfigurationRequest::SerializePayload() const { JsonValue payload; if(m_graphArnHasBeenSet) { payload.WithString("GraphArn", m_graphArn); } if(m_autoEnableHasBeenSet) { payload.WithBool("AutoEnable", m_autoEnable); } return payload.View().WriteReadable(); }