AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InsightsConfiguration.h
1
6#pragma once
7#include <aws/xray/XRay_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 XRay
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_XRAY_API InsightsConfiguration();
37
38
40
44 inline bool GetInsightsEnabled() const{ return m_insightsEnabled; }
45 inline bool InsightsEnabledHasBeenSet() const { return m_insightsEnabledHasBeenSet; }
46 inline void SetInsightsEnabled(bool value) { m_insightsEnabledHasBeenSet = true; m_insightsEnabled = value; }
47 inline InsightsConfiguration& WithInsightsEnabled(bool value) { SetInsightsEnabled(value); return *this;}
49
51
56 inline bool GetNotificationsEnabled() const{ return m_notificationsEnabled; }
57 inline bool NotificationsEnabledHasBeenSet() const { return m_notificationsEnabledHasBeenSet; }
58 inline void SetNotificationsEnabled(bool value) { m_notificationsEnabledHasBeenSet = true; m_notificationsEnabled = value; }
59 inline InsightsConfiguration& WithNotificationsEnabled(bool value) { SetNotificationsEnabled(value); return *this;}
61 private:
62
63 bool m_insightsEnabled;
64 bool m_insightsEnabledHasBeenSet = false;
65
66 bool m_notificationsEnabled;
67 bool m_notificationsEnabledHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace XRay
72} // namespace Aws
AWS_XRAY_API InsightsConfiguration(Aws::Utils::Json::JsonView jsonValue)
InsightsConfiguration & WithInsightsEnabled(bool value)
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