AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
WindowsAuditLogCreateConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fsx/FSx_EXPORTS.h>
9#include <aws/fsx/model/WindowsAccessAuditLogLevel.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace FSx {
21namespace Model {
22
30 public:
31 AWS_FSX_API WindowsAuditLogCreateConfiguration() = default;
35
37
47 inline WindowsAccessAuditLogLevel GetFileAccessAuditLogLevel() const { return m_fileAccessAuditLogLevel; }
48 inline bool FileAccessAuditLogLevelHasBeenSet() const { return m_fileAccessAuditLogLevelHasBeenSet; }
50 m_fileAccessAuditLogLevelHasBeenSet = true;
51 m_fileAccessAuditLogLevel = value;
52 }
55 return *this;
56 }
58
60
69 inline WindowsAccessAuditLogLevel GetFileShareAccessAuditLogLevel() const { return m_fileShareAccessAuditLogLevel; }
70 inline bool FileShareAccessAuditLogLevelHasBeenSet() const { return m_fileShareAccessAuditLogLevelHasBeenSet; }
72 m_fileShareAccessAuditLogLevelHasBeenSet = true;
73 m_fileShareAccessAuditLogLevel = value;
74 }
77 return *this;
78 }
80
82
103 inline const Aws::String& GetAuditLogDestination() const { return m_auditLogDestination; }
104 inline bool AuditLogDestinationHasBeenSet() const { return m_auditLogDestinationHasBeenSet; }
105 template <typename AuditLogDestinationT = Aws::String>
106 void SetAuditLogDestination(AuditLogDestinationT&& value) {
107 m_auditLogDestinationHasBeenSet = true;
108 m_auditLogDestination = std::forward<AuditLogDestinationT>(value);
109 }
110 template <typename AuditLogDestinationT = Aws::String>
112 SetAuditLogDestination(std::forward<AuditLogDestinationT>(value));
113 return *this;
114 }
116 private:
118
120
121 Aws::String m_auditLogDestination;
122 bool m_fileAccessAuditLogLevelHasBeenSet = false;
123 bool m_fileShareAccessAuditLogLevelHasBeenSet = false;
124 bool m_auditLogDestinationHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace FSx
129} // namespace Aws
WindowsAuditLogCreateConfiguration & WithFileAccessAuditLogLevel(WindowsAccessAuditLogLevel value)
AWS_FSX_API WindowsAuditLogCreateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WindowsAuditLogCreateConfiguration & WithAuditLogDestination(AuditLogDestinationT &&value)
AWS_FSX_API WindowsAuditLogCreateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
WindowsAuditLogCreateConfiguration & WithFileShareAccessAuditLogLevel(WindowsAccessAuditLogLevel value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue