AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
WindowsFsrmConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fsx/FSx_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FSx {
20namespace Model {
21
31 public:
32 AWS_FSX_API WindowsFsrmConfiguration() = default;
36
38
44 inline bool GetFsrmServiceEnabled() const { return m_fsrmServiceEnabled; }
45 inline bool FsrmServiceEnabledHasBeenSet() const { return m_fsrmServiceEnabledHasBeenSet; }
46 inline void SetFsrmServiceEnabled(bool value) {
47 m_fsrmServiceEnabledHasBeenSet = true;
48 m_fsrmServiceEnabled = value;
49 }
52 return *this;
53 }
55
57
68 inline const Aws::String& GetEventLogDestination() const { return m_eventLogDestination; }
69 inline bool EventLogDestinationHasBeenSet() const { return m_eventLogDestinationHasBeenSet; }
70 template <typename EventLogDestinationT = Aws::String>
71 void SetEventLogDestination(EventLogDestinationT&& value) {
72 m_eventLogDestinationHasBeenSet = true;
73 m_eventLogDestination = std::forward<EventLogDestinationT>(value);
74 }
75 template <typename EventLogDestinationT = Aws::String>
76 WindowsFsrmConfiguration& WithEventLogDestination(EventLogDestinationT&& value) {
77 SetEventLogDestination(std::forward<EventLogDestinationT>(value));
78 return *this;
79 }
81 private:
82 bool m_fsrmServiceEnabled{false};
83
84 Aws::String m_eventLogDestination;
85 bool m_fsrmServiceEnabledHasBeenSet = false;
86 bool m_eventLogDestinationHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace FSx
91} // namespace Aws
AWS_FSX_API WindowsFsrmConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventLogDestination(EventLogDestinationT &&value)
AWS_FSX_API WindowsFsrmConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
WindowsFsrmConfiguration & WithEventLogDestination(EventLogDestinationT &&value)
WindowsFsrmConfiguration & WithFsrmServiceEnabled(bool value)
AWS_FSX_API WindowsFsrmConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue