7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/model/CloudWatchEventSource.h>
9#include <aws/application-insights/model/LogFilter.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ApplicationInsights {
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename StartTimeT = Aws::Utils::DateTime>
64 m_startTimeHasBeenSet =
true;
65 m_startTime = std::forward<StartTimeT>(value);
67 template <
typename StartTimeT = Aws::Utils::DateTime>
80 template <
typename EndTimeT = Aws::Utils::DateTime>
82 m_endTimeHasBeenSet =
true;
83 m_endTime = std::forward<EndTimeT>(value);
85 template <
typename EndTimeT = Aws::Utils::DateTime>
98 template <
typename SourceTypeT = Aws::String>
100 m_sourceTypeHasBeenSet =
true;
101 m_sourceType = std::forward<SourceTypeT>(value);
103 template <
typename SourceTypeT = Aws::String>
116 template <
typename SourceARNT = Aws::String>
118 m_sourceARNHasBeenSet =
true;
119 m_sourceARN = std::forward<SourceARNT>(value);
121 template <
typename SourceARNT = Aws::String>
134 template <
typename LogGroupT = Aws::String>
136 m_logGroupHasBeenSet =
true;
137 m_logGroup = std::forward<LogGroupT>(value);
139 template <
typename LogGroupT = Aws::String>
153 template <
typename LineTimeT = Aws::Utils::DateTime>
155 m_lineTimeHasBeenSet =
true;
156 m_lineTime = std::forward<LineTimeT>(value);
158 template <
typename LineTimeT = Aws::Utils::DateTime>
171 template <
typename LogTextT = Aws::String>
173 m_logTextHasBeenSet =
true;
174 m_logText = std::forward<LogTextT>(value);
176 template <
typename LogTextT = Aws::String>
190 m_logFilterHasBeenSet =
true;
205 template <
typename MetricNamespaceT = Aws::String>
207 m_metricNamespaceHasBeenSet =
true;
208 m_metricNamespace = std::forward<MetricNamespaceT>(value);
210 template <
typename MetricNamespaceT = Aws::String>
223 template <
typename MetricNameT = Aws::String>
225 m_metricNameHasBeenSet =
true;
226 m_metricName = std::forward<MetricNameT>(value);
228 template <
typename MetricNameT = Aws::String>
241 template <
typename UnitT = Aws::String>
243 m_unitHasBeenSet =
true;
244 m_unit = std::forward<UnitT>(value);
246 template <
typename UnitT = Aws::String>
248 SetUnit(std::forward<UnitT>(value));
260 m_valueHasBeenSet =
true;
276 template <
typename CloudWatchEventIdT = Aws::String>
278 m_cloudWatchEventIdHasBeenSet =
true;
279 m_cloudWatchEventId = std::forward<CloudWatchEventIdT>(value);
281 template <
typename CloudWatchEventIdT = Aws::String>
295 m_cloudWatchEventSourceHasBeenSet =
true;
296 m_cloudWatchEventSource = value;
311 template <
typename CloudWatchEventDetailTypeT = Aws::String>
313 m_cloudWatchEventDetailTypeHasBeenSet =
true;
314 m_cloudWatchEventDetailType = std::forward<CloudWatchEventDetailTypeT>(value);
316 template <
typename CloudWatchEventDetailTypeT = Aws::String>
329 template <
typename HealthEventArnT = Aws::String>
331 m_healthEventArnHasBeenSet =
true;
332 m_healthEventArn = std::forward<HealthEventArnT>(value);
334 template <
typename HealthEventArnT = Aws::String>
347 template <
typename HealthServiceT = Aws::String>
349 m_healthServiceHasBeenSet =
true;
350 m_healthService = std::forward<HealthServiceT>(value);
352 template <
typename HealthServiceT = Aws::String>
366 template <
typename HealthEventTypeCodeT = Aws::String>
368 m_healthEventTypeCodeHasBeenSet =
true;
369 m_healthEventTypeCode = std::forward<HealthEventTypeCodeT>(value);
371 template <
typename HealthEventTypeCodeT = Aws::String>
384 template <
typename HealthEventTypeCategoryT = Aws::String>
386 m_healthEventTypeCategoryHasBeenSet =
true;
387 m_healthEventTypeCategory = std::forward<HealthEventTypeCategoryT>(value);
389 template <
typename HealthEventTypeCategoryT = Aws::String>
403 template <
typename HealthEventDescriptionT = Aws::String>
405 m_healthEventDescriptionHasBeenSet =
true;
406 m_healthEventDescription = std::forward<HealthEventDescriptionT>(value);
408 template <
typename HealthEventDescriptionT = Aws::String>
422 template <
typename CodeDeployDeploymentIdT = Aws::String>
424 m_codeDeployDeploymentIdHasBeenSet =
true;
425 m_codeDeployDeploymentId = std::forward<CodeDeployDeploymentIdT>(value);
427 template <
typename CodeDeployDeploymentIdT = Aws::String>
440 template <
typename CodeDeployDeploymentGroupT = Aws::String>
442 m_codeDeployDeploymentGroupHasBeenSet =
true;
443 m_codeDeployDeploymentGroup = std::forward<CodeDeployDeploymentGroupT>(value);
445 template <
typename CodeDeployDeploymentGroupT = Aws::String>
459 template <
typename CodeDeployStateT = Aws::String>
461 m_codeDeployStateHasBeenSet =
true;
462 m_codeDeployState = std::forward<CodeDeployStateT>(value);
464 template <
typename CodeDeployStateT = Aws::String>
477 template <
typename CodeDeployApplicationT = Aws::String>
479 m_codeDeployApplicationHasBeenSet =
true;
480 m_codeDeployApplication = std::forward<CodeDeployApplicationT>(value);
482 template <
typename CodeDeployApplicationT = Aws::String>
495 template <
typename CodeDeployInstanceGroupIdT = Aws::String>
497 m_codeDeployInstanceGroupIdHasBeenSet =
true;
498 m_codeDeployInstanceGroupId = std::forward<CodeDeployInstanceGroupIdT>(value);
500 template <
typename CodeDeployInstanceGroupIdT = Aws::String>
514 template <
typename Ec2StateT = Aws::String>
516 m_ec2StateHasBeenSet =
true;
517 m_ec2State = std::forward<Ec2StateT>(value);
519 template <
typename Ec2StateT = Aws::String>
532 template <
typename RdsEventCategoriesT = Aws::String>
534 m_rdsEventCategoriesHasBeenSet =
true;
535 m_rdsEventCategories = std::forward<RdsEventCategoriesT>(value);
537 template <
typename RdsEventCategoriesT = Aws::String>
550 template <
typename RdsEventMessageT = Aws::String>
552 m_rdsEventMessageHasBeenSet =
true;
553 m_rdsEventMessage = std::forward<RdsEventMessageT>(value);
555 template <
typename RdsEventMessageT = Aws::String>
568 template <
typename S3EventNameT = Aws::String>
570 m_s3EventNameHasBeenSet =
true;
571 m_s3EventName = std::forward<S3EventNameT>(value);
573 template <
typename S3EventNameT = Aws::String>
587 template <
typename StatesExecutionArnT = Aws::String>
589 m_statesExecutionArnHasBeenSet =
true;
590 m_statesExecutionArn = std::forward<StatesExecutionArnT>(value);
592 template <
typename StatesExecutionArnT = Aws::String>
605 template <
typename StatesArnT = Aws::String>
607 m_statesArnHasBeenSet =
true;
608 m_statesArn = std::forward<StatesArnT>(value);
610 template <
typename StatesArnT = Aws::String>
623 template <
typename StatesStatusT = Aws::String>
625 m_statesStatusHasBeenSet =
true;
626 m_statesStatus = std::forward<StatesStatusT>(value);
628 template <
typename StatesStatusT = Aws::String>
641 template <
typename StatesInputT = Aws::String>
643 m_statesInputHasBeenSet =
true;
644 m_statesInput = std::forward<StatesInputT>(value);
646 template <
typename StatesInputT = Aws::String>
660 template <
typename EbsEventT = Aws::String>
662 m_ebsEventHasBeenSet =
true;
663 m_ebsEvent = std::forward<EbsEventT>(value);
665 template <
typename EbsEventT = Aws::String>
679 template <
typename EbsResultT = Aws::String>
681 m_ebsResultHasBeenSet =
true;
682 m_ebsResult = std::forward<EbsResultT>(value);
684 template <
typename EbsResultT = Aws::String>
697 template <
typename EbsCauseT = Aws::String>
699 m_ebsCauseHasBeenSet =
true;
700 m_ebsCause = std::forward<EbsCauseT>(value);
702 template <
typename EbsCauseT = Aws::String>
715 template <
typename EbsRequestIdT = Aws::String>
717 m_ebsRequestIdHasBeenSet =
true;
718 m_ebsRequestId = std::forward<EbsRequestIdT>(value);
720 template <
typename EbsRequestIdT = Aws::String>
734 m_xRayFaultPercentHasBeenSet =
true;
735 m_xRayFaultPercent = value;
750 m_xRayThrottlePercentHasBeenSet =
true;
751 m_xRayThrottlePercent = value;
766 m_xRayErrorPercentHasBeenSet =
true;
767 m_xRayErrorPercent = value;
782 m_xRayRequestCountHasBeenSet =
true;
783 m_xRayRequestCount = value;
798 m_xRayRequestAverageLatencyHasBeenSet =
true;
799 m_xRayRequestAverageLatency = value;
813 template <
typename XRayNodeNameT = Aws::String>
815 m_xRayNodeNameHasBeenSet =
true;
816 m_xRayNodeName = std::forward<XRayNodeNameT>(value);
818 template <
typename XRayNodeNameT = Aws::String>
831 template <
typename XRayNodeTypeT = Aws::String>
833 m_xRayNodeTypeHasBeenSet =
true;
834 m_xRayNodeType = std::forward<XRayNodeTypeT>(value);
836 template <
typename XRayNodeTypeT = Aws::String>
919 int m_xRayFaultPercent{0};
921 int m_xRayThrottlePercent{0};
923 int m_xRayErrorPercent{0};
925 int m_xRayRequestCount{0};
927 long long m_xRayRequestAverageLatency{0};
932 bool m_idHasBeenSet =
false;
933 bool m_startTimeHasBeenSet =
false;
934 bool m_endTimeHasBeenSet =
false;
935 bool m_sourceTypeHasBeenSet =
false;
936 bool m_sourceARNHasBeenSet =
false;
937 bool m_logGroupHasBeenSet =
false;
938 bool m_lineTimeHasBeenSet =
false;
939 bool m_logTextHasBeenSet =
false;
940 bool m_logFilterHasBeenSet =
false;
941 bool m_metricNamespaceHasBeenSet =
false;
942 bool m_metricNameHasBeenSet =
false;
943 bool m_unitHasBeenSet =
false;
944 bool m_valueHasBeenSet =
false;
945 bool m_cloudWatchEventIdHasBeenSet =
false;
946 bool m_cloudWatchEventSourceHasBeenSet =
false;
947 bool m_cloudWatchEventDetailTypeHasBeenSet =
false;
948 bool m_healthEventArnHasBeenSet =
false;
949 bool m_healthServiceHasBeenSet =
false;
950 bool m_healthEventTypeCodeHasBeenSet =
false;
951 bool m_healthEventTypeCategoryHasBeenSet =
false;
952 bool m_healthEventDescriptionHasBeenSet =
false;
953 bool m_codeDeployDeploymentIdHasBeenSet =
false;
954 bool m_codeDeployDeploymentGroupHasBeenSet =
false;
955 bool m_codeDeployStateHasBeenSet =
false;
956 bool m_codeDeployApplicationHasBeenSet =
false;
957 bool m_codeDeployInstanceGroupIdHasBeenSet =
false;
958 bool m_ec2StateHasBeenSet =
false;
959 bool m_rdsEventCategoriesHasBeenSet =
false;
960 bool m_rdsEventMessageHasBeenSet =
false;
961 bool m_s3EventNameHasBeenSet =
false;
962 bool m_statesExecutionArnHasBeenSet =
false;
963 bool m_statesArnHasBeenSet =
false;
964 bool m_statesStatusHasBeenSet =
false;
965 bool m_statesInputHasBeenSet =
false;
966 bool m_ebsEventHasBeenSet =
false;
967 bool m_ebsResultHasBeenSet =
false;
968 bool m_ebsCauseHasBeenSet =
false;
969 bool m_ebsRequestIdHasBeenSet =
false;
970 bool m_xRayFaultPercentHasBeenSet =
false;
971 bool m_xRayThrottlePercentHasBeenSet =
false;
972 bool m_xRayErrorPercentHasBeenSet =
false;
973 bool m_xRayRequestCountHasBeenSet =
false;
974 bool m_xRayRequestAverageLatencyHasBeenSet =
false;
975 bool m_xRayNodeNameHasBeenSet =
false;
976 bool m_xRayNodeTypeHasBeenSet =
false;
bool SourceTypeHasBeenSet() const
void SetXRayFaultPercent(int value)
void SetHealthEventTypeCategory(HealthEventTypeCategoryT &&value)
void SetStatesExecutionArn(StatesExecutionArnT &&value)
void SetStartTime(StartTimeT &&value)
Observation & WithStatesInput(StatesInputT &&value)
Observation & WithCodeDeployDeploymentId(CodeDeployDeploymentIdT &&value)
bool XRayRequestAverageLatencyHasBeenSet() const
const Aws::String & GetId() const
void SetEbsResult(EbsResultT &&value)
bool RdsEventMessageHasBeenSet() const
Observation & WithMetricNamespace(MetricNamespaceT &&value)
Observation & WithXRayErrorPercent(int value)
bool XRayThrottlePercentHasBeenSet() const
Observation & WithLogText(LogTextT &&value)
int GetXRayFaultPercent() const
Observation & WithUnit(UnitT &&value)
void SetCodeDeployApplication(CodeDeployApplicationT &&value)
bool HealthEventArnHasBeenSet() const
Observation & WithHealthEventArn(HealthEventArnT &&value)
void SetCloudWatchEventDetailType(CloudWatchEventDetailTypeT &&value)
void SetEbsEvent(EbsEventT &&value)
const Aws::String & GetLogGroup() const
bool XRayRequestCountHasBeenSet() const
Observation & WithMetricName(MetricNameT &&value)
const Aws::String & GetRdsEventMessage() const
bool XRayFaultPercentHasBeenSet() const
int GetXRayThrottlePercent() const
bool LogTextHasBeenSet() const
AWS_APPLICATIONINSIGHTS_API Observation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EbsCauseHasBeenSet() const
bool HealthEventTypeCategoryHasBeenSet() const
const Aws::String & GetCodeDeployDeploymentGroup() const
Observation & WithS3EventName(S3EventNameT &&value)
bool XRayNodeTypeHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
Observation & WithEc2State(Ec2StateT &&value)
void SetEbsCause(EbsCauseT &&value)
Observation & WithStartTime(StartTimeT &&value)
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)
void SetUnit(UnitT &&value)
CloudWatchEventSource GetCloudWatchEventSource() const
const Aws::String & GetStatesInput() const
bool MetricNameHasBeenSet() const
const Aws::String & GetEbsCause() const
const Aws::String & GetCodeDeployState() const
Observation & WithXRayRequestCount(int value)
Observation & WithEbsCause(EbsCauseT &&value)
bool EbsEventHasBeenSet() const
const Aws::String & GetUnit() const
bool EndTimeHasBeenSet() const
void SetHealthEventTypeCode(HealthEventTypeCodeT &&value)
bool HealthServiceHasBeenSet() const
void SetMetricName(MetricNameT &&value)
int GetXRayErrorPercent() const
bool CloudWatchEventSourceHasBeenSet() const
const Aws::String & GetStatesStatus() const
bool EbsResultHasBeenSet() const
const Aws::String & GetEbsResult() const
void SetCodeDeployState(CodeDeployStateT &&value)
bool HealthEventTypeCodeHasBeenSet() const
bool LineTimeHasBeenSet() const
void SetXRayErrorPercent(int 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)
bool CloudWatchEventIdHasBeenSet() const
const Aws::String & GetStatesArn() const
void SetRdsEventCategories(RdsEventCategoriesT &&value)
Observation & WithLogGroup(LogGroupT &&value)
bool HealthEventDescriptionHasBeenSet() const
void SetHealthEventArn(HealthEventArnT &&value)
bool StartTimeHasBeenSet() const
bool StatesExecutionArnHasBeenSet() const
void SetStatesInput(StatesInputT &&value)
Observation & WithSourceARN(SourceARNT &&value)
void SetRdsEventMessage(RdsEventMessageT &&value)
Observation & WithStatesStatus(StatesStatusT &&value)
void SetEc2State(Ec2StateT &&value)
void SetCloudWatchEventSource(CloudWatchEventSource value)
Observation & WithRdsEventMessage(RdsEventMessageT &&value)
const Aws::String & GetCodeDeployDeploymentId() const
void SetLogGroup(LogGroupT &&value)
Observation & WithEbsEvent(EbsEventT &&value)
Observation & WithCloudWatchEventSource(CloudWatchEventSource value)
Observation & WithHealthEventDescription(HealthEventDescriptionT &&value)
void SetCodeDeployInstanceGroupId(CodeDeployInstanceGroupIdT &&value)
bool ValueHasBeenSet() const
void SetStatesArn(StatesArnT &&value)
const Aws::Utils::DateTime & GetLineTime() const
const Aws::String & GetHealthService() const
bool IdHasBeenSet() const
int GetXRayRequestCount() 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
LogFilter GetLogFilter() const
bool StatesArnHasBeenSet() const
const Aws::String & GetHealthEventArn() const
void SetXRayThrottlePercent(int value)
bool StatesInputHasBeenSet() const
void SetCodeDeployDeploymentId(CodeDeployDeploymentIdT &&value)
bool CodeDeployDeploymentIdHasBeenSet() const
bool RdsEventCategoriesHasBeenSet() const
const Aws::String & GetCloudWatchEventDetailType() const
bool EbsRequestIdHasBeenSet() const
void SetEbsRequestId(EbsRequestIdT &&value)
void SetEndTime(EndTimeT &&value)
Observation & WithCloudWatchEventId(CloudWatchEventIdT &&value)
const Aws::String & GetEbsEvent() const
long long GetXRayRequestAverageLatency() const
bool SourceARNHasBeenSet() const
void SetLogFilter(LogFilter value)
bool StatesStatusHasBeenSet() const
Observation & WithHealthEventTypeCategory(HealthEventTypeCategoryT &&value)
Observation & WithCodeDeployInstanceGroupId(CodeDeployInstanceGroupIdT &&value)
void SetCodeDeployDeploymentGroup(CodeDeployDeploymentGroupT &&value)
Observation & WithCodeDeployApplication(CodeDeployApplicationT &&value)
const Aws::String & GetStatesExecutionArn() const
bool CloudWatchEventDetailTypeHasBeenSet() const
bool CodeDeployDeploymentGroupHasBeenSet() const
bool XRayErrorPercentHasBeenSet() const
Observation & WithStatesArn(StatesArnT &&value)
void SetLogText(LogTextT &&value)
const Aws::String & GetCodeDeployInstanceGroupId() const
void SetS3EventName(S3EventNameT &&value)
Observation & WithId(IdT &&value)
AWS_APPLICATIONINSIGHTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UnitHasBeenSet() const
const Aws::String & GetHealthEventTypeCategory() const
const Aws::String & GetHealthEventTypeCode() const
const Aws::String & GetSourceType() const
bool XRayNodeNameHasBeenSet() const
bool CodeDeployStateHasBeenSet() const
Observation & WithXRayFaultPercent(int value)
void SetValue(double value)
const Aws::String & GetLogText() const
void SetSourceType(SourceTypeT &&value)
AWS_APPLICATIONINSIGHTS_API Observation(Aws::Utils::Json::JsonView jsonValue)
void SetXRayRequestCount(int value)
bool CodeDeployInstanceGroupIdHasBeenSet() const
Observation & WithValue(double value)
bool LogFilterHasBeenSet() const
const Aws::String & GetSourceARN() const
void SetXRayNodeType(XRayNodeTypeT &&value)
bool CodeDeployApplicationHasBeenSet() const
bool Ec2StateHasBeenSet() const
const Aws::String & GetHealthEventDescription() const
bool MetricNamespaceHasBeenSet() const
Observation & WithEndTime(EndTimeT &&value)
void SetMetricNamespace(MetricNamespaceT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetHealthEventDescription(HealthEventDescriptionT &&value)
void SetXRayRequestAverageLatency(long long value)
Observation & WithEbsResult(EbsResultT &&value)
bool S3EventNameHasBeenSet() const
Observation & WithHealthService(HealthServiceT &&value)
void SetSourceARN(SourceARNT &&value)
const Aws::String & GetCloudWatchEventId() const
bool LogGroupHasBeenSet() const
void SetLineTime(LineTimeT &&value)
Observation & WithCodeDeployState(CodeDeployStateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue