AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataCollectionOptions.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace odb {
17namespace Model {
18
26 public:
27 AWS_ODB_API DataCollectionOptions() = default;
31
33
36 inline bool GetIsDiagnosticsEventsEnabled() const { return m_isDiagnosticsEventsEnabled; }
37 inline bool IsDiagnosticsEventsEnabledHasBeenSet() const { return m_isDiagnosticsEventsEnabledHasBeenSet; }
38 inline void SetIsDiagnosticsEventsEnabled(bool value) {
39 m_isDiagnosticsEventsEnabledHasBeenSet = true;
40 m_isDiagnosticsEventsEnabled = value;
41 }
44 return *this;
45 }
47
49
52 inline bool GetIsHealthMonitoringEnabled() const { return m_isHealthMonitoringEnabled; }
53 inline bool IsHealthMonitoringEnabledHasBeenSet() const { return m_isHealthMonitoringEnabledHasBeenSet; }
54 inline void SetIsHealthMonitoringEnabled(bool value) {
55 m_isHealthMonitoringEnabledHasBeenSet = true;
56 m_isHealthMonitoringEnabled = value;
57 }
60 return *this;
61 }
63
65
68 inline bool GetIsIncidentLogsEnabled() const { return m_isIncidentLogsEnabled; }
69 inline bool IsIncidentLogsEnabledHasBeenSet() const { return m_isIncidentLogsEnabledHasBeenSet; }
70 inline void SetIsIncidentLogsEnabled(bool value) {
71 m_isIncidentLogsEnabledHasBeenSet = true;
72 m_isIncidentLogsEnabled = value;
73 }
76 return *this;
77 }
79 private:
80 bool m_isDiagnosticsEventsEnabled{false};
81
82 bool m_isHealthMonitoringEnabled{false};
83
84 bool m_isIncidentLogsEnabled{false};
85 bool m_isDiagnosticsEventsEnabledHasBeenSet = false;
86 bool m_isHealthMonitoringEnabledHasBeenSet = false;
87 bool m_isIncidentLogsEnabledHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace odb
92} // 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