7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/xray/model/Http.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/xray/model/ServiceId.h>
14#include <aws/xray/model/TraceUser.h>
15#include <aws/xray/model/ResourceARNDetail.h>
16#include <aws/xray/model/InstanceIdDetail.h>
17#include <aws/xray/model/AvailabilityZoneDetail.h>
18#include <aws/xray/model/FaultRootCause.h>
19#include <aws/xray/model/ErrorRootCause.h>
20#include <aws/xray/model/ResponseTimeRootCause.h>
21#include <aws/xray/model/ValueWithServiceIds.h>
62 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
63 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
89 inline void SetDuration(
double value) { m_durationHasBeenSet =
true; m_duration = value; }
102 inline void SetResponseTime(
double value) { m_responseTimeHasBeenSet =
true; m_responseTime = value; }
112 inline void SetHasFault(
bool value) { m_hasFaultHasBeenSet =
true; m_hasFault = value; }
122 inline void SetHasError(
bool value) { m_hasErrorHasBeenSet =
true; m_hasError = value; }
132 inline void SetHasThrottle(
bool value) { m_hasThrottleHasBeenSet =
true; m_hasThrottle = value; }
142 inline void SetIsPartial(
bool value) { m_isPartialHasBeenSet =
true; m_isPartial = value; }
152 inline void SetHttp(
const Http& value) { m_httpHasBeenSet =
true; m_http = value; }
153 inline void SetHttp(
Http&& value) { m_httpHasBeenSet =
true; m_http = std::move(value); }
312 inline void SetRevision(
int value) { m_revisionHasBeenSet =
true; m_revision = value; }
330 bool m_idHasBeenSet =
false;
333 bool m_startTimeHasBeenSet =
false;
336 bool m_durationHasBeenSet =
false;
338 double m_responseTime;
339 bool m_responseTimeHasBeenSet =
false;
342 bool m_hasFaultHasBeenSet =
false;
345 bool m_hasErrorHasBeenSet =
false;
348 bool m_hasThrottleHasBeenSet =
false;
351 bool m_isPartialHasBeenSet =
false;
354 bool m_httpHasBeenSet =
false;
357 bool m_annotationsHasBeenSet =
false;
360 bool m_usersHasBeenSet =
false;
363 bool m_serviceIdsHasBeenSet =
false;
366 bool m_resourceARNsHasBeenSet =
false;
369 bool m_instanceIdsHasBeenSet =
false;
372 bool m_availabilityZonesHasBeenSet =
false;
375 bool m_entryPointHasBeenSet =
false;
378 bool m_faultRootCausesHasBeenSet =
false;
381 bool m_errorRootCausesHasBeenSet =
false;
384 bool m_responseTimeRootCausesHasBeenSet =
false;
387 bool m_revisionHasBeenSet =
false;
390 bool m_matchedEventTimeHasBeenSet =
false;
void SetEntryPoint(ServiceId &&value)
TraceSummary & WithAnnotations(const Aws::Map< Aws::String, Aws::Vector< ValueWithServiceIds > > &value)
const Aws::Utils::DateTime & GetMatchedEventTime() const
TraceSummary & AddAnnotations(const char *key, Aws::Vector< ValueWithServiceIds > &&value)
const Aws::Map< Aws::String, Aws::Vector< ValueWithServiceIds > > & GetAnnotations() const
TraceSummary & WithAvailabilityZones(const Aws::Vector< AvailabilityZoneDetail > &value)
void SetAvailabilityZones(Aws::Vector< AvailabilityZoneDetail > &&value)
TraceSummary & WithFaultRootCauses(Aws::Vector< FaultRootCause > &&value)
TraceSummary & AddFaultRootCauses(FaultRootCause &&value)
TraceSummary & WithHasThrottle(bool value)
TraceSummary & AddUsers(const TraceUser &value)
TraceSummary & WithInstanceIds(const Aws::Vector< InstanceIdDetail > &value)
TraceSummary & AddUsers(TraceUser &&value)
bool GetHasThrottle() const
TraceSummary & AddErrorRootCauses(const ErrorRootCause &value)
void SetErrorRootCauses(const Aws::Vector< ErrorRootCause > &value)
void SetResponseTimeRootCauses(Aws::Vector< ResponseTimeRootCause > &&value)
void SetHasThrottle(bool value)
TraceSummary & AddResourceARNs(ResourceARNDetail &&value)
TraceSummary & WithIsPartial(bool value)
const Http & GetHttp() const
const Aws::Vector< ServiceId > & GetServiceIds() const
bool AnnotationsHasBeenSet() const
void SetServiceIds(const Aws::Vector< ServiceId > &value)
bool HasErrorHasBeenSet() const
TraceSummary & WithEntryPoint(const ServiceId &value)
void SetRevision(int value)
TraceSummary & WithServiceIds(const Aws::Vector< ServiceId > &value)
bool DurationHasBeenSet() const
const ServiceId & GetEntryPoint() const
const Aws::Vector< ResourceARNDetail > & GetResourceARNs() const
void SetInstanceIds(Aws::Vector< InstanceIdDetail > &&value)
TraceSummary & AddInstanceIds(const InstanceIdDetail &value)
bool ResourceARNsHasBeenSet() const
TraceSummary & WithHttp(Http &&value)
TraceSummary & WithId(const char *value)
void SetId(const char *value)
TraceSummary & WithResourceARNs(Aws::Vector< ResourceARNDetail > &&value)
TraceSummary & WithId(Aws::String &&value)
bool IdHasBeenSet() const
TraceSummary & AddServiceIds(const ServiceId &value)
double GetResponseTime() const
bool HttpHasBeenSet() const
void SetUsers(const Aws::Vector< TraceUser > &value)
AWS_XRAY_API TraceSummary()
TraceSummary & WithHasError(bool value)
void SetAnnotations(Aws::Map< Aws::String, Aws::Vector< ValueWithServiceIds > > &&value)
void SetResponseTimeRootCauses(const Aws::Vector< ResponseTimeRootCause > &value)
TraceSummary & WithInstanceIds(Aws::Vector< InstanceIdDetail > &&value)
TraceSummary & WithResourceARNs(const Aws::Vector< ResourceARNDetail > &value)
void SetAnnotations(const Aws::Map< Aws::String, Aws::Vector< ValueWithServiceIds > > &value)
void SetHasError(bool value)
TraceSummary & WithHasFault(bool value)
void SetId(const Aws::String &value)
TraceSummary & WithEntryPoint(ServiceId &&value)
void SetResourceARNs(Aws::Vector< ResourceARNDetail > &&value)
TraceSummary & AddAnnotations(Aws::String &&key, const Aws::Vector< ValueWithServiceIds > &value)
TraceSummary & WithAvailabilityZones(Aws::Vector< AvailabilityZoneDetail > &&value)
TraceSummary & AddResponseTimeRootCauses(ResponseTimeRootCause &&value)
void SetMatchedEventTime(const Aws::Utils::DateTime &value)
void SetDuration(double value)
TraceSummary & WithResponseTimeRootCauses(const Aws::Vector< ResponseTimeRootCause > &value)
TraceSummary & WithResponseTimeRootCauses(Aws::Vector< ResponseTimeRootCause > &&value)
TraceSummary & WithFaultRootCauses(const Aws::Vector< FaultRootCause > &value)
void SetEntryPoint(const ServiceId &value)
AWS_XRAY_API TraceSummary(Aws::Utils::Json::JsonView jsonValue)
TraceSummary & WithId(const Aws::String &value)
bool AvailabilityZonesHasBeenSet() const
TraceSummary & AddServiceIds(ServiceId &&value)
void SetResponseTime(double value)
const Aws::Vector< FaultRootCause > & GetFaultRootCauses() const
void SetIsPartial(bool value)
TraceSummary & WithResponseTime(double value)
TraceSummary & WithUsers(Aws::Vector< TraceUser > &&value)
TraceSummary & WithErrorRootCauses(Aws::Vector< ErrorRootCause > &&value)
bool GetIsPartial() const
TraceSummary & WithStartTime(const Aws::Utils::DateTime &value)
bool IsPartialHasBeenSet() const
TraceSummary & AddAnnotations(Aws::String &&key, Aws::Vector< ValueWithServiceIds > &&value)
void SetHttp(Http &&value)
bool FaultRootCausesHasBeenSet() const
void SetFaultRootCauses(const Aws::Vector< FaultRootCause > &value)
bool ServiceIdsHasBeenSet() const
bool EntryPointHasBeenSet() const
void SetFaultRootCauses(Aws::Vector< FaultRootCause > &&value)
bool RevisionHasBeenSet() const
bool ResponseTimeHasBeenSet() const
TraceSummary & WithServiceIds(Aws::Vector< ServiceId > &&value)
bool HasFaultHasBeenSet() const
TraceSummary & AddAvailabilityZones(const AvailabilityZoneDetail &value)
bool ErrorRootCausesHasBeenSet() const
TraceSummary & WithHttp(const Http &value)
void SetServiceIds(Aws::Vector< ServiceId > &&value)
TraceSummary & AddResponseTimeRootCauses(const ResponseTimeRootCause &value)
void SetInstanceIds(const Aws::Vector< InstanceIdDetail > &value)
const Aws::String & GetId() const
const Aws::Vector< ErrorRootCause > & GetErrorRootCauses() const
void SetHasFault(bool value)
TraceSummary & WithErrorRootCauses(const Aws::Vector< ErrorRootCause > &value)
void SetHttp(const Http &value)
void SetErrorRootCauses(Aws::Vector< ErrorRootCause > &&value)
void SetId(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< AvailabilityZoneDetail > & GetAvailabilityZones() const
TraceSummary & AddAnnotations(const Aws::String &key, Aws::Vector< ValueWithServiceIds > &&value)
TraceSummary & AddErrorRootCauses(ErrorRootCause &&value)
bool InstanceIdsHasBeenSet() const
bool HasThrottleHasBeenSet() const
TraceSummary & WithRevision(int value)
const Aws::Vector< ResponseTimeRootCause > & GetResponseTimeRootCauses() const
TraceSummary & WithMatchedEventTime(const Aws::Utils::DateTime &value)
bool UsersHasBeenSet() const
TraceSummary & AddAnnotations(const Aws::String &key, const Aws::Vector< ValueWithServiceIds > &value)
void SetResourceARNs(const Aws::Vector< ResourceARNDetail > &value)
void SetUsers(Aws::Vector< TraceUser > &&value)
TraceSummary & WithDuration(double value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< InstanceIdDetail > & GetInstanceIds() const
TraceSummary & WithStartTime(Aws::Utils::DateTime &&value)
TraceSummary & AddAnnotations(const char *key, const Aws::Vector< ValueWithServiceIds > &value)
bool ResponseTimeRootCausesHasBeenSet() const
TraceSummary & WithMatchedEventTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetStartTime(const Aws::Utils::DateTime &value)
bool MatchedEventTimeHasBeenSet() const
TraceSummary & AddFaultRootCauses(const FaultRootCause &value)
TraceSummary & AddAvailabilityZones(AvailabilityZoneDetail &&value)
void SetAvailabilityZones(const Aws::Vector< AvailabilityZoneDetail > &value)
bool StartTimeHasBeenSet() const
TraceSummary & WithUsers(const Aws::Vector< TraceUser > &value)
TraceSummary & WithAnnotations(Aws::Map< Aws::String, Aws::Vector< ValueWithServiceIds > > &&value)
TraceSummary & AddInstanceIds(InstanceIdDetail &&value)
TraceSummary & AddResourceARNs(const ResourceARNDetail &value)
void SetMatchedEventTime(Aws::Utils::DateTime &&value)
const Aws::Vector< TraceUser > & GetUsers() const
double GetDuration() const
AWS_XRAY_API TraceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
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