AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Alarms.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTSiteWise
22{
23namespace Model
24{
25
37 class Alarms
38 {
39 public:
40 AWS_IOTSITEWISE_API Alarms();
41 AWS_IOTSITEWISE_API Alarms(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTSITEWISE_API Alarms& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetAlarmRoleArn() const{ return m_alarmRoleArn; }
54 inline bool AlarmRoleArnHasBeenSet() const { return m_alarmRoleArnHasBeenSet; }
55 inline void SetAlarmRoleArn(const Aws::String& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = value; }
56 inline void SetAlarmRoleArn(Aws::String&& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = std::move(value); }
57 inline void SetAlarmRoleArn(const char* value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn.assign(value); }
58 inline Alarms& WithAlarmRoleArn(const Aws::String& value) { SetAlarmRoleArn(value); return *this;}
59 inline Alarms& WithAlarmRoleArn(Aws::String&& value) { SetAlarmRoleArn(std::move(value)); return *this;}
60 inline Alarms& WithAlarmRoleArn(const char* value) { SetAlarmRoleArn(value); return *this;}
62
64
72 inline const Aws::String& GetNotificationLambdaArn() const{ return m_notificationLambdaArn; }
73 inline bool NotificationLambdaArnHasBeenSet() const { return m_notificationLambdaArnHasBeenSet; }
74 inline void SetNotificationLambdaArn(const Aws::String& value) { m_notificationLambdaArnHasBeenSet = true; m_notificationLambdaArn = value; }
75 inline void SetNotificationLambdaArn(Aws::String&& value) { m_notificationLambdaArnHasBeenSet = true; m_notificationLambdaArn = std::move(value); }
76 inline void SetNotificationLambdaArn(const char* value) { m_notificationLambdaArnHasBeenSet = true; m_notificationLambdaArn.assign(value); }
77 inline Alarms& WithNotificationLambdaArn(const Aws::String& value) { SetNotificationLambdaArn(value); return *this;}
78 inline Alarms& WithNotificationLambdaArn(Aws::String&& value) { SetNotificationLambdaArn(std::move(value)); return *this;}
79 inline Alarms& WithNotificationLambdaArn(const char* value) { SetNotificationLambdaArn(value); return *this;}
81 private:
82
83 Aws::String m_alarmRoleArn;
84 bool m_alarmRoleArnHasBeenSet = false;
85
86 Aws::String m_notificationLambdaArn;
87 bool m_notificationLambdaArnHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTSiteWise
92} // namespace Aws
AWS_IOTSITEWISE_API Alarms(Aws::Utils::Json::JsonView jsonValue)
bool AlarmRoleArnHasBeenSet() const
Definition Alarms.h:54
void SetNotificationLambdaArn(const char *value)
Definition Alarms.h:76
Alarms & WithAlarmRoleArn(const Aws::String &value)
Definition Alarms.h:58
Alarms & WithAlarmRoleArn(const char *value)
Definition Alarms.h:60
void SetNotificationLambdaArn(Aws::String &&value)
Definition Alarms.h:75
Alarms & WithNotificationLambdaArn(const char *value)
Definition Alarms.h:79
Alarms & WithAlarmRoleArn(Aws::String &&value)
Definition Alarms.h:59
const Aws::String & GetNotificationLambdaArn() const
Definition Alarms.h:72
void SetAlarmRoleArn(const char *value)
Definition Alarms.h:57
bool NotificationLambdaArnHasBeenSet() const
Definition Alarms.h:73
void SetAlarmRoleArn(Aws::String &&value)
Definition Alarms.h:56
void SetAlarmRoleArn(const Aws::String &value)
Definition Alarms.h:55
Alarms & WithNotificationLambdaArn(const Aws::String &value)
Definition Alarms.h:77
AWS_IOTSITEWISE_API Alarms()
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAlarmRoleArn() const
Definition Alarms.h:53
Alarms & WithNotificationLambdaArn(Aws::String &&value)
Definition Alarms.h:78
AWS_IOTSITEWISE_API Alarms & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNotificationLambdaArn(const Aws::String &value)
Definition Alarms.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue