AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LustreLogCreateConfiguration.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
38 {
39 public:
40 AWS_FSX_API LustreLogCreateConfiguration() = default;
44
45
47
55 inline LustreAccessAuditLogLevel GetLevel() const { return m_level; }
56 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
57 inline void SetLevel(LustreAccessAuditLogLevel value) { m_levelHasBeenSet = true; m_level = value; }
60
62
78 inline const Aws::String& GetDestination() const { return m_destination; }
79 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
80 template<typename DestinationT = Aws::String>
81 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
82 template<typename DestinationT = Aws::String>
83 LustreLogCreateConfiguration& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
85 private:
86
88 bool m_levelHasBeenSet = false;
89
90 Aws::String m_destination;
91 bool m_destinationHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace FSx
96} // namespace Aws
AWS_FSX_API LustreLogCreateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API LustreLogCreateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LustreLogCreateConfiguration & WithLevel(LustreAccessAuditLogLevel value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API LustreLogCreateConfiguration()=default
LustreLogCreateConfiguration & WithDestination(DestinationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue