AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WindowsAuditLogConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/WindowsAccessAuditLogLevel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx
23{
24namespace Model
25{
26
37 {
38 public:
43
44
46
56 inline const WindowsAccessAuditLogLevel& GetFileAccessAuditLogLevel() const{ return m_fileAccessAuditLogLevel; }
57 inline bool FileAccessAuditLogLevelHasBeenSet() const { return m_fileAccessAuditLogLevelHasBeenSet; }
58 inline void SetFileAccessAuditLogLevel(const WindowsAccessAuditLogLevel& value) { m_fileAccessAuditLogLevelHasBeenSet = true; m_fileAccessAuditLogLevel = value; }
59 inline void SetFileAccessAuditLogLevel(WindowsAccessAuditLogLevel&& value) { m_fileAccessAuditLogLevelHasBeenSet = true; m_fileAccessAuditLogLevel = std::move(value); }
63
65
74 inline const WindowsAccessAuditLogLevel& GetFileShareAccessAuditLogLevel() const{ return m_fileShareAccessAuditLogLevel; }
75 inline bool FileShareAccessAuditLogLevelHasBeenSet() const { return m_fileShareAccessAuditLogLevelHasBeenSet; }
76 inline void SetFileShareAccessAuditLogLevel(const WindowsAccessAuditLogLevel& value) { m_fileShareAccessAuditLogLevelHasBeenSet = true; m_fileShareAccessAuditLogLevel = value; }
77 inline void SetFileShareAccessAuditLogLevel(WindowsAccessAuditLogLevel&& value) { m_fileShareAccessAuditLogLevelHasBeenSet = true; m_fileShareAccessAuditLogLevel = std::move(value); }
81
83
94 inline const Aws::String& GetAuditLogDestination() const{ return m_auditLogDestination; }
95 inline bool AuditLogDestinationHasBeenSet() const { return m_auditLogDestinationHasBeenSet; }
96 inline void SetAuditLogDestination(const Aws::String& value) { m_auditLogDestinationHasBeenSet = true; m_auditLogDestination = value; }
97 inline void SetAuditLogDestination(Aws::String&& value) { m_auditLogDestinationHasBeenSet = true; m_auditLogDestination = std::move(value); }
98 inline void SetAuditLogDestination(const char* value) { m_auditLogDestinationHasBeenSet = true; m_auditLogDestination.assign(value); }
101 inline WindowsAuditLogConfiguration& WithAuditLogDestination(const char* value) { SetAuditLogDestination(value); return *this;}
103 private:
104
105 WindowsAccessAuditLogLevel m_fileAccessAuditLogLevel;
106 bool m_fileAccessAuditLogLevelHasBeenSet = false;
107
108 WindowsAccessAuditLogLevel m_fileShareAccessAuditLogLevel;
109 bool m_fileShareAccessAuditLogLevelHasBeenSet = false;
110
111 Aws::String m_auditLogDestination;
112 bool m_auditLogDestinationHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace FSx
117} // namespace Aws
void SetFileAccessAuditLogLevel(const WindowsAccessAuditLogLevel &value)
WindowsAuditLogConfiguration & WithFileShareAccessAuditLogLevel(const WindowsAccessAuditLogLevel &value)
WindowsAuditLogConfiguration & WithFileAccessAuditLogLevel(const WindowsAccessAuditLogLevel &value)
AWS_FSX_API WindowsAuditLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
const WindowsAccessAuditLogLevel & GetFileShareAccessAuditLogLevel() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API WindowsAuditLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileShareAccessAuditLogLevel(const WindowsAccessAuditLogLevel &value)
void SetFileShareAccessAuditLogLevel(WindowsAccessAuditLogLevel &&value)
WindowsAuditLogConfiguration & WithFileAccessAuditLogLevel(WindowsAccessAuditLogLevel &&value)
WindowsAuditLogConfiguration & WithAuditLogDestination(const Aws::String &value)
WindowsAuditLogConfiguration & WithFileShareAccessAuditLogLevel(WindowsAccessAuditLogLevel &&value)
WindowsAuditLogConfiguration & WithAuditLogDestination(Aws::String &&value)
void SetFileAccessAuditLogLevel(WindowsAccessAuditLogLevel &&value)
const WindowsAccessAuditLogLevel & GetFileAccessAuditLogLevel() const
WindowsAuditLogConfiguration & WithAuditLogDestination(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue