AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLoggingConfigurationRequest.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:
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 "GetLoggingConfiguration"; }
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 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
47 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
48 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
49 inline GetLoggingConfigurationRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
50 inline GetLoggingConfigurationRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
51 inline GetLoggingConfigurationRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
53
55
59 inline const LogType& GetLogType() const{ return m_logType; }
60 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
61 inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; }
62 inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); }
63 inline GetLoggingConfigurationRequest& WithLogType(const LogType& value) { SetLogType(value); return *this;}
64 inline GetLoggingConfigurationRequest& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;}
66
68
79 inline const LogScope& GetLogScope() const{ return m_logScope; }
80 inline bool LogScopeHasBeenSet() const { return m_logScopeHasBeenSet; }
81 inline void SetLogScope(const LogScope& value) { m_logScopeHasBeenSet = true; m_logScope = value; }
82 inline void SetLogScope(LogScope&& value) { m_logScopeHasBeenSet = true; m_logScope = std::move(value); }
83 inline GetLoggingConfigurationRequest& WithLogScope(const LogScope& value) { SetLogScope(value); return *this;}
84 inline GetLoggingConfigurationRequest& WithLogScope(LogScope&& value) { SetLogScope(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_resourceArn;
89 bool m_resourceArnHasBeenSet = false;
90
91 LogType m_logType;
92 bool m_logTypeHasBeenSet = false;
93
94 LogScope m_logScope;
95 bool m_logScopeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace WAFV2
100} // namespace Aws
GetLoggingConfigurationRequest & WithResourceArn(const Aws::String &value)
GetLoggingConfigurationRequest & WithLogScope(LogScope &&value)
AWS_WAFV2_API Aws::String SerializePayload() const override
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetLoggingConfigurationRequest & WithLogType(LogType &&value)
GetLoggingConfigurationRequest & WithResourceArn(const char *value)
GetLoggingConfigurationRequest & WithLogScope(const LogScope &value)
GetLoggingConfigurationRequest & WithResourceArn(Aws::String &&value)
GetLoggingConfigurationRequest & WithLogType(const LogType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String