AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
DeleteLoggingConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/LogScope.h>
11#include <aws/wafv2/model/LogType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WAFV2 {
17namespace Model {
18
22 public:
23 AWS_WAFV2_API DeleteLoggingConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DeleteLoggingConfiguration"; }
30
31 AWS_WAFV2_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
41 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
42 template <typename ResourceArnT = Aws::String>
43 void SetResourceArn(ResourceArnT&& value) {
44 m_resourceArnHasBeenSet = true;
45 m_resourceArn = std::forward<ResourceArnT>(value);
46 }
47 template <typename ResourceArnT = Aws::String>
49 SetResourceArn(std::forward<ResourceArnT>(value));
50 return *this;
51 }
53
55
59 inline LogType GetLogType() const { return m_logType; }
60 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
61 inline void SetLogType(LogType value) {
62 m_logTypeHasBeenSet = true;
63 m_logType = value;
64 }
66 SetLogType(value);
67 return *this;
68 }
70
72
88 inline LogScope GetLogScope() const { return m_logScope; }
89 inline bool LogScopeHasBeenSet() const { return m_logScopeHasBeenSet; }
90 inline void SetLogScope(LogScope value) {
91 m_logScopeHasBeenSet = true;
92 m_logScope = value;
93 }
95 SetLogScope(value);
96 return *this;
97 }
99 private:
100 Aws::String m_resourceArn;
101
102 LogType m_logType{LogType::NOT_SET};
103
104 LogScope m_logScope{LogScope::NOT_SET};
105 bool m_resourceArnHasBeenSet = false;
106 bool m_logTypeHasBeenSet = false;
107 bool m_logScopeHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace WAFV2
112} // namespace Aws
DeleteLoggingConfigurationRequest & WithResourceArn(ResourceArnT &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAFV2_API Aws::String SerializePayload() const override
DeleteLoggingConfigurationRequest & WithLogType(LogType value)
DeleteLoggingConfigurationRequest & WithLogScope(LogScope value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String