AWS SDK for C++  1.9.110
AWS SDK for C++
Monitor.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 AppConfig
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetAlarmArn() const{ return m_alarmArn; }
45 
49  inline bool AlarmArnHasBeenSet() const { return m_alarmArnHasBeenSet; }
50 
54  inline void SetAlarmArn(const Aws::String& value) { m_alarmArnHasBeenSet = true; m_alarmArn = value; }
55 
59  inline void SetAlarmArn(Aws::String&& value) { m_alarmArnHasBeenSet = true; m_alarmArn = std::move(value); }
60 
64  inline void SetAlarmArn(const char* value) { m_alarmArnHasBeenSet = true; m_alarmArn.assign(value); }
65 
69  inline Monitor& WithAlarmArn(const Aws::String& value) { SetAlarmArn(value); return *this;}
70 
74  inline Monitor& WithAlarmArn(Aws::String&& value) { SetAlarmArn(std::move(value)); return *this;}
75 
79  inline Monitor& WithAlarmArn(const char* value) { SetAlarmArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetAlarmRoleArn() const{ return m_alarmRoleArn; }
86 
90  inline bool AlarmRoleArnHasBeenSet() const { return m_alarmRoleArnHasBeenSet; }
91 
95  inline void SetAlarmRoleArn(const Aws::String& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = value; }
96 
100  inline void SetAlarmRoleArn(Aws::String&& value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn = std::move(value); }
101 
105  inline void SetAlarmRoleArn(const char* value) { m_alarmRoleArnHasBeenSet = true; m_alarmRoleArn.assign(value); }
106 
110  inline Monitor& WithAlarmRoleArn(const Aws::String& value) { SetAlarmRoleArn(value); return *this;}
111 
115  inline Monitor& WithAlarmRoleArn(Aws::String&& value) { SetAlarmRoleArn(std::move(value)); return *this;}
116 
120  inline Monitor& WithAlarmRoleArn(const char* value) { SetAlarmRoleArn(value); return *this;}
121 
122  private:
123 
124  Aws::String m_alarmArn;
125  bool m_alarmArnHasBeenSet;
126 
127  Aws::String m_alarmRoleArn;
128  bool m_alarmRoleArnHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace AppConfig
133 } // namespace Aws
Aws::AppConfig::Model::Monitor::AlarmArnHasBeenSet
bool AlarmArnHasBeenSet() const
Definition: Monitor.h:49
Aws::AppConfig::Model::Monitor::WithAlarmRoleArn
Monitor & WithAlarmRoleArn(const char *value)
Definition: Monitor.h:120
Aws::AppConfig::Model::Monitor::Monitor
Monitor()
Aws::AppConfig::Model::Monitor::GetAlarmRoleArn
const Aws::String & GetAlarmRoleArn() const
Definition: Monitor.h:85
Aws::AppConfig::Model::Monitor::SetAlarmArn
void SetAlarmArn(const Aws::String &value)
Definition: Monitor.h:54
Aws::AppConfig::Model::Monitor::WithAlarmRoleArn
Monitor & WithAlarmRoleArn(const Aws::String &value)
Definition: Monitor.h:110
Aws::AppConfig::Model::Monitor::SetAlarmArn
void SetAlarmArn(const char *value)
Definition: Monitor.h:64
Aws::AppConfig::Model::Monitor::SetAlarmRoleArn
void SetAlarmRoleArn(const char *value)
Definition: Monitor.h:105
AppConfig_EXPORTS.h
Aws::AppConfig::Model::Monitor::SetAlarmArn
void SetAlarmArn(Aws::String &&value)
Definition: Monitor.h:59
Aws::AppConfig::Model::Monitor::SetAlarmRoleArn
void SetAlarmRoleArn(const Aws::String &value)
Definition: Monitor.h:95
Aws::AppConfig::Model::Monitor::WithAlarmArn
Monitor & WithAlarmArn(const char *value)
Definition: Monitor.h:79
Aws::AppConfig::Model::Monitor::operator=
Monitor & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::Monitor::WithAlarmArn
Monitor & WithAlarmArn(Aws::String &&value)
Definition: Monitor.h:74
Aws::AppConfig::Model::Monitor::AlarmRoleArnHasBeenSet
bool AlarmRoleArnHasBeenSet() const
Definition: Monitor.h:90
Aws::AppConfig::Model::Monitor::GetAlarmArn
const Aws::String & GetAlarmArn() const
Definition: Monitor.h:44
Aws::AppConfig::Model::Monitor::WithAlarmArn
Monitor & WithAlarmArn(const Aws::String &value)
Definition: Monitor.h:69
Aws::AppConfig::Model::Monitor::Monitor
Monitor(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::Monitor::WithAlarmRoleArn
Monitor & WithAlarmRoleArn(Aws::String &&value)
Definition: Monitor.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppConfig::Model::Monitor::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::Monitor
Definition: Monitor.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::Monitor::SetAlarmRoleArn
void SetAlarmRoleArn(Aws::String &&value)
Definition: Monitor.h:100