AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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
51 inline const Scope& GetScope() const{ return m_scope; }
52 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
53 inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
54 inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
55 inline ListLoggingConfigurationsRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
56 inline ListLoggingConfigurationsRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
58
60
67 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
68 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
69 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
70 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
71 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
72 inline ListLoggingConfigurationsRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
73 inline ListLoggingConfigurationsRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
74 inline ListLoggingConfigurationsRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
76
78
84 inline int GetLimit() const{ return m_limit; }
85 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
86 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
87 inline ListLoggingConfigurationsRequest& WithLimit(int value) { SetLimit(value); return *this;}
89
91
102 inline const LogScope& GetLogScope() const{ return m_logScope; }
103 inline bool LogScopeHasBeenSet() const { return m_logScopeHasBeenSet; }
104 inline void SetLogScope(const LogScope& value) { m_logScopeHasBeenSet = true; m_logScope = value; }
105 inline void SetLogScope(LogScope&& value) { m_logScopeHasBeenSet = true; m_logScope = std::move(value); }
106 inline ListLoggingConfigurationsRequest& WithLogScope(const LogScope& value) { SetLogScope(value); return *this;}
107 inline ListLoggingConfigurationsRequest& WithLogScope(LogScope&& value) { SetLogScope(std::move(value)); return *this;}
109 private:
110
111 Scope m_scope;
112 bool m_scopeHasBeenSet = false;
113
114 Aws::String m_nextMarker;
115 bool m_nextMarkerHasBeenSet = false;
116
117 int m_limit;
118 bool m_limitHasBeenSet = false;
119
120 LogScope m_logScope;
121 bool m_logScopeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace WAFV2
126} // namespace Aws
ListLoggingConfigurationsRequest & WithScope(Scope &&value)
ListLoggingConfigurationsRequest & WithLogScope(LogScope &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListLoggingConfigurationsRequest & WithNextMarker(Aws::String &&value)
ListLoggingConfigurationsRequest & WithNextMarker(const char *value)
ListLoggingConfigurationsRequest & WithNextMarker(const Aws::String &value)
AWS_WAFV2_API Aws::String SerializePayload() const override
ListLoggingConfigurationsRequest & WithScope(const Scope &value)
ListLoggingConfigurationsRequest & WithLimit(int value)
ListLoggingConfigurationsRequest & WithLogScope(const LogScope &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String