AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
StartDeleteMonitorDeploymentResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/medialive/model/SuccessfulMonitorDeployment.h>
13#include <aws/medialive/model/MonitorDeployment.h>
14#include <aws/medialive/model/SignalMapStatus.h>
15#include <aws/medialive/model/MediaResource.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace MediaLive
31{
32namespace Model
33{
41 {
42 public:
43 AWS_MEDIALIVE_API StartDeleteMonitorDeploymentResult() = default;
46
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template<typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
55 template<typename ArnT = Aws::String>
56 StartDeleteMonitorDeploymentResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
58
60
61 inline const Aws::Vector<Aws::String>& GetCloudWatchAlarmTemplateGroupIds() const { return m_cloudWatchAlarmTemplateGroupIds; }
62 template<typename CloudWatchAlarmTemplateGroupIdsT = Aws::Vector<Aws::String>>
63 void SetCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) { m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIds = std::forward<CloudWatchAlarmTemplateGroupIdsT>(value); }
64 template<typename CloudWatchAlarmTemplateGroupIdsT = Aws::Vector<Aws::String>>
65 StartDeleteMonitorDeploymentResult& WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) { SetCloudWatchAlarmTemplateGroupIds(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value)); return *this;}
66 template<typename CloudWatchAlarmTemplateGroupIdsT = Aws::String>
67 StartDeleteMonitorDeploymentResult& AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT&& value) { m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIds.emplace_back(std::forward<CloudWatchAlarmTemplateGroupIdsT>(value)); return *this; }
69
71
72 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 StartDeleteMonitorDeploymentResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 StartDeleteMonitorDeploymentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDiscoveryEntryPointArn() const { return m_discoveryEntryPointArn; }
95 template<typename DiscoveryEntryPointArnT = Aws::String>
96 void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) { m_discoveryEntryPointArnHasBeenSet = true; m_discoveryEntryPointArn = std::forward<DiscoveryEntryPointArnT>(value); }
97 template<typename DiscoveryEntryPointArnT = Aws::String>
98 StartDeleteMonitorDeploymentResult& WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) { SetDiscoveryEntryPointArn(std::forward<DiscoveryEntryPointArnT>(value)); return *this;}
100
102
106 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
107 template<typename ErrorMessageT = Aws::String>
108 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
109 template<typename ErrorMessageT = Aws::String>
110 StartDeleteMonitorDeploymentResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
112
114
115 inline const Aws::Vector<Aws::String>& GetEventBridgeRuleTemplateGroupIds() const { return m_eventBridgeRuleTemplateGroupIds; }
116 template<typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
117 void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) { m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true; m_eventBridgeRuleTemplateGroupIds = std::forward<EventBridgeRuleTemplateGroupIdsT>(value); }
118 template<typename EventBridgeRuleTemplateGroupIdsT = Aws::Vector<Aws::String>>
119 StartDeleteMonitorDeploymentResult& WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) { SetEventBridgeRuleTemplateGroupIds(std::forward<EventBridgeRuleTemplateGroupIdsT>(value)); return *this;}
120 template<typename EventBridgeRuleTemplateGroupIdsT = Aws::String>
121 StartDeleteMonitorDeploymentResult& AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT&& value) { m_eventBridgeRuleTemplateGroupIdsHasBeenSet = true; m_eventBridgeRuleTemplateGroupIds.emplace_back(std::forward<EventBridgeRuleTemplateGroupIdsT>(value)); return *this; }
123
125
126 inline const Aws::Map<Aws::String, MediaResource>& GetFailedMediaResourceMap() const { return m_failedMediaResourceMap; }
127 template<typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
128 void SetFailedMediaResourceMap(FailedMediaResourceMapT&& value) { m_failedMediaResourceMapHasBeenSet = true; m_failedMediaResourceMap = std::forward<FailedMediaResourceMapT>(value); }
129 template<typename FailedMediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
130 StartDeleteMonitorDeploymentResult& WithFailedMediaResourceMap(FailedMediaResourceMapT&& value) { SetFailedMediaResourceMap(std::forward<FailedMediaResourceMapT>(value)); return *this;}
131 template<typename FailedMediaResourceMapKeyT = Aws::String, typename FailedMediaResourceMapValueT = MediaResource>
132 StartDeleteMonitorDeploymentResult& AddFailedMediaResourceMap(FailedMediaResourceMapKeyT&& key, FailedMediaResourceMapValueT&& value) {
133 m_failedMediaResourceMapHasBeenSet = true; m_failedMediaResourceMap.emplace(std::forward<FailedMediaResourceMapKeyT>(key), std::forward<FailedMediaResourceMapValueT>(value)); return *this;
134 }
136
138
141 inline const Aws::String& GetId() const { return m_id; }
142 template<typename IdT = Aws::String>
143 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
144 template<typename IdT = Aws::String>
145 StartDeleteMonitorDeploymentResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
147
149
150 inline const Aws::Utils::DateTime& GetLastDiscoveredAt() const { return m_lastDiscoveredAt; }
151 template<typename LastDiscoveredAtT = Aws::Utils::DateTime>
152 void SetLastDiscoveredAt(LastDiscoveredAtT&& value) { m_lastDiscoveredAtHasBeenSet = true; m_lastDiscoveredAt = std::forward<LastDiscoveredAtT>(value); }
153 template<typename LastDiscoveredAtT = Aws::Utils::DateTime>
154 StartDeleteMonitorDeploymentResult& WithLastDiscoveredAt(LastDiscoveredAtT&& value) { SetLastDiscoveredAt(std::forward<LastDiscoveredAtT>(value)); return *this;}
156
158
159 inline const SuccessfulMonitorDeployment& GetLastSuccessfulMonitorDeployment() const { return m_lastSuccessfulMonitorDeployment; }
160 template<typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
161 void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) { m_lastSuccessfulMonitorDeploymentHasBeenSet = true; m_lastSuccessfulMonitorDeployment = std::forward<LastSuccessfulMonitorDeploymentT>(value); }
162 template<typename LastSuccessfulMonitorDeploymentT = SuccessfulMonitorDeployment>
163 StartDeleteMonitorDeploymentResult& WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT&& value) { SetLastSuccessfulMonitorDeployment(std::forward<LastSuccessfulMonitorDeploymentT>(value)); return *this;}
165
167
168 inline const Aws::Map<Aws::String, MediaResource>& GetMediaResourceMap() const { return m_mediaResourceMap; }
169 template<typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
170 void SetMediaResourceMap(MediaResourceMapT&& value) { m_mediaResourceMapHasBeenSet = true; m_mediaResourceMap = std::forward<MediaResourceMapT>(value); }
171 template<typename MediaResourceMapT = Aws::Map<Aws::String, MediaResource>>
172 StartDeleteMonitorDeploymentResult& WithMediaResourceMap(MediaResourceMapT&& value) { SetMediaResourceMap(std::forward<MediaResourceMapT>(value)); return *this;}
173 template<typename MediaResourceMapKeyT = Aws::String, typename MediaResourceMapValueT = MediaResource>
174 StartDeleteMonitorDeploymentResult& AddMediaResourceMap(MediaResourceMapKeyT&& key, MediaResourceMapValueT&& value) {
175 m_mediaResourceMapHasBeenSet = true; m_mediaResourceMap.emplace(std::forward<MediaResourceMapKeyT>(key), std::forward<MediaResourceMapValueT>(value)); return *this;
176 }
178
180
181 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
182 template<typename ModifiedAtT = Aws::Utils::DateTime>
183 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
184 template<typename ModifiedAtT = Aws::Utils::DateTime>
185 StartDeleteMonitorDeploymentResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
187
189
193 inline bool GetMonitorChangesPendingDeployment() const { return m_monitorChangesPendingDeployment; }
194 inline void SetMonitorChangesPendingDeployment(bool value) { m_monitorChangesPendingDeploymentHasBeenSet = true; m_monitorChangesPendingDeployment = value; }
197
199
200 inline const MonitorDeployment& GetMonitorDeployment() const { return m_monitorDeployment; }
201 template<typename MonitorDeploymentT = MonitorDeployment>
202 void SetMonitorDeployment(MonitorDeploymentT&& value) { m_monitorDeploymentHasBeenSet = true; m_monitorDeployment = std::forward<MonitorDeploymentT>(value); }
203 template<typename MonitorDeploymentT = MonitorDeployment>
204 StartDeleteMonitorDeploymentResult& WithMonitorDeployment(MonitorDeploymentT&& value) { SetMonitorDeployment(std::forward<MonitorDeploymentT>(value)); return *this;}
206
208
212 inline const Aws::String& GetName() const { return m_name; }
213 template<typename NameT = Aws::String>
214 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
215 template<typename NameT = Aws::String>
216 StartDeleteMonitorDeploymentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
218
220
221 inline SignalMapStatus GetStatus() const { return m_status; }
222 inline void SetStatus(SignalMapStatus value) { m_statusHasBeenSet = true; m_status = value; }
225
227
228 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
229 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
230 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
231 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
232 StartDeleteMonitorDeploymentResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
233 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
234 StartDeleteMonitorDeploymentResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
235 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
236 }
238
240
241 inline const Aws::String& GetRequestId() const { return m_requestId; }
242 template<typename RequestIdT = Aws::String>
243 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
244 template<typename RequestIdT = Aws::String>
245 StartDeleteMonitorDeploymentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
247 private:
248
249 Aws::String m_arn;
250 bool m_arnHasBeenSet = false;
251
252 Aws::Vector<Aws::String> m_cloudWatchAlarmTemplateGroupIds;
253 bool m_cloudWatchAlarmTemplateGroupIdsHasBeenSet = false;
254
255 Aws::Utils::DateTime m_createdAt{};
256 bool m_createdAtHasBeenSet = false;
257
258 Aws::String m_description;
259 bool m_descriptionHasBeenSet = false;
260
261 Aws::String m_discoveryEntryPointArn;
262 bool m_discoveryEntryPointArnHasBeenSet = false;
263
264 Aws::String m_errorMessage;
265 bool m_errorMessageHasBeenSet = false;
266
267 Aws::Vector<Aws::String> m_eventBridgeRuleTemplateGroupIds;
268 bool m_eventBridgeRuleTemplateGroupIdsHasBeenSet = false;
269
270 Aws::Map<Aws::String, MediaResource> m_failedMediaResourceMap;
271 bool m_failedMediaResourceMapHasBeenSet = false;
272
273 Aws::String m_id;
274 bool m_idHasBeenSet = false;
275
276 Aws::Utils::DateTime m_lastDiscoveredAt{};
277 bool m_lastDiscoveredAtHasBeenSet = false;
278
279 SuccessfulMonitorDeployment m_lastSuccessfulMonitorDeployment;
280 bool m_lastSuccessfulMonitorDeploymentHasBeenSet = false;
281
282 Aws::Map<Aws::String, MediaResource> m_mediaResourceMap;
283 bool m_mediaResourceMapHasBeenSet = false;
284
285 Aws::Utils::DateTime m_modifiedAt{};
286 bool m_modifiedAtHasBeenSet = false;
287
288 bool m_monitorChangesPendingDeployment{false};
289 bool m_monitorChangesPendingDeploymentHasBeenSet = false;
290
291 MonitorDeployment m_monitorDeployment;
292 bool m_monitorDeploymentHasBeenSet = false;
293
294 Aws::String m_name;
295 bool m_nameHasBeenSet = false;
296
298 bool m_statusHasBeenSet = false;
299
301 bool m_tagsHasBeenSet = false;
302
303 Aws::String m_requestId;
304 bool m_requestIdHasBeenSet = false;
305 };
306
307} // namespace Model
308} // namespace MediaLive
309} // namespace Aws
const Aws::Map< Aws::String, MediaResource > & GetFailedMediaResourceMap() const
const Aws::Vector< Aws::String > & GetCloudWatchAlarmTemplateGroupIds() const
StartDeleteMonitorDeploymentResult & WithStatus(SignalMapStatus value)
StartDeleteMonitorDeploymentResult & WithRequestId(RequestIdT &&value)
StartDeleteMonitorDeploymentResult & WithModifiedAt(ModifiedAtT &&value)
StartDeleteMonitorDeploymentResult & AddCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
StartDeleteMonitorDeploymentResult & AddFailedMediaResourceMap(FailedMediaResourceMapKeyT &&key, FailedMediaResourceMapValueT &&value)
StartDeleteMonitorDeploymentResult & WithMediaResourceMap(MediaResourceMapT &&value)
StartDeleteMonitorDeploymentResult & WithDescription(DescriptionT &&value)
StartDeleteMonitorDeploymentResult & WithLastDiscoveredAt(LastDiscoveredAtT &&value)
const SuccessfulMonitorDeployment & GetLastSuccessfulMonitorDeployment() const
StartDeleteMonitorDeploymentResult & AddEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
StartDeleteMonitorDeploymentResult & WithFailedMediaResourceMap(FailedMediaResourceMapT &&value)
StartDeleteMonitorDeploymentResult & WithMonitorChangesPendingDeployment(bool value)
StartDeleteMonitorDeploymentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartDeleteMonitorDeploymentResult & WithCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
AWS_MEDIALIVE_API StartDeleteMonitorDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&value)
StartDeleteMonitorDeploymentResult & WithErrorMessage(ErrorMessageT &&value)
StartDeleteMonitorDeploymentResult & WithEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
void SetCloudWatchAlarmTemplateGroupIds(CloudWatchAlarmTemplateGroupIdsT &&value)
StartDeleteMonitorDeploymentResult & AddMediaResourceMap(MediaResourceMapKeyT &&key, MediaResourceMapValueT &&value)
StartDeleteMonitorDeploymentResult & WithLastSuccessfulMonitorDeployment(LastSuccessfulMonitorDeploymentT &&value)
StartDeleteMonitorDeploymentResult & WithMonitorDeployment(MonitorDeploymentT &&value)
const Aws::Map< Aws::String, MediaResource > & GetMediaResourceMap() const
void SetEventBridgeRuleTemplateGroupIds(EventBridgeRuleTemplateGroupIdsT &&value)
AWS_MEDIALIVE_API StartDeleteMonitorDeploymentResult()=default
StartDeleteMonitorDeploymentResult & WithCreatedAt(CreatedAtT &&value)
StartDeleteMonitorDeploymentResult & WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MEDIALIVE_API StartDeleteMonitorDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue