AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Alarm.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_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 ApplicationAutoScaling
22{
23namespace Model
24{
25
32 class Alarm
33 {
34 public:
35 AWS_APPLICATIONAUTOSCALING_API Alarm();
36 AWS_APPLICATIONAUTOSCALING_API Alarm(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONAUTOSCALING_API Alarm& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAlarmName() const{ return m_alarmName; }
46 inline bool AlarmNameHasBeenSet() const { return m_alarmNameHasBeenSet; }
47 inline void SetAlarmName(const Aws::String& value) { m_alarmNameHasBeenSet = true; m_alarmName = value; }
48 inline void SetAlarmName(Aws::String&& value) { m_alarmNameHasBeenSet = true; m_alarmName = std::move(value); }
49 inline void SetAlarmName(const char* value) { m_alarmNameHasBeenSet = true; m_alarmName.assign(value); }
50 inline Alarm& WithAlarmName(const Aws::String& value) { SetAlarmName(value); return *this;}
51 inline Alarm& WithAlarmName(Aws::String&& value) { SetAlarmName(std::move(value)); return *this;}
52 inline Alarm& WithAlarmName(const char* value) { SetAlarmName(value); return *this;}
54
56
59 inline const Aws::String& GetAlarmARN() const{ return m_alarmARN; }
60 inline bool AlarmARNHasBeenSet() const { return m_alarmARNHasBeenSet; }
61 inline void SetAlarmARN(const Aws::String& value) { m_alarmARNHasBeenSet = true; m_alarmARN = value; }
62 inline void SetAlarmARN(Aws::String&& value) { m_alarmARNHasBeenSet = true; m_alarmARN = std::move(value); }
63 inline void SetAlarmARN(const char* value) { m_alarmARNHasBeenSet = true; m_alarmARN.assign(value); }
64 inline Alarm& WithAlarmARN(const Aws::String& value) { SetAlarmARN(value); return *this;}
65 inline Alarm& WithAlarmARN(Aws::String&& value) { SetAlarmARN(std::move(value)); return *this;}
66 inline Alarm& WithAlarmARN(const char* value) { SetAlarmARN(value); return *this;}
68 private:
69
70 Aws::String m_alarmName;
71 bool m_alarmNameHasBeenSet = false;
72
73 Aws::String m_alarmARN;
74 bool m_alarmARNHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ApplicationAutoScaling
79} // namespace Aws
Alarm & WithAlarmARN(const char *value)
Definition Alarm.h:66
void SetAlarmName(const Aws::String &value)
Definition Alarm.h:47
Alarm & WithAlarmName(const char *value)
Definition Alarm.h:52
Alarm & WithAlarmARN(Aws::String &&value)
Definition Alarm.h:65
void SetAlarmARN(const char *value)
Definition Alarm.h:63
void SetAlarmName(Aws::String &&value)
Definition Alarm.h:48
const Aws::String & GetAlarmName() const
Definition Alarm.h:45
AWS_APPLICATIONAUTOSCALING_API Alarm & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API Alarm(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API Alarm()
Alarm & WithAlarmARN(const Aws::String &value)
Definition Alarm.h:64
const Aws::String & GetAlarmARN() const
Definition Alarm.h:59
void SetAlarmARN(const Aws::String &value)
Definition Alarm.h:61
void SetAlarmName(const char *value)
Definition Alarm.h:49
void SetAlarmARN(Aws::String &&value)
Definition Alarm.h:62
Alarm & WithAlarmName(Aws::String &&value)
Definition Alarm.h:51
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
Alarm & WithAlarmName(const Aws::String &value)
Definition Alarm.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue