AWS SDK for C++

AWS SDK for C++ Version 1.11.678

Loading...
Searching...
No Matches
InsightsConfiguration.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace XRay {
17namespace Model {
18
26 public:
27 AWS_XRAY_API InsightsConfiguration() = default;
31
33
37 inline bool GetInsightsEnabled() const { return m_insightsEnabled; }
38 inline bool InsightsEnabledHasBeenSet() const { return m_insightsEnabledHasBeenSet; }
39 inline void SetInsightsEnabled(bool value) {
40 m_insightsEnabledHasBeenSet = true;
41 m_insightsEnabled = value;
42 }
44 SetInsightsEnabled(value);
45 return *this;
46 }
48
50
55 inline bool GetNotificationsEnabled() const { return m_notificationsEnabled; }
56 inline bool NotificationsEnabledHasBeenSet() const { return m_notificationsEnabledHasBeenSet; }
57 inline void SetNotificationsEnabled(bool value) {
58 m_notificationsEnabledHasBeenSet = true;
59 m_notificationsEnabled = value;
60 }
63 return *this;
64 }
66 private:
67 bool m_insightsEnabled{false};
68 bool m_insightsEnabledHasBeenSet = false;
69
70 bool m_notificationsEnabled{false};
71 bool m_notificationsEnabledHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace XRay
76} // namespace Aws
AWS_XRAY_API InsightsConfiguration(Aws::Utils::Json::JsonView jsonValue)
InsightsConfiguration & WithInsightsEnabled(bool value)
AWS_XRAY_API InsightsConfiguration()=default
InsightsConfiguration & WithNotificationsEnabled(bool value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API InsightsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue