AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
53 inline const LustreAccessAuditLogLevel& GetLevel() const{ return m_level; }
54 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
55 inline void SetLevel(const LustreAccessAuditLogLevel& value) { m_levelHasBeenSet = true; m_level = value; }
56 inline void SetLevel(LustreAccessAuditLogLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
57 inline LustreLogConfiguration& WithLevel(const LustreAccessAuditLogLevel& value) { SetLevel(value); return *this;}
58 inline LustreLogConfiguration& WithLevel(LustreAccessAuditLogLevel&& value) { SetLevel(std::move(value)); return *this;}
60
62
68 inline const Aws::String& GetDestination() const{ return m_destination; }
69 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
70 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
71 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
72 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
73 inline LustreLogConfiguration& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
74 inline LustreLogConfiguration& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
75 inline LustreLogConfiguration& WithDestination(const char* value) { SetDestination(value); return *this;}
77 private:
78
80 bool m_levelHasBeenSet = false;
81
82 Aws::String m_destination;
83 bool m_destinationHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace FSx
88} // namespace Aws
LustreLogConfiguration & WithDestination(Aws::String &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
LustreLogConfiguration & WithDestination(const char *value)
void SetLevel(LustreAccessAuditLogLevel &&value)
AWS_FSX_API LustreLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
LustreLogConfiguration & WithLevel(LustreAccessAuditLogLevel &&value)
void SetLevel(const LustreAccessAuditLogLevel &value)
AWS_FSX_API LustreLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestination(const Aws::String &value)
const LustreAccessAuditLogLevel & GetLevel() const
LustreLogConfiguration & WithLevel(const LustreAccessAuditLogLevel &value)
LustreLogConfiguration & WithDestination(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue