7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/xray/XRay_EXPORTS.h>
12#include <aws/xray/model/AvailabilityZoneDetail.h>
13#include <aws/xray/model/ErrorRootCause.h>
14#include <aws/xray/model/FaultRootCause.h>
15#include <aws/xray/model/Http.h>
16#include <aws/xray/model/InstanceIdDetail.h>
17#include <aws/xray/model/ResourceARNDetail.h>
18#include <aws/xray/model/ResponseTimeRootCause.h>
19#include <aws/xray/model/ServiceId.h>
20#include <aws/xray/model/TraceUser.h>
21#include <aws/xray/model/ValueWithServiceIds.h>
55 template <
typename IdT = Aws::String>
57 m_idHasBeenSet =
true;
58 m_id = std::forward<IdT>(value);
60 template <
typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
74 template <
typename StartTimeT = Aws::Utils::DateTime>
76 m_startTimeHasBeenSet =
true;
77 m_startTime = std::forward<StartTimeT>(value);
79 template <
typename StartTimeT = Aws::Utils::DateTime>
94 m_durationHasBeenSet =
true;
113 m_responseTimeHasBeenSet =
true;
114 m_responseTime = value;
129 m_hasFaultHasBeenSet =
true;
145 m_hasErrorHasBeenSet =
true;
161 m_hasThrottleHasBeenSet =
true;
162 m_hasThrottle = value;
177 m_isPartialHasBeenSet =
true;
192 template <
typename HttpT = Http>
194 m_httpHasBeenSet =
true;
195 m_http = std::forward<HttpT>(value);
197 template <
typename HttpT = Http>
199 SetHttp(std::forward<HttpT>(value));
210 template <
typename AnnotationsT = Aws::Map<Aws::String, Aws::Vector<ValueWithServiceIds>>>
212 m_annotationsHasBeenSet =
true;
213 m_annotations = std::forward<AnnotationsT>(value);
215 template <
typename AnnotationsT = Aws::Map<Aws::String, Aws::Vector<ValueWithServiceIds>>>
220 template <
typename AnnotationsKeyT = Aws::String,
typename AnnotationsValueT = Aws::Vector<ValueWithServiceIds>>
222 m_annotationsHasBeenSet =
true;
223 m_annotations.emplace(std::forward<AnnotationsKeyT>(key), std::forward<AnnotationsValueT>(value));
234 template <
typename UsersT = Aws::Vector<TraceUser>>
236 m_usersHasBeenSet =
true;
237 m_users = std::forward<UsersT>(value);
239 template <
typename UsersT = Aws::Vector<TraceUser>>
241 SetUsers(std::forward<UsersT>(value));
244 template <
typename UsersT = TraceUser>
246 m_usersHasBeenSet =
true;
247 m_users.emplace_back(std::forward<UsersT>(value));
258 template <
typename ServiceIdsT = Aws::Vector<ServiceId>>
260 m_serviceIdsHasBeenSet =
true;
261 m_serviceIds = std::forward<ServiceIdsT>(value);
263 template <
typename ServiceIdsT = Aws::Vector<ServiceId>>
268 template <
typename ServiceIdsT = ServiceId>
270 m_serviceIdsHasBeenSet =
true;
271 m_serviceIds.emplace_back(std::forward<ServiceIdsT>(value));
283 template <
typename ResourceARNsT = Aws::Vector<ResourceARNDetail>>
285 m_resourceARNsHasBeenSet =
true;
286 m_resourceARNs = std::forward<ResourceARNsT>(value);
288 template <
typename ResourceARNsT = Aws::Vector<ResourceARNDetail>>
293 template <
typename ResourceARNsT = ResourceARNDetail>
295 m_resourceARNsHasBeenSet =
true;
296 m_resourceARNs.emplace_back(std::forward<ResourceARNsT>(value));
308 template <
typename InstanceIdsT = Aws::Vector<InstanceIdDetail>>
310 m_instanceIdsHasBeenSet =
true;
311 m_instanceIds = std::forward<InstanceIdsT>(value);
313 template <
typename InstanceIdsT = Aws::Vector<InstanceIdDetail>>
318 template <
typename InstanceIdsT = InstanceIdDetail>
320 m_instanceIdsHasBeenSet =
true;
321 m_instanceIds.emplace_back(std::forward<InstanceIdsT>(value));
333 template <
typename AvailabilityZonesT = Aws::Vector<AvailabilityZoneDetail>>
335 m_availabilityZonesHasBeenSet =
true;
336 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
338 template <
typename AvailabilityZonesT = Aws::Vector<AvailabilityZoneDetail>>
343 template <
typename AvailabilityZonesT = AvailabilityZoneDetail>
345 m_availabilityZonesHasBeenSet =
true;
346 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
357 template <
typename EntryPo
intT = ServiceId>
359 m_entryPointHasBeenSet =
true;
360 m_entryPoint = std::forward<EntryPointT>(value);
362 template <
typename EntryPo
intT = ServiceId>
376 template <
typename FaultRootCausesT = Aws::Vector<FaultRootCause>>
378 m_faultRootCausesHasBeenSet =
true;
379 m_faultRootCauses = std::forward<FaultRootCausesT>(value);
381 template <
typename FaultRootCausesT = Aws::Vector<FaultRootCause>>
386 template <
typename FaultRootCausesT = FaultRootCause>
388 m_faultRootCausesHasBeenSet =
true;
389 m_faultRootCauses.emplace_back(std::forward<FaultRootCausesT>(value));
401 template <
typename ErrorRootCausesT = Aws::Vector<ErrorRootCause>>
403 m_errorRootCausesHasBeenSet =
true;
404 m_errorRootCauses = std::forward<ErrorRootCausesT>(value);
406 template <
typename ErrorRootCausesT = Aws::Vector<ErrorRootCause>>
411 template <
typename ErrorRootCausesT = ErrorRootCause>
413 m_errorRootCausesHasBeenSet =
true;
414 m_errorRootCauses.emplace_back(std::forward<ErrorRootCausesT>(value));
426 template <
typename ResponseTimeRootCausesT = Aws::Vector<ResponseTimeRootCause>>
428 m_responseTimeRootCausesHasBeenSet =
true;
429 m_responseTimeRootCauses = std::forward<ResponseTimeRootCausesT>(value);
431 template <
typename ResponseTimeRootCausesT = Aws::Vector<ResponseTimeRootCause>>
436 template <
typename ResponseTimeRootCausesT = ResponseTimeRootCause>
438 m_responseTimeRootCausesHasBeenSet =
true;
439 m_responseTimeRootCauses.emplace_back(std::forward<ResponseTimeRootCausesT>(value));
451 m_revisionHasBeenSet =
true;
466 template <
typename MatchedEventTimeT = Aws::Utils::DateTime>
468 m_matchedEventTimeHasBeenSet =
true;
469 m_matchedEventTime = std::forward<MatchedEventTimeT>(value);
471 template <
typename MatchedEventTimeT = Aws::Utils::DateTime>
482 double m_duration{0.0};
484 double m_responseTime{0.0};
486 bool m_hasFault{
false};
488 bool m_hasError{
false};
490 bool m_hasThrottle{
false};
492 bool m_isPartial{
false};
508 ServiceId m_entryPoint;
519 bool m_idHasBeenSet =
false;
520 bool m_startTimeHasBeenSet =
false;
521 bool m_durationHasBeenSet =
false;
522 bool m_responseTimeHasBeenSet =
false;
523 bool m_hasFaultHasBeenSet =
false;
524 bool m_hasErrorHasBeenSet =
false;
525 bool m_hasThrottleHasBeenSet =
false;
526 bool m_isPartialHasBeenSet =
false;
527 bool m_httpHasBeenSet =
false;
528 bool m_annotationsHasBeenSet =
false;
529 bool m_usersHasBeenSet =
false;
530 bool m_serviceIdsHasBeenSet =
false;
531 bool m_resourceARNsHasBeenSet =
false;
532 bool m_instanceIdsHasBeenSet =
false;
533 bool m_availabilityZonesHasBeenSet =
false;
534 bool m_entryPointHasBeenSet =
false;
535 bool m_faultRootCausesHasBeenSet =
false;
536 bool m_errorRootCausesHasBeenSet =
false;
537 bool m_responseTimeRootCausesHasBeenSet =
false;
538 bool m_revisionHasBeenSet =
false;
539 bool m_matchedEventTimeHasBeenSet =
false;
const Aws::Utils::DateTime & GetMatchedEventTime() const
const Aws::Map< Aws::String, Aws::Vector< ValueWithServiceIds > > & GetAnnotations() const
TraceSummary & WithId(IdT &&value)
void SetStartTime(StartTimeT &&value)
void SetMatchedEventTime(MatchedEventTimeT &&value)
TraceSummary & WithHasThrottle(bool value)
TraceSummary & WithResourceARNs(ResourceARNsT &&value)
bool GetHasThrottle() const
void SetServiceIds(ServiceIdsT &&value)
void SetHasThrottle(bool value)
TraceSummary & WithIsPartial(bool value)
const Http & GetHttp() const
const Aws::Vector< ServiceId > & GetServiceIds() const
bool AnnotationsHasBeenSet() const
bool HasErrorHasBeenSet() const
TraceSummary & AddFaultRootCauses(FaultRootCausesT &&value)
void SetRevision(int value)
void SetResponseTimeRootCauses(ResponseTimeRootCausesT &&value)
TraceSummary & WithAvailabilityZones(AvailabilityZonesT &&value)
void SetEntryPoint(EntryPointT &&value)
bool DurationHasBeenSet() const
const ServiceId & GetEntryPoint() const
const Aws::Vector< ResourceARNDetail > & GetResourceARNs() const
TraceSummary & AddAvailabilityZones(AvailabilityZonesT &&value)
bool ResourceARNsHasBeenSet() const
void SetResourceARNs(ResourceARNsT &&value)
bool IdHasBeenSet() const
void SetErrorRootCauses(ErrorRootCausesT &&value)
double GetResponseTime() const
bool HttpHasBeenSet() const
TraceSummary & WithHasError(bool value)
TraceSummary & WithStartTime(StartTimeT &&value)
void SetHasError(bool value)
TraceSummary & WithHasFault(bool value)
TraceSummary & AddResponseTimeRootCauses(ResponseTimeRootCausesT &&value)
TraceSummary & WithErrorRootCauses(ErrorRootCausesT &&value)
void SetDuration(double value)
TraceSummary & WithInstanceIds(InstanceIdsT &&value)
AWS_XRAY_API TraceSummary(Aws::Utils::Json::JsonView jsonValue)
bool AvailabilityZonesHasBeenSet() const
void SetResponseTime(double value)
const Aws::Vector< FaultRootCause > & GetFaultRootCauses() const
void SetIsPartial(bool value)
void SetInstanceIds(InstanceIdsT &&value)
TraceSummary & WithResponseTime(double value)
bool GetIsPartial() const
TraceSummary & AddUsers(UsersT &&value)
bool IsPartialHasBeenSet() const
void SetFaultRootCauses(FaultRootCausesT &&value)
bool FaultRootCausesHasBeenSet() const
TraceSummary & AddResourceARNs(ResourceARNsT &&value)
void SetUsers(UsersT &&value)
bool ServiceIdsHasBeenSet() const
TraceSummary & AddAnnotations(AnnotationsKeyT &&key, AnnotationsValueT &&value)
bool EntryPointHasBeenSet() const
bool RevisionHasBeenSet() const
bool ResponseTimeHasBeenSet() const
void SetAnnotations(AnnotationsT &&value)
bool HasFaultHasBeenSet() const
bool ErrorRootCausesHasBeenSet() const
void SetHttp(HttpT &&value)
TraceSummary & WithAnnotations(AnnotationsT &&value)
TraceSummary & WithMatchedEventTime(MatchedEventTimeT &&value)
const Aws::String & GetId() const
const Aws::Vector< ErrorRootCause > & GetErrorRootCauses() const
void SetHasFault(bool value)
TraceSummary & AddErrorRootCauses(ErrorRootCausesT &&value)
TraceSummary & WithUsers(UsersT &&value)
AWS_XRAY_API TraceSummary()=default
TraceSummary & WithHttp(HttpT &&value)
const Aws::Vector< AvailabilityZoneDetail > & GetAvailabilityZones() const
bool InstanceIdsHasBeenSet() const
bool HasThrottleHasBeenSet() const
TraceSummary & WithRevision(int value)
const Aws::Vector< ResponseTimeRootCause > & GetResponseTimeRootCauses() const
bool UsersHasBeenSet() const
TraceSummary & WithFaultRootCauses(FaultRootCausesT &&value)
TraceSummary & AddInstanceIds(InstanceIdsT &&value)
TraceSummary & WithDuration(double value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< InstanceIdDetail > & GetInstanceIds() const
TraceSummary & AddServiceIds(ServiceIdsT &&value)
bool ResponseTimeRootCausesHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
bool MatchedEventTimeHasBeenSet() const
TraceSummary & WithEntryPoint(EntryPointT &&value)
TraceSummary & WithResponseTimeRootCauses(ResponseTimeRootCausesT &&value)
bool StartTimeHasBeenSet() const
void SetAvailabilityZones(AvailabilityZonesT &&value)
const Aws::Vector< TraceUser > & GetUsers() const
double GetDuration() const
AWS_XRAY_API TraceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TraceSummary & WithServiceIds(ServiceIdsT &&value)
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