AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LustreLogConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/LustreAccessAuditLogLevel.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
35 {
36 public:
37 AWS_FSX_API LustreLogConfiguration() = default;
41
42
44
53 inline LustreAccessAuditLogLevel GetLevel() const { return m_level; }
54 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
55 inline void SetLevel(LustreAccessAuditLogLevel value) { m_levelHasBeenSet = true; m_level = value; }
58
60
66 inline const Aws::String& GetDestination() const { return m_destination; }
67 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
68 template<typename DestinationT = Aws::String>
69 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
70 template<typename DestinationT = Aws::String>
71 LustreLogConfiguration& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
73 private:
74
76 bool m_levelHasBeenSet = false;
77
78 Aws::String m_destination;
79 bool m_destinationHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace FSx
84} // namespace Aws
void SetLevel(LustreAccessAuditLogLevel value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
LustreLogConfiguration & WithLevel(LustreAccessAuditLogLevel value)
LustreAccessAuditLogLevel GetLevel() const
AWS_FSX_API LustreLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API LustreLogConfiguration()=default
AWS_FSX_API LustreLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LustreLogConfiguration & WithDestination(DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue