AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListLoggingConfigurationsRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/model/Scope.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/wafv2/model/LogScope.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WAFV2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_WAFV2_API ListLoggingConfigurationsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListLoggingConfigurations"; }
33
34 AWS_WAFV2_API Aws::String SerializePayload() const override;
35
37
38
40
49 inline Scope GetScope() const { return m_scope; }
50 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
51 inline void SetScope(Scope value) { m_scopeHasBeenSet = true; m_scope = value; }
52 inline ListLoggingConfigurationsRequest& WithScope(Scope value) { SetScope(value); return *this;}
54
56
63 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
64 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
65 template<typename NextMarkerT = Aws::String>
66 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
67 template<typename NextMarkerT = Aws::String>
68 ListLoggingConfigurationsRequest& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
70
72
78 inline int GetLimit() const { return m_limit; }
79 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
80 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
81 inline ListLoggingConfigurationsRequest& WithLimit(int value) { SetLimit(value); return *this;}
83
85
96 inline LogScope GetLogScope() const { return m_logScope; }
97 inline bool LogScopeHasBeenSet() const { return m_logScopeHasBeenSet; }
98 inline void SetLogScope(LogScope value) { m_logScopeHasBeenSet = true; m_logScope = value; }
99 inline ListLoggingConfigurationsRequest& WithLogScope(LogScope value) { SetLogScope(value); return *this;}
101 private:
102
103 Scope m_scope{Scope::NOT_SET};
104 bool m_scopeHasBeenSet = false;
105
106 Aws::String m_nextMarker;
107 bool m_nextMarkerHasBeenSet = false;
108
109 int m_limit{0};
110 bool m_limitHasBeenSet = false;
111
112 LogScope m_logScope{LogScope::NOT_SET};
113 bool m_logScopeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace WAFV2
118} // namespace Aws
ListLoggingConfigurationsRequest & WithScope(Scope value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListLoggingConfigurationsRequest & WithLogScope(LogScope value)
ListLoggingConfigurationsRequest & WithNextMarker(NextMarkerT &&value)
AWS_WAFV2_API Aws::String SerializePayload() const override
ListLoggingConfigurationsRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String