AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Observation.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/application-insights/model/LogFilter.h>
11#include <aws/application-insights/model/CloudWatchEventSource.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ApplicationInsights
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPLICATIONINSIGHTS_API Observation() = default;
39 AWS_APPLICATIONINSIGHTS_API Observation(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONINSIGHTS_API Observation& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 Observation& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
61 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
62 template<typename StartTimeT = Aws::Utils::DateTime>
63 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
64 template<typename StartTimeT = Aws::Utils::DateTime>
65 Observation& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
73 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
74 template<typename EndTimeT = Aws::Utils::DateTime>
75 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
76 template<typename EndTimeT = Aws::Utils::DateTime>
77 Observation& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
79
81
84 inline const Aws::String& GetSourceType() const { return m_sourceType; }
85 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
86 template<typename SourceTypeT = Aws::String>
87 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::forward<SourceTypeT>(value); }
88 template<typename SourceTypeT = Aws::String>
89 Observation& WithSourceType(SourceTypeT&& value) { SetSourceType(std::forward<SourceTypeT>(value)); return *this;}
91
93
96 inline const Aws::String& GetSourceARN() const { return m_sourceARN; }
97 inline bool SourceARNHasBeenSet() const { return m_sourceARNHasBeenSet; }
98 template<typename SourceARNT = Aws::String>
99 void SetSourceARN(SourceARNT&& value) { m_sourceARNHasBeenSet = true; m_sourceARN = std::forward<SourceARNT>(value); }
100 template<typename SourceARNT = Aws::String>
101 Observation& WithSourceARN(SourceARNT&& value) { SetSourceARN(std::forward<SourceARNT>(value)); return *this;}
103
105
108 inline const Aws::String& GetLogGroup() const { return m_logGroup; }
109 inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; }
110 template<typename LogGroupT = Aws::String>
111 void SetLogGroup(LogGroupT&& value) { m_logGroupHasBeenSet = true; m_logGroup = std::forward<LogGroupT>(value); }
112 template<typename LogGroupT = Aws::String>
113 Observation& WithLogGroup(LogGroupT&& value) { SetLogGroup(std::forward<LogGroupT>(value)); return *this;}
115
117
121 inline const Aws::Utils::DateTime& GetLineTime() const { return m_lineTime; }
122 inline bool LineTimeHasBeenSet() const { return m_lineTimeHasBeenSet; }
123 template<typename LineTimeT = Aws::Utils::DateTime>
124 void SetLineTime(LineTimeT&& value) { m_lineTimeHasBeenSet = true; m_lineTime = std::forward<LineTimeT>(value); }
125 template<typename LineTimeT = Aws::Utils::DateTime>
126 Observation& WithLineTime(LineTimeT&& value) { SetLineTime(std::forward<LineTimeT>(value)); return *this;}
128
130
133 inline const Aws::String& GetLogText() const { return m_logText; }
134 inline bool LogTextHasBeenSet() const { return m_logTextHasBeenSet; }
135 template<typename LogTextT = Aws::String>
136 void SetLogText(LogTextT&& value) { m_logTextHasBeenSet = true; m_logText = std::forward<LogTextT>(value); }
137 template<typename LogTextT = Aws::String>
138 Observation& WithLogText(LogTextT&& value) { SetLogText(std::forward<LogTextT>(value)); return *this;}
140
142
145 inline LogFilter GetLogFilter() const { return m_logFilter; }
146 inline bool LogFilterHasBeenSet() const { return m_logFilterHasBeenSet; }
147 inline void SetLogFilter(LogFilter value) { m_logFilterHasBeenSet = true; m_logFilter = value; }
148 inline Observation& WithLogFilter(LogFilter value) { SetLogFilter(value); return *this;}
150
152
155 inline const Aws::String& GetMetricNamespace() const { return m_metricNamespace; }
156 inline bool MetricNamespaceHasBeenSet() const { return m_metricNamespaceHasBeenSet; }
157 template<typename MetricNamespaceT = Aws::String>
158 void SetMetricNamespace(MetricNamespaceT&& value) { m_metricNamespaceHasBeenSet = true; m_metricNamespace = std::forward<MetricNamespaceT>(value); }
159 template<typename MetricNamespaceT = Aws::String>
160 Observation& WithMetricNamespace(MetricNamespaceT&& value) { SetMetricNamespace(std::forward<MetricNamespaceT>(value)); return *this;}
162
164
167 inline const Aws::String& GetMetricName() const { return m_metricName; }
168 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
169 template<typename MetricNameT = Aws::String>
170 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet = true; m_metricName = std::forward<MetricNameT>(value); }
171 template<typename MetricNameT = Aws::String>
172 Observation& WithMetricName(MetricNameT&& value) { SetMetricName(std::forward<MetricNameT>(value)); return *this;}
174
176
179 inline const Aws::String& GetUnit() const { return m_unit; }
180 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
181 template<typename UnitT = Aws::String>
182 void SetUnit(UnitT&& value) { m_unitHasBeenSet = true; m_unit = std::forward<UnitT>(value); }
183 template<typename UnitT = Aws::String>
184 Observation& WithUnit(UnitT&& value) { SetUnit(std::forward<UnitT>(value)); return *this;}
186
188
191 inline double GetValue() const { return m_value; }
192 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
193 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
194 inline Observation& WithValue(double value) { SetValue(value); return *this;}
196
198
202 inline const Aws::String& GetCloudWatchEventId() const { return m_cloudWatchEventId; }
203 inline bool CloudWatchEventIdHasBeenSet() const { return m_cloudWatchEventIdHasBeenSet; }
204 template<typename CloudWatchEventIdT = Aws::String>
205 void SetCloudWatchEventId(CloudWatchEventIdT&& value) { m_cloudWatchEventIdHasBeenSet = true; m_cloudWatchEventId = std::forward<CloudWatchEventIdT>(value); }
206 template<typename CloudWatchEventIdT = Aws::String>
207 Observation& WithCloudWatchEventId(CloudWatchEventIdT&& value) { SetCloudWatchEventId(std::forward<CloudWatchEventIdT>(value)); return *this;}
209
211
214 inline CloudWatchEventSource GetCloudWatchEventSource() const { return m_cloudWatchEventSource; }
215 inline bool CloudWatchEventSourceHasBeenSet() const { return m_cloudWatchEventSourceHasBeenSet; }
216 inline void SetCloudWatchEventSource(CloudWatchEventSource value) { m_cloudWatchEventSourceHasBeenSet = true; m_cloudWatchEventSource = value; }
219
221
225 inline const Aws::String& GetCloudWatchEventDetailType() const { return m_cloudWatchEventDetailType; }
226 inline bool CloudWatchEventDetailTypeHasBeenSet() const { return m_cloudWatchEventDetailTypeHasBeenSet; }
227 template<typename CloudWatchEventDetailTypeT = Aws::String>
228 void SetCloudWatchEventDetailType(CloudWatchEventDetailTypeT&& value) { m_cloudWatchEventDetailTypeHasBeenSet = true; m_cloudWatchEventDetailType = std::forward<CloudWatchEventDetailTypeT>(value); }
229 template<typename CloudWatchEventDetailTypeT = Aws::String>
230 Observation& WithCloudWatchEventDetailType(CloudWatchEventDetailTypeT&& value) { SetCloudWatchEventDetailType(std::forward<CloudWatchEventDetailTypeT>(value)); return *this;}
232
234
237 inline const Aws::String& GetHealthEventArn() const { return m_healthEventArn; }
238 inline bool HealthEventArnHasBeenSet() const { return m_healthEventArnHasBeenSet; }
239 template<typename HealthEventArnT = Aws::String>
240 void SetHealthEventArn(HealthEventArnT&& value) { m_healthEventArnHasBeenSet = true; m_healthEventArn = std::forward<HealthEventArnT>(value); }
241 template<typename HealthEventArnT = Aws::String>
242 Observation& WithHealthEventArn(HealthEventArnT&& value) { SetHealthEventArn(std::forward<HealthEventArnT>(value)); return *this;}
244
246
249 inline const Aws::String& GetHealthService() const { return m_healthService; }
250 inline bool HealthServiceHasBeenSet() const { return m_healthServiceHasBeenSet; }
251 template<typename HealthServiceT = Aws::String>
252 void SetHealthService(HealthServiceT&& value) { m_healthServiceHasBeenSet = true; m_healthService = std::forward<HealthServiceT>(value); }
253 template<typename HealthServiceT = Aws::String>
254 Observation& WithHealthService(HealthServiceT&& value) { SetHealthService(std::forward<HealthServiceT>(value)); return *this;}
256
258
262 inline const Aws::String& GetHealthEventTypeCode() const { return m_healthEventTypeCode; }
263 inline bool HealthEventTypeCodeHasBeenSet() const { return m_healthEventTypeCodeHasBeenSet; }
264 template<typename HealthEventTypeCodeT = Aws::String>
265 void SetHealthEventTypeCode(HealthEventTypeCodeT&& value) { m_healthEventTypeCodeHasBeenSet = true; m_healthEventTypeCode = std::forward<HealthEventTypeCodeT>(value); }
266 template<typename HealthEventTypeCodeT = Aws::String>
267 Observation& WithHealthEventTypeCode(HealthEventTypeCodeT&& value) { SetHealthEventTypeCode(std::forward<HealthEventTypeCodeT>(value)); return *this;}
269
271
274 inline const Aws::String& GetHealthEventTypeCategory() const { return m_healthEventTypeCategory; }
275 inline bool HealthEventTypeCategoryHasBeenSet() const { return m_healthEventTypeCategoryHasBeenSet; }
276 template<typename HealthEventTypeCategoryT = Aws::String>
277 void SetHealthEventTypeCategory(HealthEventTypeCategoryT&& value) { m_healthEventTypeCategoryHasBeenSet = true; m_healthEventTypeCategory = std::forward<HealthEventTypeCategoryT>(value); }
278 template<typename HealthEventTypeCategoryT = Aws::String>
279 Observation& WithHealthEventTypeCategory(HealthEventTypeCategoryT&& value) { SetHealthEventTypeCategory(std::forward<HealthEventTypeCategoryT>(value)); return *this;}
281
283
287 inline const Aws::String& GetHealthEventDescription() const { return m_healthEventDescription; }
288 inline bool HealthEventDescriptionHasBeenSet() const { return m_healthEventDescriptionHasBeenSet; }
289 template<typename HealthEventDescriptionT = Aws::String>
290 void SetHealthEventDescription(HealthEventDescriptionT&& value) { m_healthEventDescriptionHasBeenSet = true; m_healthEventDescription = std::forward<HealthEventDescriptionT>(value); }
291 template<typename HealthEventDescriptionT = Aws::String>
292 Observation& WithHealthEventDescription(HealthEventDescriptionT&& value) { SetHealthEventDescription(std::forward<HealthEventDescriptionT>(value)); return *this;}
294
296
300 inline const Aws::String& GetCodeDeployDeploymentId() const { return m_codeDeployDeploymentId; }
301 inline bool CodeDeployDeploymentIdHasBeenSet() const { return m_codeDeployDeploymentIdHasBeenSet; }
302 template<typename CodeDeployDeploymentIdT = Aws::String>
303 void SetCodeDeployDeploymentId(CodeDeployDeploymentIdT&& value) { m_codeDeployDeploymentIdHasBeenSet = true; m_codeDeployDeploymentId = std::forward<CodeDeployDeploymentIdT>(value); }
304 template<typename CodeDeployDeploymentIdT = Aws::String>
305 Observation& WithCodeDeployDeploymentId(CodeDeployDeploymentIdT&& value) { SetCodeDeployDeploymentId(std::forward<CodeDeployDeploymentIdT>(value)); return *this;}
307
309
312 inline const Aws::String& GetCodeDeployDeploymentGroup() const { return m_codeDeployDeploymentGroup; }
313 inline bool CodeDeployDeploymentGroupHasBeenSet() const { return m_codeDeployDeploymentGroupHasBeenSet; }
314 template<typename CodeDeployDeploymentGroupT = Aws::String>
315 void SetCodeDeployDeploymentGroup(CodeDeployDeploymentGroupT&& value) { m_codeDeployDeploymentGroupHasBeenSet = true; m_codeDeployDeploymentGroup = std::forward<CodeDeployDeploymentGroupT>(value); }
316 template<typename CodeDeployDeploymentGroupT = Aws::String>
317 Observation& WithCodeDeployDeploymentGroup(CodeDeployDeploymentGroupT&& value) { SetCodeDeployDeploymentGroup(std::forward<CodeDeployDeploymentGroupT>(value)); return *this;}
319
321
325 inline const Aws::String& GetCodeDeployState() const { return m_codeDeployState; }
326 inline bool CodeDeployStateHasBeenSet() const { return m_codeDeployStateHasBeenSet; }
327 template<typename CodeDeployStateT = Aws::String>
328 void SetCodeDeployState(CodeDeployStateT&& value) { m_codeDeployStateHasBeenSet = true; m_codeDeployState = std::forward<CodeDeployStateT>(value); }
329 template<typename CodeDeployStateT = Aws::String>
330 Observation& WithCodeDeployState(CodeDeployStateT&& value) { SetCodeDeployState(std::forward<CodeDeployStateT>(value)); return *this;}
332
334
337 inline const Aws::String& GetCodeDeployApplication() const { return m_codeDeployApplication; }
338 inline bool CodeDeployApplicationHasBeenSet() const { return m_codeDeployApplicationHasBeenSet; }
339 template<typename CodeDeployApplicationT = Aws::String>
340 void SetCodeDeployApplication(CodeDeployApplicationT&& value) { m_codeDeployApplicationHasBeenSet = true; m_codeDeployApplication = std::forward<CodeDeployApplicationT>(value); }
341 template<typename CodeDeployApplicationT = Aws::String>
342 Observation& WithCodeDeployApplication(CodeDeployApplicationT&& value) { SetCodeDeployApplication(std::forward<CodeDeployApplicationT>(value)); return *this;}
344
346
349 inline const Aws::String& GetCodeDeployInstanceGroupId() const { return m_codeDeployInstanceGroupId; }
350 inline bool CodeDeployInstanceGroupIdHasBeenSet() const { return m_codeDeployInstanceGroupIdHasBeenSet; }
351 template<typename CodeDeployInstanceGroupIdT = Aws::String>
352 void SetCodeDeployInstanceGroupId(CodeDeployInstanceGroupIdT&& value) { m_codeDeployInstanceGroupIdHasBeenSet = true; m_codeDeployInstanceGroupId = std::forward<CodeDeployInstanceGroupIdT>(value); }
353 template<typename CodeDeployInstanceGroupIdT = Aws::String>
354 Observation& WithCodeDeployInstanceGroupId(CodeDeployInstanceGroupIdT&& value) { SetCodeDeployInstanceGroupId(std::forward<CodeDeployInstanceGroupIdT>(value)); return *this;}
356
358
362 inline const Aws::String& GetEc2State() const { return m_ec2State; }
363 inline bool Ec2StateHasBeenSet() const { return m_ec2StateHasBeenSet; }
364 template<typename Ec2StateT = Aws::String>
365 void SetEc2State(Ec2StateT&& value) { m_ec2StateHasBeenSet = true; m_ec2State = std::forward<Ec2StateT>(value); }
366 template<typename Ec2StateT = Aws::String>
367 Observation& WithEc2State(Ec2StateT&& value) { SetEc2State(std::forward<Ec2StateT>(value)); return *this;}
369
371
374 inline const Aws::String& GetRdsEventCategories() const { return m_rdsEventCategories; }
375 inline bool RdsEventCategoriesHasBeenSet() const { return m_rdsEventCategoriesHasBeenSet; }
376 template<typename RdsEventCategoriesT = Aws::String>
377 void SetRdsEventCategories(RdsEventCategoriesT&& value) { m_rdsEventCategoriesHasBeenSet = true; m_rdsEventCategories = std::forward<RdsEventCategoriesT>(value); }
378 template<typename RdsEventCategoriesT = Aws::String>
379 Observation& WithRdsEventCategories(RdsEventCategoriesT&& value) { SetRdsEventCategories(std::forward<RdsEventCategoriesT>(value)); return *this;}
381
383
386 inline const Aws::String& GetRdsEventMessage() const { return m_rdsEventMessage; }
387 inline bool RdsEventMessageHasBeenSet() const { return m_rdsEventMessageHasBeenSet; }
388 template<typename RdsEventMessageT = Aws::String>
389 void SetRdsEventMessage(RdsEventMessageT&& value) { m_rdsEventMessageHasBeenSet = true; m_rdsEventMessage = std::forward<RdsEventMessageT>(value); }
390 template<typename RdsEventMessageT = Aws::String>
391 Observation& WithRdsEventMessage(RdsEventMessageT&& value) { SetRdsEventMessage(std::forward<RdsEventMessageT>(value)); return *this;}
393
395
398 inline const Aws::String& GetS3EventName() const { return m_s3EventName; }
399 inline bool S3EventNameHasBeenSet() const { return m_s3EventNameHasBeenSet; }
400 template<typename S3EventNameT = Aws::String>
401 void SetS3EventName(S3EventNameT&& value) { m_s3EventNameHasBeenSet = true; m_s3EventName = std::forward<S3EventNameT>(value); }
402 template<typename S3EventNameT = Aws::String>
403 Observation& WithS3EventName(S3EventNameT&& value) { SetS3EventName(std::forward<S3EventNameT>(value)); return *this;}
405
407
411 inline const Aws::String& GetStatesExecutionArn() const { return m_statesExecutionArn; }
412 inline bool StatesExecutionArnHasBeenSet() const { return m_statesExecutionArnHasBeenSet; }
413 template<typename StatesExecutionArnT = Aws::String>
414 void SetStatesExecutionArn(StatesExecutionArnT&& value) { m_statesExecutionArnHasBeenSet = true; m_statesExecutionArn = std::forward<StatesExecutionArnT>(value); }
415 template<typename StatesExecutionArnT = Aws::String>
416 Observation& WithStatesExecutionArn(StatesExecutionArnT&& value) { SetStatesExecutionArn(std::forward<StatesExecutionArnT>(value)); return *this;}
418
420
423 inline const Aws::String& GetStatesArn() const { return m_statesArn; }
424 inline bool StatesArnHasBeenSet() const { return m_statesArnHasBeenSet; }
425 template<typename StatesArnT = Aws::String>
426 void SetStatesArn(StatesArnT&& value) { m_statesArnHasBeenSet = true; m_statesArn = std::forward<StatesArnT>(value); }
427 template<typename StatesArnT = Aws::String>
428 Observation& WithStatesArn(StatesArnT&& value) { SetStatesArn(std::forward<StatesArnT>(value)); return *this;}
430
432
435 inline const Aws::String& GetStatesStatus() const { return m_statesStatus; }
436 inline bool StatesStatusHasBeenSet() const { return m_statesStatusHasBeenSet; }
437 template<typename StatesStatusT = Aws::String>
438 void SetStatesStatus(StatesStatusT&& value) { m_statesStatusHasBeenSet = true; m_statesStatus = std::forward<StatesStatusT>(value); }
439 template<typename StatesStatusT = Aws::String>
440 Observation& WithStatesStatus(StatesStatusT&& value) { SetStatesStatus(std::forward<StatesStatusT>(value)); return *this;}
442
444
447 inline const Aws::String& GetStatesInput() const { return m_statesInput; }
448 inline bool StatesInputHasBeenSet() const { return m_statesInputHasBeenSet; }
449 template<typename StatesInputT = Aws::String>
450 void SetStatesInput(StatesInputT&& value) { m_statesInputHasBeenSet = true; m_statesInput = std::forward<StatesInputT>(value); }
451 template<typename StatesInputT = Aws::String>
452 Observation& WithStatesInput(StatesInputT&& value) { SetStatesInput(std::forward<StatesInputT>(value)); return *this;}
454
456
460 inline const Aws::String& GetEbsEvent() const { return m_ebsEvent; }
461 inline bool EbsEventHasBeenSet() const { return m_ebsEventHasBeenSet; }
462 template<typename EbsEventT = Aws::String>
463 void SetEbsEvent(EbsEventT&& value) { m_ebsEventHasBeenSet = true; m_ebsEvent = std::forward<EbsEventT>(value); }
464 template<typename EbsEventT = Aws::String>
465 Observation& WithEbsEvent(EbsEventT&& value) { SetEbsEvent(std::forward<EbsEventT>(value)); return *this;}
467
469
473 inline const Aws::String& GetEbsResult() const { return m_ebsResult; }
474 inline bool EbsResultHasBeenSet() const { return m_ebsResultHasBeenSet; }
475 template<typename EbsResultT = Aws::String>
476 void SetEbsResult(EbsResultT&& value) { m_ebsResultHasBeenSet = true; m_ebsResult = std::forward<EbsResultT>(value); }
477 template<typename EbsResultT = Aws::String>
478 Observation& WithEbsResult(EbsResultT&& value) { SetEbsResult(std::forward<EbsResultT>(value)); return *this;}
480
482
485 inline const Aws::String& GetEbsCause() const { return m_ebsCause; }
486 inline bool EbsCauseHasBeenSet() const { return m_ebsCauseHasBeenSet; }
487 template<typename EbsCauseT = Aws::String>
488 void SetEbsCause(EbsCauseT&& value) { m_ebsCauseHasBeenSet = true; m_ebsCause = std::forward<EbsCauseT>(value); }
489 template<typename EbsCauseT = Aws::String>
490 Observation& WithEbsCause(EbsCauseT&& value) { SetEbsCause(std::forward<EbsCauseT>(value)); return *this;}
492
494
497 inline const Aws::String& GetEbsRequestId() const { return m_ebsRequestId; }
498 inline bool EbsRequestIdHasBeenSet() const { return m_ebsRequestIdHasBeenSet; }
499 template<typename EbsRequestIdT = Aws::String>
500 void SetEbsRequestId(EbsRequestIdT&& value) { m_ebsRequestIdHasBeenSet = true; m_ebsRequestId = std::forward<EbsRequestIdT>(value); }
501 template<typename EbsRequestIdT = Aws::String>
502 Observation& WithEbsRequestId(EbsRequestIdT&& value) { SetEbsRequestId(std::forward<EbsRequestIdT>(value)); return *this;}
504
506
509 inline int GetXRayFaultPercent() const { return m_xRayFaultPercent; }
510 inline bool XRayFaultPercentHasBeenSet() const { return m_xRayFaultPercentHasBeenSet; }
511 inline void SetXRayFaultPercent(int value) { m_xRayFaultPercentHasBeenSet = true; m_xRayFaultPercent = value; }
512 inline Observation& WithXRayFaultPercent(int value) { SetXRayFaultPercent(value); return *this;}
514
516
519 inline int GetXRayThrottlePercent() const { return m_xRayThrottlePercent; }
520 inline bool XRayThrottlePercentHasBeenSet() const { return m_xRayThrottlePercentHasBeenSet; }
521 inline void SetXRayThrottlePercent(int value) { m_xRayThrottlePercentHasBeenSet = true; m_xRayThrottlePercent = value; }
522 inline Observation& WithXRayThrottlePercent(int value) { SetXRayThrottlePercent(value); return *this;}
524
526
529 inline int GetXRayErrorPercent() const { return m_xRayErrorPercent; }
530 inline bool XRayErrorPercentHasBeenSet() const { return m_xRayErrorPercentHasBeenSet; }
531 inline void SetXRayErrorPercent(int value) { m_xRayErrorPercentHasBeenSet = true; m_xRayErrorPercent = value; }
532 inline Observation& WithXRayErrorPercent(int value) { SetXRayErrorPercent(value); return *this;}
534
536
539 inline int GetXRayRequestCount() const { return m_xRayRequestCount; }
540 inline bool XRayRequestCountHasBeenSet() const { return m_xRayRequestCountHasBeenSet; }
541 inline void SetXRayRequestCount(int value) { m_xRayRequestCountHasBeenSet = true; m_xRayRequestCount = value; }
542 inline Observation& WithXRayRequestCount(int value) { SetXRayRequestCount(value); return *this;}
544
546
549 inline long long GetXRayRequestAverageLatency() const { return m_xRayRequestAverageLatency; }
550 inline bool XRayRequestAverageLatencyHasBeenSet() const { return m_xRayRequestAverageLatencyHasBeenSet; }
551 inline void SetXRayRequestAverageLatency(long long value) { m_xRayRequestAverageLatencyHasBeenSet = true; m_xRayRequestAverageLatency = value; }
552 inline Observation& WithXRayRequestAverageLatency(long long value) { SetXRayRequestAverageLatency(value); return *this;}
554
556
559 inline const Aws::String& GetXRayNodeName() const { return m_xRayNodeName; }
560 inline bool XRayNodeNameHasBeenSet() const { return m_xRayNodeNameHasBeenSet; }
561 template<typename XRayNodeNameT = Aws::String>
562 void SetXRayNodeName(XRayNodeNameT&& value) { m_xRayNodeNameHasBeenSet = true; m_xRayNodeName = std::forward<XRayNodeNameT>(value); }
563 template<typename XRayNodeNameT = Aws::String>
564 Observation& WithXRayNodeName(XRayNodeNameT&& value) { SetXRayNodeName(std::forward<XRayNodeNameT>(value)); return *this;}
566
568
571 inline const Aws::String& GetXRayNodeType() const { return m_xRayNodeType; }
572 inline bool XRayNodeTypeHasBeenSet() const { return m_xRayNodeTypeHasBeenSet; }
573 template<typename XRayNodeTypeT = Aws::String>
574 void SetXRayNodeType(XRayNodeTypeT&& value) { m_xRayNodeTypeHasBeenSet = true; m_xRayNodeType = std::forward<XRayNodeTypeT>(value); }
575 template<typename XRayNodeTypeT = Aws::String>
576 Observation& WithXRayNodeType(XRayNodeTypeT&& value) { SetXRayNodeType(std::forward<XRayNodeTypeT>(value)); return *this;}
578 private:
579
580 Aws::String m_id;
581 bool m_idHasBeenSet = false;
582
583 Aws::Utils::DateTime m_startTime{};
584 bool m_startTimeHasBeenSet = false;
585
586 Aws::Utils::DateTime m_endTime{};
587 bool m_endTimeHasBeenSet = false;
588
589 Aws::String m_sourceType;
590 bool m_sourceTypeHasBeenSet = false;
591
592 Aws::String m_sourceARN;
593 bool m_sourceARNHasBeenSet = false;
594
595 Aws::String m_logGroup;
596 bool m_logGroupHasBeenSet = false;
597
598 Aws::Utils::DateTime m_lineTime{};
599 bool m_lineTimeHasBeenSet = false;
600
601 Aws::String m_logText;
602 bool m_logTextHasBeenSet = false;
603
604 LogFilter m_logFilter{LogFilter::NOT_SET};
605 bool m_logFilterHasBeenSet = false;
606
607 Aws::String m_metricNamespace;
608 bool m_metricNamespaceHasBeenSet = false;
609
610 Aws::String m_metricName;
611 bool m_metricNameHasBeenSet = false;
612
613 Aws::String m_unit;
614 bool m_unitHasBeenSet = false;
615
616 double m_value{0.0};
617 bool m_valueHasBeenSet = false;
618
619 Aws::String m_cloudWatchEventId;
620 bool m_cloudWatchEventIdHasBeenSet = false;
621
623 bool m_cloudWatchEventSourceHasBeenSet = false;
624
625 Aws::String m_cloudWatchEventDetailType;
626 bool m_cloudWatchEventDetailTypeHasBeenSet = false;
627
628 Aws::String m_healthEventArn;
629 bool m_healthEventArnHasBeenSet = false;
630
631 Aws::String m_healthService;
632 bool m_healthServiceHasBeenSet = false;
633
634 Aws::String m_healthEventTypeCode;
635 bool m_healthEventTypeCodeHasBeenSet = false;
636
637 Aws::String m_healthEventTypeCategory;
638 bool m_healthEventTypeCategoryHasBeenSet = false;
639
640 Aws::String m_healthEventDescription;
641 bool m_healthEventDescriptionHasBeenSet = false;
642
643 Aws::String m_codeDeployDeploymentId;
644 bool m_codeDeployDeploymentIdHasBeenSet = false;
645
646 Aws::String m_codeDeployDeploymentGroup;
647 bool m_codeDeployDeploymentGroupHasBeenSet = false;
648
649 Aws::String m_codeDeployState;
650 bool m_codeDeployStateHasBeenSet = false;
651
652 Aws::String m_codeDeployApplication;
653 bool m_codeDeployApplicationHasBeenSet = false;
654
655 Aws::String m_codeDeployInstanceGroupId;
656 bool m_codeDeployInstanceGroupIdHasBeenSet = false;
657
658 Aws::String m_ec2State;
659 bool m_ec2StateHasBeenSet = false;
660
661 Aws::String m_rdsEventCategories;
662 bool m_rdsEventCategoriesHasBeenSet = false;
663
664 Aws::String m_rdsEventMessage;
665 bool m_rdsEventMessageHasBeenSet = false;
666
667 Aws::String m_s3EventName;
668 bool m_s3EventNameHasBeenSet = false;
669
670 Aws::String m_statesExecutionArn;
671 bool m_statesExecutionArnHasBeenSet = false;
672
673 Aws::String m_statesArn;
674 bool m_statesArnHasBeenSet = false;
675
676 Aws::String m_statesStatus;
677 bool m_statesStatusHasBeenSet = false;
678
679 Aws::String m_statesInput;
680 bool m_statesInputHasBeenSet = false;
681
682 Aws::String m_ebsEvent;
683 bool m_ebsEventHasBeenSet = false;
684
685 Aws::String m_ebsResult;
686 bool m_ebsResultHasBeenSet = false;
687
688 Aws::String m_ebsCause;
689 bool m_ebsCauseHasBeenSet = false;
690
691 Aws::String m_ebsRequestId;
692 bool m_ebsRequestIdHasBeenSet = false;
693
694 int m_xRayFaultPercent{0};
695 bool m_xRayFaultPercentHasBeenSet = false;
696
697 int m_xRayThrottlePercent{0};
698 bool m_xRayThrottlePercentHasBeenSet = false;
699
700 int m_xRayErrorPercent{0};
701 bool m_xRayErrorPercentHasBeenSet = false;
702
703 int m_xRayRequestCount{0};
704 bool m_xRayRequestCountHasBeenSet = false;
705
706 long long m_xRayRequestAverageLatency{0};
707 bool m_xRayRequestAverageLatencyHasBeenSet = false;
708
709 Aws::String m_xRayNodeName;
710 bool m_xRayNodeNameHasBeenSet = false;
711
712 Aws::String m_xRayNodeType;
713 bool m_xRayNodeTypeHasBeenSet = false;
714 };
715
716} // namespace Model
717} // namespace ApplicationInsights
718} // namespace Aws
void SetHealthEventTypeCategory(HealthEventTypeCategoryT &&value)
void SetStatesExecutionArn(StatesExecutionArnT &&value)
Observation & WithStatesInput(StatesInputT &&value)
Observation & WithCodeDeployDeploymentId(CodeDeployDeploymentIdT &&value)
Observation & WithMetricNamespace(MetricNamespaceT &&value)
Observation & WithXRayErrorPercent(int value)
Observation & WithLogText(LogTextT &&value)
Observation & WithUnit(UnitT &&value)
void SetCodeDeployApplication(CodeDeployApplicationT &&value)
Observation & WithHealthEventArn(HealthEventArnT &&value)
void SetCloudWatchEventDetailType(CloudWatchEventDetailTypeT &&value)
const Aws::String & GetLogGroup() const
Observation & WithMetricName(MetricNameT &&value)
const Aws::String & GetRdsEventMessage() const
AWS_APPLICATIONINSIGHTS_API Observation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCodeDeployDeploymentGroup() const
Observation & WithS3EventName(S3EventNameT &&value)
const Aws::Utils::DateTime & GetEndTime() const
Definition Observation.h:72
Observation & WithEc2State(Ec2StateT &&value)
Observation & WithStartTime(StartTimeT &&value)
Definition Observation.h:65
void SetStatesStatus(StatesStatusT &&value)
Observation & WithEbsRequestId(EbsRequestIdT &&value)
Observation & WithXRayThrottlePercent(int value)
Observation & WithStatesExecutionArn(StatesExecutionArnT &&value)
const Aws::String & GetEbsRequestId() const
const Aws::String & GetMetricNamespace() const
Observation & WithLogFilter(LogFilter value)
Observation & WithSourceType(SourceTypeT &&value)
Definition Observation.h:89
CloudWatchEventSource GetCloudWatchEventSource() const
const Aws::String & GetStatesInput() const
const Aws::String & GetEbsCause() const
const Aws::String & GetCodeDeployState() const
Observation & WithXRayRequestCount(int value)
Observation & WithEbsCause(EbsCauseT &&value)
void SetHealthEventTypeCode(HealthEventTypeCodeT &&value)
const Aws::String & GetStatesStatus() const
const Aws::String & GetEbsResult() const
void SetCodeDeployState(CodeDeployStateT &&value)
AWS_APPLICATIONINSIGHTS_API Observation()=default
const Aws::String & GetS3EventName() const
Observation & WithCloudWatchEventDetailType(CloudWatchEventDetailTypeT &&value)
const Aws::String & GetXRayNodeName() const
const Aws::String & GetEc2State() const
void SetXRayNodeName(XRayNodeNameT &&value)
Observation & WithXRayNodeType(XRayNodeTypeT &&value)
Observation & WithRdsEventCategories(RdsEventCategoriesT &&value)
void SetCloudWatchEventId(CloudWatchEventIdT &&value)
Observation & WithXRayNodeName(XRayNodeNameT &&value)
const Aws::String & GetStatesArn() const
void SetRdsEventCategories(RdsEventCategoriesT &&value)
Observation & WithLogGroup(LogGroupT &&value)
void SetHealthEventArn(HealthEventArnT &&value)
void SetStatesInput(StatesInputT &&value)
Observation & WithSourceARN(SourceARNT &&value)
void SetRdsEventMessage(RdsEventMessageT &&value)
Observation & WithStatesStatus(StatesStatusT &&value)
void SetCloudWatchEventSource(CloudWatchEventSource value)
Observation & WithRdsEventMessage(RdsEventMessageT &&value)
const Aws::String & GetCodeDeployDeploymentId() const
Observation & WithEbsEvent(EbsEventT &&value)
Observation & WithCloudWatchEventSource(CloudWatchEventSource value)
Observation & WithHealthEventDescription(HealthEventDescriptionT &&value)
void SetCodeDeployInstanceGroupId(CodeDeployInstanceGroupIdT &&value)
const Aws::Utils::DateTime & GetLineTime() const
const Aws::String & GetHealthService() const
Observation & WithXRayRequestAverageLatency(long long value)
const Aws::String & GetXRayNodeType() const
Observation & WithHealthEventTypeCode(HealthEventTypeCodeT &&value)
Observation & WithCodeDeployDeploymentGroup(CodeDeployDeploymentGroupT &&value)
const Aws::String & GetMetricName() const
Observation & WithLineTime(LineTimeT &&value)
void SetHealthService(HealthServiceT &&value)
const Aws::String & GetCodeDeployApplication() const
const Aws::String & GetRdsEventCategories() const
const Aws::String & GetHealthEventArn() const
void SetCodeDeployDeploymentId(CodeDeployDeploymentIdT &&value)
const Aws::String & GetCloudWatchEventDetailType() const
void SetEbsRequestId(EbsRequestIdT &&value)
Observation & WithCloudWatchEventId(CloudWatchEventIdT &&value)
const Aws::String & GetEbsEvent() const
Observation & WithHealthEventTypeCategory(HealthEventTypeCategoryT &&value)
Observation & WithCodeDeployInstanceGroupId(CodeDeployInstanceGroupIdT &&value)
void SetCodeDeployDeploymentGroup(CodeDeployDeploymentGroupT &&value)
Observation & WithCodeDeployApplication(CodeDeployApplicationT &&value)
const Aws::String & GetStatesExecutionArn() const
Observation & WithStatesArn(StatesArnT &&value)
const Aws::String & GetCodeDeployInstanceGroupId() const
void SetS3EventName(S3EventNameT &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetHealthEventTypeCategory() const
const Aws::String & GetHealthEventTypeCode() const
const Aws::String & GetSourceType() const
Definition Observation.h:84
Observation & WithXRayFaultPercent(int value)
const Aws::String & GetLogText() const
void SetSourceType(SourceTypeT &&value)
Definition Observation.h:87
AWS_APPLICATIONINSIGHTS_API Observation(Aws::Utils::Json::JsonView jsonValue)
Observation & WithValue(double value)
const Aws::String & GetSourceARN() const
Definition Observation.h:96
void SetXRayNodeType(XRayNodeTypeT &&value)
const Aws::String & GetHealthEventDescription() const
Observation & WithEndTime(EndTimeT &&value)
Definition Observation.h:77
void SetMetricNamespace(MetricNamespaceT &&value)
const Aws::Utils::DateTime & GetStartTime() const
Definition Observation.h:60
void SetHealthEventDescription(HealthEventDescriptionT &&value)
void SetXRayRequestAverageLatency(long long value)
Observation & WithEbsResult(EbsResultT &&value)
Observation & WithHealthService(HealthServiceT &&value)
const Aws::String & GetCloudWatchEventId() const
Observation & WithCodeDeployState(CodeDeployStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue