AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Monitor.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_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 AppConfig
22{
23namespace Model
24{
25
32 class Monitor
33 {
34 public:
35 AWS_APPCONFIG_API Monitor();
36 AWS_APPCONFIG_API Monitor(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPCONFIG_API Monitor& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAlarmArn() const{ return m_alarmArn; }
46 inline bool AlarmArnHasBeenSet() const { return m_alarmArnHasBeenSet; }
47 inline void SetAlarmArn(const Aws::String& value) { m_alarmArnHasBeenSet = true; m_alarmArn = value; }
48 inline void SetAlarmArn(Aws::String&& value) { m_alarmArnHasBeenSet = true; m_alarmArn = std::move(value); }
49 inline void SetAlarmArn(const char* value) { m_alarmArnHasBeenSet = true; m_alarmArn.assign(value); }
50 inline Monitor& WithAlarmArn(const Aws::String& value) { SetAlarmArn(value); return *this;}
51 inline Monitor& WithAlarmArn(Aws::String&& value) { SetAlarmArn(std::move(value)); return *this;}
52 inline Monitor& WithAlarmArn(const char* value) { SetAlarmArn(value); return *this;}
54
56
60 inline const Aws::String& GetAlarmRoleArn() const{ return m_alarmRoleArn; }
61 inline bool AlarmRoleArnHasBeenSet() const { return m_alarmRoleArnHasBeenSet; }
62 inline void SetAlarmRoleArn(const Aws::String& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = value; }
63 inline void SetAlarmRoleArn(Aws::String&& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = std::move(value); }
64 inline void SetAlarmRoleArn(const char* value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn.assign(value); }
65 inline Monitor& WithAlarmRoleArn(const Aws::String& value) { SetAlarmRoleArn(value); return *this;}
66 inline Monitor& WithAlarmRoleArn(Aws::String&& value) { SetAlarmRoleArn(std::move(value)); return *this;}
67 inline Monitor& WithAlarmRoleArn(const char* value) { SetAlarmRoleArn(value); return *this;}
69 private:
70
71 Aws::String m_alarmArn;
72 bool m_alarmArnHasBeenSet = false;
73
74 Aws::String m_alarmRoleArn;
75 bool m_alarmRoleArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AppConfig
80} // namespace Aws
const Aws::String & GetAlarmArn() const
Definition Monitor.h:45
void SetAlarmRoleArn(const Aws::String &value)
Definition Monitor.h:62
Monitor & WithAlarmRoleArn(const Aws::String &value)
Definition Monitor.h:65
bool AlarmArnHasBeenSet() const
Definition Monitor.h:46
void SetAlarmRoleArn(Aws::String &&value)
Definition Monitor.h:63
void SetAlarmArn(const char *value)
Definition Monitor.h:49
AWS_APPCONFIG_API Monitor(Aws::Utils::Json::JsonView jsonValue)
Monitor & WithAlarmArn(const Aws::String &value)
Definition Monitor.h:50
bool AlarmRoleArnHasBeenSet() const
Definition Monitor.h:61
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
Monitor & WithAlarmArn(Aws::String &&value)
Definition Monitor.h:51
void SetAlarmArn(const Aws::String &value)
Definition Monitor.h:47
AWS_APPCONFIG_API Monitor()
AWS_APPCONFIG_API Monitor & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAlarmRoleArn() const
Definition Monitor.h:60
void SetAlarmRoleArn(const char *value)
Definition Monitor.h:64
Monitor & WithAlarmRoleArn(Aws::String &&value)
Definition Monitor.h:66
Monitor & WithAlarmArn(const char *value)
Definition Monitor.h:52
Monitor & WithAlarmRoleArn(const char *value)
Definition Monitor.h:67
void SetAlarmArn(Aws::String &&value)
Definition Monitor.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue