52 lines
1.1 KiB
C++
52 lines
1.1 KiB
C++
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#include <aws/waf/model/ListSqlInjectionMatchSetsRequest.h>
|
|||
|
|
#include <aws/core/utils/json/JsonSerializer.h>
|
|||
|
|
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
using namespace Aws::WAF::Model;
|
|||
|
|
using namespace Aws::Utils::Json;
|
|||
|
|
using namespace Aws::Utils;
|
|||
|
|
|
|||
|
|
ListSqlInjectionMatchSetsRequest::ListSqlInjectionMatchSetsRequest() :
|
|||
|
|
m_nextMarkerHasBeenSet(false),
|
|||
|
|
m_limit(0),
|
|||
|
|
m_limitHasBeenSet(false)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
Aws::String ListSqlInjectionMatchSetsRequest::SerializePayload() const
|
|||
|
|
{
|
|||
|
|
JsonValue payload;
|
|||
|
|
|
|||
|
|
if(m_nextMarkerHasBeenSet)
|
|||
|
|
{
|
|||
|
|
payload.WithString("NextMarker", m_nextMarker);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
if(m_limitHasBeenSet)
|
|||
|
|
{
|
|||
|
|
payload.WithInteger("Limit", m_limit);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
return payload.View().WriteReadable();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
Aws::Http::HeaderValueCollection ListSqlInjectionMatchSetsRequest::GetRequestSpecificHeaders() const
|
|||
|
|
{
|
|||
|
|
Aws::Http::HeaderValueCollection headers;
|
|||
|
|
headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSWAF_20150824.ListSqlInjectionMatchSets"));
|
|||
|
|
return headers;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|