/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::GuardDuty::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateIPSetRequest::UpdateIPSetRequest() : m_detectorIdHasBeenSet(false), m_ipSetIdHasBeenSet(false), m_nameHasBeenSet(false), m_locationHasBeenSet(false), m_activate(false), m_activateHasBeenSet(false) { } Aws::String UpdateIPSetRequest::SerializePayload() const { JsonValue payload; if(m_nameHasBeenSet) { payload.WithString("name", m_name); } if(m_locationHasBeenSet) { payload.WithString("location", m_location); } if(m_activateHasBeenSet) { payload.WithBool("activate", m_activate); } return payload.View().WriteReadable(); }