AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
LustreLogConfiguration.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/LustreAccessAuditLogLevel.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
31 public:
32 AWS_FSX_API LustreLogConfiguration() = default;
36
38
47 inline LustreAccessAuditLogLevel GetLevel() const { return m_level; }
48 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
50 m_levelHasBeenSet = true;
51 m_level = value;
52 }
54 SetLevel(value);
55 return *this;
56 }
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) {
70 m_destinationHasBeenSet = true;
71 m_destination = std::forward<DestinationT>(value);
72 }
73 template <typename DestinationT = Aws::String>
74 LustreLogConfiguration& WithDestination(DestinationT&& value) {
75 SetDestination(std::forward<DestinationT>(value));
76 return *this;
77 }
79 private:
81
82 Aws::String m_destination;
83 bool m_levelHasBeenSet = false;
84 bool m_destinationHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace FSx
89} // 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