1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #include <aws/accessanalyzer/model/ListArchiveRulesRequest.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::AccessAnalyzer::Model;
14 using namespace Aws::Utils::Json;
15 using namespace Aws::Utils;
16 using namespace Aws::Http;
17 
ListArchiveRulesRequest()18 ListArchiveRulesRequest::ListArchiveRulesRequest() :
19     m_analyzerNameHasBeenSet(false),
20     m_maxResults(0),
21     m_maxResultsHasBeenSet(false),
22     m_nextTokenHasBeenSet(false)
23 {
24 }
25 
SerializePayload() const26 Aws::String ListArchiveRulesRequest::SerializePayload() const
27 {
28   return {};
29 }
30 
AddQueryStringParameters(URI & uri) const31 void ListArchiveRulesRequest::AddQueryStringParameters(URI& uri) const
32 {
33     Aws::StringStream ss;
34     if(m_maxResultsHasBeenSet)
35     {
36       ss << m_maxResults;
37       uri.AddQueryStringParameter("maxResults", ss.str());
38       ss.str("");
39     }
40 
41     if(m_nextTokenHasBeenSet)
42     {
43       ss << m_nextToken;
44       uri.AddQueryStringParameter("nextToken", ss.str());
45       ss.str("");
46     }
47 
48 }
49 
50 
51 
52