AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
TestRunObservabilityAlarmSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace resiliencehubv2 {
20namespace Model {
21
29 public:
30 AWS_RESILIENCEHUBV2_API TestRunObservabilityAlarmSummary() = default;
33 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAlarmArn() const { return m_alarmArn; }
40 inline bool AlarmArnHasBeenSet() const { return m_alarmArnHasBeenSet; }
41 template <typename AlarmArnT = Aws::String>
42 void SetAlarmArn(AlarmArnT&& value) {
43 m_alarmArnHasBeenSet = true;
44 m_alarmArn = std::forward<AlarmArnT>(value);
45 }
46 template <typename AlarmArnT = Aws::String>
48 SetAlarmArn(std::forward<AlarmArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAlarmName() const { return m_alarmName; }
58 inline bool AlarmNameHasBeenSet() const { return m_alarmNameHasBeenSet; }
59 template <typename AlarmNameT = Aws::String>
60 void SetAlarmName(AlarmNameT&& value) {
61 m_alarmNameHasBeenSet = true;
62 m_alarmName = std::forward<AlarmNameT>(value);
63 }
64 template <typename AlarmNameT = Aws::String>
66 SetAlarmName(std::forward<AlarmNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRegion() const { return m_region; }
76 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
77 template <typename RegionT = Aws::String>
78 void SetRegion(RegionT&& value) {
79 m_regionHasBeenSet = true;
80 m_region = std::forward<RegionT>(value);
81 }
82 template <typename RegionT = Aws::String>
84 SetRegion(std::forward<RegionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetAccountId() const { return m_accountId; }
94 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
95 template <typename AccountIdT = Aws::String>
96 void SetAccountId(AccountIdT&& value) {
97 m_accountIdHasBeenSet = true;
98 m_accountId = std::forward<AccountIdT>(value);
99 }
100 template <typename AccountIdT = Aws::String>
102 SetAccountId(std::forward<AccountIdT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_alarmArn;
108
109 Aws::String m_alarmName;
110
111 Aws::String m_region;
112
113 Aws::String m_accountId;
114 bool m_alarmArnHasBeenSet = false;
115 bool m_alarmNameHasBeenSet = false;
116 bool m_regionHasBeenSet = false;
117 bool m_accountIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace resiliencehubv2
122} // namespace Aws
AWS_RESILIENCEHUBV2_API TestRunObservabilityAlarmSummary()=default
AWS_RESILIENCEHUBV2_API TestRunObservabilityAlarmSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
TestRunObservabilityAlarmSummary & WithAccountId(AccountIdT &&value)
TestRunObservabilityAlarmSummary & WithAlarmArn(AlarmArnT &&value)
AWS_RESILIENCEHUBV2_API TestRunObservabilityAlarmSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TestRunObservabilityAlarmSummary & WithAlarmName(AlarmNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue