AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataCollectionOptions.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace odb
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_ODB_API DataCollectionOptions() = default;
37
38
40
43 inline bool GetIsDiagnosticsEventsEnabled() const { return m_isDiagnosticsEventsEnabled; }
44 inline bool IsDiagnosticsEventsEnabledHasBeenSet() const { return m_isDiagnosticsEventsEnabledHasBeenSet; }
45 inline void SetIsDiagnosticsEventsEnabled(bool value) { m_isDiagnosticsEventsEnabledHasBeenSet = true; m_isDiagnosticsEventsEnabled = value; }
48
50
53 inline bool GetIsHealthMonitoringEnabled() const { return m_isHealthMonitoringEnabled; }
54 inline bool IsHealthMonitoringEnabledHasBeenSet() const { return m_isHealthMonitoringEnabledHasBeenSet; }
55 inline void SetIsHealthMonitoringEnabled(bool value) { m_isHealthMonitoringEnabledHasBeenSet = true; m_isHealthMonitoringEnabled = value; }
58
60
63 inline bool GetIsIncidentLogsEnabled() const { return m_isIncidentLogsEnabled; }
64 inline bool IsIncidentLogsEnabledHasBeenSet() const { return m_isIncidentLogsEnabledHasBeenSet; }
65 inline void SetIsIncidentLogsEnabled(bool value) { m_isIncidentLogsEnabledHasBeenSet = true; m_isIncidentLogsEnabled = value; }
68 private:
69
70 bool m_isDiagnosticsEventsEnabled{false};
71 bool m_isDiagnosticsEventsEnabledHasBeenSet = false;
72
73 bool m_isHealthMonitoringEnabled{false};
74 bool m_isHealthMonitoringEnabledHasBeenSet = false;
75
76 bool m_isIncidentLogsEnabled{false};
77 bool m_isIncidentLogsEnabledHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace odb
82} // namespace Aws
DataCollectionOptions & WithIsIncidentLogsEnabled(bool value)
AWS_ODB_API DataCollectionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DataCollectionOptions & WithIsDiagnosticsEventsEnabled(bool value)
AWS_ODB_API DataCollectionOptions(Aws::Utils::Json::JsonView jsonValue)
DataCollectionOptions & WithIsHealthMonitoringEnabled(bool value)
AWS_ODB_API DataCollectionOptions()=default
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue