AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
LustreLogCreateConfiguration.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
34 public:
35 AWS_FSX_API LustreLogCreateConfiguration() = default;
39
41
49 inline LustreAccessAuditLogLevel GetLevel() const { return m_level; }
50 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
52 m_levelHasBeenSet = true;
53 m_level = value;
54 }
56 SetLevel(value);
57 return *this;
58 }
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) {
82 m_destinationHasBeenSet = true;
83 m_destination = std::forward<DestinationT>(value);
84 }
85 template <typename DestinationT = Aws::String>
87 SetDestination(std::forward<DestinationT>(value));
88 return *this;
89 }
91 private:
93
94 Aws::String m_destination;
95 bool m_levelHasBeenSet = false;
96 bool m_destinationHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace FSx
101} // 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