1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #include <aws/securityhub/model/ListFindingAggregatorsRequest.h>
7 #include <aws/core/utils/json/JsonSerializer.h>
8 #include <aws/core/http/URI.h>
9 #include <aws/core/utils/memory/stl/AWSStringStream.h>
10 
11 #include <utility>
12 
13 using namespace Aws::SecurityHub::Model;
14 using namespace Aws::Utils::Json;
15 using namespace Aws::Utils;
16 using namespace Aws::Http;
17 
ListFindingAggregatorsRequest()18 ListFindingAggregatorsRequest::ListFindingAggregatorsRequest() :
19     m_nextTokenHasBeenSet(false),
20     m_maxResults(0),
21     m_maxResultsHasBeenSet(false)
22 {
23 }
24 
SerializePayload() const25 Aws::String ListFindingAggregatorsRequest::SerializePayload() const
26 {
27   return {};
28 }
29 
AddQueryStringParameters(URI & uri) const30 void ListFindingAggregatorsRequest::AddQueryStringParameters(URI& uri) const
31 {
32     Aws::StringStream ss;
33     if(m_nextTokenHasBeenSet)
34     {
35       ss << m_nextToken;
36       uri.AddQueryStringParameter("NextToken", ss.str());
37       ss.str("");
38     }
39 
40     if(m_maxResultsHasBeenSet)
41     {
42       ss << m_maxResults;
43       uri.AddQueryStringParameter("MaxResults", ss.str());
44       ss.str("");
45     }
46 
47 }
48 
49 
50 
51