AWS SDK for C++  1.9.160
AWS SDK for C++
Alarms.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTSiteWise
22 {
23 namespace Model
24 {
25 
38  {
39  public:
40  Alarms();
44 
45 
52  inline const Aws::String& GetAlarmRoleArn() const{ return m_alarmRoleArn; }
53 
60  inline bool AlarmRoleArnHasBeenSet() const { return m_alarmRoleArnHasBeenSet; }
61 
68  inline void SetAlarmRoleArn(const Aws::String& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = value; }
69 
76  inline void SetAlarmRoleArn(Aws::String&& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = std::move(value); }
77 
84  inline void SetAlarmRoleArn(const char* value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn.assign(value); }
85 
92  inline Alarms& WithAlarmRoleArn(const Aws::String& value) { SetAlarmRoleArn(value); return *this;}
93 
100  inline Alarms& WithAlarmRoleArn(Aws::String&& value) { SetAlarmRoleArn(std::move(value)); return *this;}
101 
108  inline Alarms& WithAlarmRoleArn(const char* value) { SetAlarmRoleArn(value); return *this;}
109 
110 
119  inline const Aws::String& GetNotificationLambdaArn() const{ return m_notificationLambdaArn; }
120 
129  inline bool NotificationLambdaArnHasBeenSet() const { return m_notificationLambdaArnHasBeenSet; }
130 
139  inline void SetNotificationLambdaArn(const Aws::String& value) { m_notificationLambdaArnHasBeenSet = true; m_notificationLambdaArn = value; }
140 
149  inline void SetNotificationLambdaArn(Aws::String&& value) { m_notificationLambdaArnHasBeenSet = true; m_notificationLambdaArn = std::move(value); }
150 
159  inline void SetNotificationLambdaArn(const char* value) { m_notificationLambdaArnHasBeenSet = true; m_notificationLambdaArn.assign(value); }
160 
169  inline Alarms& WithNotificationLambdaArn(const Aws::String& value) { SetNotificationLambdaArn(value); return *this;}
170 
179  inline Alarms& WithNotificationLambdaArn(Aws::String&& value) { SetNotificationLambdaArn(std::move(value)); return *this;}
180 
189  inline Alarms& WithNotificationLambdaArn(const char* value) { SetNotificationLambdaArn(value); return *this;}
190 
191  private:
192 
193  Aws::String m_alarmRoleArn;
194  bool m_alarmRoleArnHasBeenSet;
195 
196  Aws::String m_notificationLambdaArn;
197  bool m_notificationLambdaArnHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace IoTSiteWise
202 } // namespace Aws
Aws::IoTSiteWise::Model::Alarms::Alarms
Alarms(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::Alarms
Definition: Alarms.h:38
Aws::IoTSiteWise::Model::Alarms::SetAlarmRoleArn
void SetAlarmRoleArn(const Aws::String &value)
Definition: Alarms.h:68
Aws::IoTSiteWise::Model::Alarms::GetAlarmRoleArn
const Aws::String & GetAlarmRoleArn() const
Definition: Alarms.h:52
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::Alarms::GetNotificationLambdaArn
const Aws::String & GetNotificationLambdaArn() const
Definition: Alarms.h:119
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::Alarms::WithAlarmRoleArn
Alarms & WithAlarmRoleArn(Aws::String &&value)
Definition: Alarms.h:100
Aws::IoTSiteWise::Model::Alarms::SetNotificationLambdaArn
void SetNotificationLambdaArn(Aws::String &&value)
Definition: Alarms.h:149
Aws::IoTSiteWise::Model::Alarms::SetAlarmRoleArn
void SetAlarmRoleArn(Aws::String &&value)
Definition: Alarms.h:76
Aws::IoTSiteWise::Model::Alarms::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::Alarms::WithNotificationLambdaArn
Alarms & WithNotificationLambdaArn(const Aws::String &value)
Definition: Alarms.h:169
Aws::IoTSiteWise::Model::Alarms::WithAlarmRoleArn
Alarms & WithAlarmRoleArn(const Aws::String &value)
Definition: Alarms.h:92
Aws::IoTSiteWise::Model::Alarms::Alarms
Alarms()
Aws::IoTSiteWise::Model::Alarms::AlarmRoleArnHasBeenSet
bool AlarmRoleArnHasBeenSet() const
Definition: Alarms.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::Alarms::SetAlarmRoleArn
void SetAlarmRoleArn(const char *value)
Definition: Alarms.h:84
Aws::IoTSiteWise::Model::Alarms::SetNotificationLambdaArn
void SetNotificationLambdaArn(const char *value)
Definition: Alarms.h:159
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::Alarms::WithAlarmRoleArn
Alarms & WithAlarmRoleArn(const char *value)
Definition: Alarms.h:108
Aws::IoTSiteWise::Model::Alarms::NotificationLambdaArnHasBeenSet
bool NotificationLambdaArnHasBeenSet() const
Definition: Alarms.h:129
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::Alarms::operator=
Alarms & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::Alarms::SetNotificationLambdaArn
void SetNotificationLambdaArn(const Aws::String &value)
Definition: Alarms.h:139
Aws::IoTSiteWise::Model::Alarms::WithNotificationLambdaArn
Alarms & WithNotificationLambdaArn(const char *value)
Definition: Alarms.h:189
Aws::IoTSiteWise::Model::Alarms::WithNotificationLambdaArn
Alarms & WithNotificationLambdaArn(Aws::String &&value)
Definition: Alarms.h:179