This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-securityhub/source/model/UpdateInsightRequest.cpp

51 lines
941 B
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/securityhub/model/UpdateInsightRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::SecurityHub::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
UpdateInsightRequest::UpdateInsightRequest() :
m_insightArnHasBeenSet(false),
m_nameHasBeenSet(false),
m_filtersHasBeenSet(false),
m_groupByAttributeHasBeenSet(false)
{
}
Aws::String UpdateInsightRequest::SerializePayload() const
{
JsonValue payload;
if(m_nameHasBeenSet)
{
payload.WithString("Name", m_name);
}
if(m_filtersHasBeenSet)
{
payload.WithObject("Filters", m_filters.Jsonize());
}
if(m_groupByAttributeHasBeenSet)
{
payload.WithString("GroupByAttribute", m_groupByAttribute);
}
return payload.View().WriteReadable();
}