AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteLoggingConfigurationRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/LogType.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 DeleteLoggingConfigurationRequest() = 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 "DeleteLoggingConfiguration"; }
33
34 AWS_WAFV2_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
45 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
46 template<typename ResourceArnT = Aws::String>
47 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
48 template<typename ResourceArnT = Aws::String>
49 DeleteLoggingConfigurationRequest& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
51
53
57 inline LogType GetLogType() const { return m_logType; }
58 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
59 inline void SetLogType(LogType value) { m_logTypeHasBeenSet = true; m_logType = value; }
60 inline DeleteLoggingConfigurationRequest& WithLogType(LogType value) { SetLogType(value); return *this;}
62
64
75 inline LogScope GetLogScope() const { return m_logScope; }
76 inline bool LogScopeHasBeenSet() const { return m_logScopeHasBeenSet; }
77 inline void SetLogScope(LogScope value) { m_logScopeHasBeenSet = true; m_logScope = value; }
80 private:
81
82 Aws::String m_resourceArn;
83 bool m_resourceArnHasBeenSet = false;
84
85 LogType m_logType{LogType::NOT_SET};
86 bool m_logTypeHasBeenSet = false;
87
88 LogScope m_logScope{LogScope::NOT_SET};
89 bool m_logScopeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace WAFV2
94} // 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