AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
44
45
47
55 inline const LustreAccessAuditLogLevel& GetLevel() const{ return m_level; }
56 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
57 inline void SetLevel(const LustreAccessAuditLogLevel& value) { m_levelHasBeenSet = true; m_level = value; }
58 inline void SetLevel(LustreAccessAuditLogLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
59 inline LustreLogCreateConfiguration& WithLevel(const LustreAccessAuditLogLevel& value) { SetLevel(value); return *this;}
60 inline LustreLogCreateConfiguration& WithLevel(LustreAccessAuditLogLevel&& value) { SetLevel(std::move(value)); return *this;}
62
64
80 inline const Aws::String& GetDestination() const{ return m_destination; }
81 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
82 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
83 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
84 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
85 inline LustreLogCreateConfiguration& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
86 inline LustreLogCreateConfiguration& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
87 inline LustreLogCreateConfiguration& WithDestination(const char* value) { SetDestination(value); return *this;}
89 private:
90
92 bool m_levelHasBeenSet = false;
93
94 Aws::String m_destination;
95 bool m_destinationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace FSx
100} // namespace Aws
LustreLogCreateConfiguration & WithLevel(const LustreAccessAuditLogLevel &value)
AWS_FSX_API LustreLogCreateConfiguration(Aws::Utils::Json::JsonView jsonValue)
LustreLogCreateConfiguration & WithDestination(const char *value)
void SetLevel(LustreAccessAuditLogLevel &&value)
AWS_FSX_API LustreLogCreateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LustreLogCreateConfiguration & WithDestination(const Aws::String &value)
const LustreAccessAuditLogLevel & GetLevel() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLevel(const LustreAccessAuditLogLevel &value)
LustreLogCreateConfiguration & WithDestination(Aws::String &&value)
LustreLogCreateConfiguration & WithLevel(LustreAccessAuditLogLevel &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue