AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
SystemEventMetadata.h
1
6#pragma once
7#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
8#include <aws/resiliencehubv2/model/SystemCreatedMetadata.h>
9#include <aws/resiliencehubv2/model/SystemDeletedMetadata.h>
10#include <aws/resiliencehubv2/model/SystemPolicyAssociatedMetadata.h>
11#include <aws/resiliencehubv2/model/SystemPolicyDisassociatedMetadata.h>
12#include <aws/resiliencehubv2/model/SystemServiceAssociatedMetadata.h>
13#include <aws/resiliencehubv2/model/SystemServiceDisassociatedMetadata.h>
14#include <aws/resiliencehubv2/model/SystemUserJourneyCreatedMetadata.h>
15#include <aws/resiliencehubv2/model/SystemUserJourneyDeletedMetadata.h>
16#include <aws/resiliencehubv2/model/SystemUserJourneyUpdatedMetadata.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace resiliencehubv2 {
28namespace Model {
29
37 public:
38 AWS_RESILIENCEHUBV2_API SystemEventMetadata() = default;
39 AWS_RESILIENCEHUBV2_API SystemEventMetadata(Aws::Utils::Json::JsonView jsonValue);
40 AWS_RESILIENCEHUBV2_API SystemEventMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const SystemCreatedMetadata& GetSystemCreated() const { return m_systemCreated; }
48 inline bool SystemCreatedHasBeenSet() const { return m_systemCreatedHasBeenSet; }
49 template <typename SystemCreatedT = SystemCreatedMetadata>
50 void SetSystemCreated(SystemCreatedT&& value) {
51 m_systemCreatedHasBeenSet = true;
52 m_systemCreated = std::forward<SystemCreatedT>(value);
53 }
54 template <typename SystemCreatedT = SystemCreatedMetadata>
55 SystemEventMetadata& WithSystemCreated(SystemCreatedT&& value) {
56 SetSystemCreated(std::forward<SystemCreatedT>(value));
57 return *this;
58 }
60
62
65 inline const SystemDeletedMetadata& GetSystemDeleted() const { return m_systemDeleted; }
66 inline bool SystemDeletedHasBeenSet() const { return m_systemDeletedHasBeenSet; }
67 template <typename SystemDeletedT = SystemDeletedMetadata>
68 void SetSystemDeleted(SystemDeletedT&& value) {
69 m_systemDeletedHasBeenSet = true;
70 m_systemDeleted = std::forward<SystemDeletedT>(value);
71 }
72 template <typename SystemDeletedT = SystemDeletedMetadata>
73 SystemEventMetadata& WithSystemDeleted(SystemDeletedT&& value) {
74 SetSystemDeleted(std::forward<SystemDeletedT>(value));
75 return *this;
76 }
78
80
83 inline const SystemUserJourneyCreatedMetadata& GetSystemUserJourneyCreated() const { return m_systemUserJourneyCreated; }
84 inline bool SystemUserJourneyCreatedHasBeenSet() const { return m_systemUserJourneyCreatedHasBeenSet; }
85 template <typename SystemUserJourneyCreatedT = SystemUserJourneyCreatedMetadata>
86 void SetSystemUserJourneyCreated(SystemUserJourneyCreatedT&& value) {
87 m_systemUserJourneyCreatedHasBeenSet = true;
88 m_systemUserJourneyCreated = std::forward<SystemUserJourneyCreatedT>(value);
89 }
90 template <typename SystemUserJourneyCreatedT = SystemUserJourneyCreatedMetadata>
91 SystemEventMetadata& WithSystemUserJourneyCreated(SystemUserJourneyCreatedT&& value) {
92 SetSystemUserJourneyCreated(std::forward<SystemUserJourneyCreatedT>(value));
93 return *this;
94 }
96
98
101 inline const SystemUserJourneyUpdatedMetadata& GetSystemUserJourneyUpdated() const { return m_systemUserJourneyUpdated; }
102 inline bool SystemUserJourneyUpdatedHasBeenSet() const { return m_systemUserJourneyUpdatedHasBeenSet; }
103 template <typename SystemUserJourneyUpdatedT = SystemUserJourneyUpdatedMetadata>
104 void SetSystemUserJourneyUpdated(SystemUserJourneyUpdatedT&& value) {
105 m_systemUserJourneyUpdatedHasBeenSet = true;
106 m_systemUserJourneyUpdated = std::forward<SystemUserJourneyUpdatedT>(value);
107 }
108 template <typename SystemUserJourneyUpdatedT = SystemUserJourneyUpdatedMetadata>
109 SystemEventMetadata& WithSystemUserJourneyUpdated(SystemUserJourneyUpdatedT&& value) {
110 SetSystemUserJourneyUpdated(std::forward<SystemUserJourneyUpdatedT>(value));
111 return *this;
112 }
114
116
119 inline const SystemUserJourneyDeletedMetadata& GetSystemUserJourneyDeleted() const { return m_systemUserJourneyDeleted; }
120 inline bool SystemUserJourneyDeletedHasBeenSet() const { return m_systemUserJourneyDeletedHasBeenSet; }
121 template <typename SystemUserJourneyDeletedT = SystemUserJourneyDeletedMetadata>
122 void SetSystemUserJourneyDeleted(SystemUserJourneyDeletedT&& value) {
123 m_systemUserJourneyDeletedHasBeenSet = true;
124 m_systemUserJourneyDeleted = std::forward<SystemUserJourneyDeletedT>(value);
125 }
126 template <typename SystemUserJourneyDeletedT = SystemUserJourneyDeletedMetadata>
127 SystemEventMetadata& WithSystemUserJourneyDeleted(SystemUserJourneyDeletedT&& value) {
128 SetSystemUserJourneyDeleted(std::forward<SystemUserJourneyDeletedT>(value));
129 return *this;
130 }
132
134
137 inline const SystemServiceAssociatedMetadata& GetSystemServiceAssociated() const { return m_systemServiceAssociated; }
138 inline bool SystemServiceAssociatedHasBeenSet() const { return m_systemServiceAssociatedHasBeenSet; }
139 template <typename SystemServiceAssociatedT = SystemServiceAssociatedMetadata>
140 void SetSystemServiceAssociated(SystemServiceAssociatedT&& value) {
141 m_systemServiceAssociatedHasBeenSet = true;
142 m_systemServiceAssociated = std::forward<SystemServiceAssociatedT>(value);
143 }
144 template <typename SystemServiceAssociatedT = SystemServiceAssociatedMetadata>
145 SystemEventMetadata& WithSystemServiceAssociated(SystemServiceAssociatedT&& value) {
146 SetSystemServiceAssociated(std::forward<SystemServiceAssociatedT>(value));
147 return *this;
148 }
150
152
155 inline const SystemServiceDisassociatedMetadata& GetSystemServiceDisassociated() const { return m_systemServiceDisassociated; }
156 inline bool SystemServiceDisassociatedHasBeenSet() const { return m_systemServiceDisassociatedHasBeenSet; }
157 template <typename SystemServiceDisassociatedT = SystemServiceDisassociatedMetadata>
158 void SetSystemServiceDisassociated(SystemServiceDisassociatedT&& value) {
159 m_systemServiceDisassociatedHasBeenSet = true;
160 m_systemServiceDisassociated = std::forward<SystemServiceDisassociatedT>(value);
161 }
162 template <typename SystemServiceDisassociatedT = SystemServiceDisassociatedMetadata>
163 SystemEventMetadata& WithSystemServiceDisassociated(SystemServiceDisassociatedT&& value) {
164 SetSystemServiceDisassociated(std::forward<SystemServiceDisassociatedT>(value));
165 return *this;
166 }
168
170
173 inline const SystemPolicyAssociatedMetadata& GetSystemPolicyAssociated() const { return m_systemPolicyAssociated; }
174 inline bool SystemPolicyAssociatedHasBeenSet() const { return m_systemPolicyAssociatedHasBeenSet; }
175 template <typename SystemPolicyAssociatedT = SystemPolicyAssociatedMetadata>
176 void SetSystemPolicyAssociated(SystemPolicyAssociatedT&& value) {
177 m_systemPolicyAssociatedHasBeenSet = true;
178 m_systemPolicyAssociated = std::forward<SystemPolicyAssociatedT>(value);
179 }
180 template <typename SystemPolicyAssociatedT = SystemPolicyAssociatedMetadata>
181 SystemEventMetadata& WithSystemPolicyAssociated(SystemPolicyAssociatedT&& value) {
182 SetSystemPolicyAssociated(std::forward<SystemPolicyAssociatedT>(value));
183 return *this;
184 }
186
188
191 inline const SystemPolicyDisassociatedMetadata& GetSystemPolicyDisassociated() const { return m_systemPolicyDisassociated; }
192 inline bool SystemPolicyDisassociatedHasBeenSet() const { return m_systemPolicyDisassociatedHasBeenSet; }
193 template <typename SystemPolicyDisassociatedT = SystemPolicyDisassociatedMetadata>
194 void SetSystemPolicyDisassociated(SystemPolicyDisassociatedT&& value) {
195 m_systemPolicyDisassociatedHasBeenSet = true;
196 m_systemPolicyDisassociated = std::forward<SystemPolicyDisassociatedT>(value);
197 }
198 template <typename SystemPolicyDisassociatedT = SystemPolicyDisassociatedMetadata>
199 SystemEventMetadata& WithSystemPolicyDisassociated(SystemPolicyDisassociatedT&& value) {
200 SetSystemPolicyDisassociated(std::forward<SystemPolicyDisassociatedT>(value));
201 return *this;
202 }
204 private:
205 SystemCreatedMetadata m_systemCreated;
206
207 SystemDeletedMetadata m_systemDeleted;
208
209 SystemUserJourneyCreatedMetadata m_systemUserJourneyCreated;
210
211 SystemUserJourneyUpdatedMetadata m_systemUserJourneyUpdated;
212
213 SystemUserJourneyDeletedMetadata m_systemUserJourneyDeleted;
214
215 SystemServiceAssociatedMetadata m_systemServiceAssociated;
216
217 SystemServiceDisassociatedMetadata m_systemServiceDisassociated;
218
219 SystemPolicyAssociatedMetadata m_systemPolicyAssociated;
220
221 SystemPolicyDisassociatedMetadata m_systemPolicyDisassociated;
222 bool m_systemCreatedHasBeenSet = false;
223 bool m_systemDeletedHasBeenSet = false;
224 bool m_systemUserJourneyCreatedHasBeenSet = false;
225 bool m_systemUserJourneyUpdatedHasBeenSet = false;
226 bool m_systemUserJourneyDeletedHasBeenSet = false;
227 bool m_systemServiceAssociatedHasBeenSet = false;
228 bool m_systemServiceDisassociatedHasBeenSet = false;
229 bool m_systemPolicyAssociatedHasBeenSet = false;
230 bool m_systemPolicyDisassociatedHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace resiliencehubv2
235} // namespace Aws
const SystemPolicyAssociatedMetadata & GetSystemPolicyAssociated() const
SystemEventMetadata & WithSystemDeleted(SystemDeletedT &&value)
const SystemUserJourneyDeletedMetadata & GetSystemUserJourneyDeleted() const
void SetSystemServiceDisassociated(SystemServiceDisassociatedT &&value)
SystemEventMetadata & WithSystemUserJourneyUpdated(SystemUserJourneyUpdatedT &&value)
SystemEventMetadata & WithSystemPolicyDisassociated(SystemPolicyDisassociatedT &&value)
SystemEventMetadata & WithSystemUserJourneyCreated(SystemUserJourneyCreatedT &&value)
const SystemUserJourneyCreatedMetadata & GetSystemUserJourneyCreated() const
const SystemDeletedMetadata & GetSystemDeleted() const
AWS_RESILIENCEHUBV2_API SystemEventMetadata()=default
SystemEventMetadata & WithSystemServiceDisassociated(SystemServiceDisassociatedT &&value)
SystemEventMetadata & WithSystemPolicyAssociated(SystemPolicyAssociatedT &&value)
const SystemServiceDisassociatedMetadata & GetSystemServiceDisassociated() const
AWS_RESILIENCEHUBV2_API SystemEventMetadata(Aws::Utils::Json::JsonView jsonValue)
const SystemPolicyDisassociatedMetadata & GetSystemPolicyDisassociated() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const SystemCreatedMetadata & GetSystemCreated() const
SystemEventMetadata & WithSystemUserJourneyDeleted(SystemUserJourneyDeletedT &&value)
void SetSystemUserJourneyUpdated(SystemUserJourneyUpdatedT &&value)
SystemEventMetadata & WithSystemServiceAssociated(SystemServiceAssociatedT &&value)
void SetSystemPolicyAssociated(SystemPolicyAssociatedT &&value)
void SetSystemServiceAssociated(SystemServiceAssociatedT &&value)
AWS_RESILIENCEHUBV2_API SystemEventMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const SystemServiceAssociatedMetadata & GetSystemServiceAssociated() const
void SetSystemPolicyDisassociated(SystemPolicyDisassociatedT &&value)
SystemEventMetadata & WithSystemCreated(SystemCreatedT &&value)
const SystemUserJourneyUpdatedMetadata & GetSystemUserJourneyUpdated() const
void SetSystemUserJourneyCreated(SystemUserJourneyCreatedT &&value)
void SetSystemUserJourneyDeleted(SystemUserJourneyDeletedT &&value)
Aws::Utils::Json::JsonValue JsonValue