AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TraceSummary.h
1
6#pragma once
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>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace XRay
35{
36namespace Model
37{
38
46 {
47 public:
48 AWS_XRAY_API TraceSummary();
52
53
55
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
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); }
64 inline TraceSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline TraceSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline TraceSummary& WithId(const char* value) { SetId(value); return *this;}
68
70
74 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
75 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
76 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
77 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
78 inline TraceSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
79 inline TraceSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
81
83
87 inline double GetDuration() const{ return m_duration; }
88 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
89 inline void SetDuration(double value) { m_durationHasBeenSet = true; m_duration = value; }
90 inline TraceSummary& WithDuration(double value) { SetDuration(value); return *this;}
92
94
100 inline double GetResponseTime() const{ return m_responseTime; }
101 inline bool ResponseTimeHasBeenSet() const { return m_responseTimeHasBeenSet; }
102 inline void SetResponseTime(double value) { m_responseTimeHasBeenSet = true; m_responseTime = value; }
103 inline TraceSummary& WithResponseTime(double value) { SetResponseTime(value); return *this;}
105
107
110 inline bool GetHasFault() const{ return m_hasFault; }
111 inline bool HasFaultHasBeenSet() const { return m_hasFaultHasBeenSet; }
112 inline void SetHasFault(bool value) { m_hasFaultHasBeenSet = true; m_hasFault = value; }
113 inline TraceSummary& WithHasFault(bool value) { SetHasFault(value); return *this;}
115
117
120 inline bool GetHasError() const{ return m_hasError; }
121 inline bool HasErrorHasBeenSet() const { return m_hasErrorHasBeenSet; }
122 inline void SetHasError(bool value) { m_hasErrorHasBeenSet = true; m_hasError = value; }
123 inline TraceSummary& WithHasError(bool value) { SetHasError(value); return *this;}
125
127
130 inline bool GetHasThrottle() const{ return m_hasThrottle; }
131 inline bool HasThrottleHasBeenSet() const { return m_hasThrottleHasBeenSet; }
132 inline void SetHasThrottle(bool value) { m_hasThrottleHasBeenSet = true; m_hasThrottle = value; }
133 inline TraceSummary& WithHasThrottle(bool value) { SetHasThrottle(value); return *this;}
135
137
140 inline bool GetIsPartial() const{ return m_isPartial; }
141 inline bool IsPartialHasBeenSet() const { return m_isPartialHasBeenSet; }
142 inline void SetIsPartial(bool value) { m_isPartialHasBeenSet = true; m_isPartial = value; }
143 inline TraceSummary& WithIsPartial(bool value) { SetIsPartial(value); return *this;}
145
147
150 inline const Http& GetHttp() const{ return m_http; }
151 inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
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); }
154 inline TraceSummary& WithHttp(const Http& value) { SetHttp(value); return *this;}
155 inline TraceSummary& WithHttp(Http&& value) { SetHttp(std::move(value)); return *this;}
157
159
162 inline const Aws::Map<Aws::String, Aws::Vector<ValueWithServiceIds>>& GetAnnotations() const{ return m_annotations; }
163 inline bool AnnotationsHasBeenSet() const { return m_annotationsHasBeenSet; }
164 inline void SetAnnotations(const Aws::Map<Aws::String, Aws::Vector<ValueWithServiceIds>>& value) { m_annotationsHasBeenSet = true; m_annotations = value; }
165 inline void SetAnnotations(Aws::Map<Aws::String, Aws::Vector<ValueWithServiceIds>>&& value) { m_annotationsHasBeenSet = true; m_annotations = std::move(value); }
168 inline TraceSummary& AddAnnotations(const Aws::String& key, const Aws::Vector<ValueWithServiceIds>& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, value); return *this; }
169 inline TraceSummary& AddAnnotations(Aws::String&& key, const Aws::Vector<ValueWithServiceIds>& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(std::move(key), value); return *this; }
170 inline TraceSummary& AddAnnotations(const Aws::String& key, Aws::Vector<ValueWithServiceIds>&& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, std::move(value)); return *this; }
171 inline TraceSummary& AddAnnotations(Aws::String&& key, Aws::Vector<ValueWithServiceIds>&& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(std::move(key), std::move(value)); return *this; }
172 inline TraceSummary& AddAnnotations(const char* key, Aws::Vector<ValueWithServiceIds>&& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, std::move(value)); return *this; }
173 inline TraceSummary& AddAnnotations(const char* key, const Aws::Vector<ValueWithServiceIds>& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, value); return *this; }
175
177
180 inline const Aws::Vector<TraceUser>& GetUsers() const{ return m_users; }
181 inline bool UsersHasBeenSet() const { return m_usersHasBeenSet; }
182 inline void SetUsers(const Aws::Vector<TraceUser>& value) { m_usersHasBeenSet = true; m_users = value; }
183 inline void SetUsers(Aws::Vector<TraceUser>&& value) { m_usersHasBeenSet = true; m_users = std::move(value); }
184 inline TraceSummary& WithUsers(const Aws::Vector<TraceUser>& value) { SetUsers(value); return *this;}
185 inline TraceSummary& WithUsers(Aws::Vector<TraceUser>&& value) { SetUsers(std::move(value)); return *this;}
186 inline TraceSummary& AddUsers(const TraceUser& value) { m_usersHasBeenSet = true; m_users.push_back(value); return *this; }
187 inline TraceSummary& AddUsers(TraceUser&& value) { m_usersHasBeenSet = true; m_users.push_back(std::move(value)); return *this; }
189
191
194 inline const Aws::Vector<ServiceId>& GetServiceIds() const{ return m_serviceIds; }
195 inline bool ServiceIdsHasBeenSet() const { return m_serviceIdsHasBeenSet; }
196 inline void SetServiceIds(const Aws::Vector<ServiceId>& value) { m_serviceIdsHasBeenSet = true; m_serviceIds = value; }
197 inline void SetServiceIds(Aws::Vector<ServiceId>&& value) { m_serviceIdsHasBeenSet = true; m_serviceIds = std::move(value); }
198 inline TraceSummary& WithServiceIds(const Aws::Vector<ServiceId>& value) { SetServiceIds(value); return *this;}
199 inline TraceSummary& WithServiceIds(Aws::Vector<ServiceId>&& value) { SetServiceIds(std::move(value)); return *this;}
200 inline TraceSummary& AddServiceIds(const ServiceId& value) { m_serviceIdsHasBeenSet = true; m_serviceIds.push_back(value); return *this; }
201 inline TraceSummary& AddServiceIds(ServiceId&& value) { m_serviceIdsHasBeenSet = true; m_serviceIds.push_back(std::move(value)); return *this; }
203
205
209 inline const Aws::Vector<ResourceARNDetail>& GetResourceARNs() const{ return m_resourceARNs; }
210 inline bool ResourceARNsHasBeenSet() const { return m_resourceARNsHasBeenSet; }
211 inline void SetResourceARNs(const Aws::Vector<ResourceARNDetail>& value) { m_resourceARNsHasBeenSet = true; m_resourceARNs = value; }
212 inline void SetResourceARNs(Aws::Vector<ResourceARNDetail>&& value) { m_resourceARNsHasBeenSet = true; m_resourceARNs = std::move(value); }
214 inline TraceSummary& WithResourceARNs(Aws::Vector<ResourceARNDetail>&& value) { SetResourceARNs(std::move(value)); return *this;}
215 inline TraceSummary& AddResourceARNs(const ResourceARNDetail& value) { m_resourceARNsHasBeenSet = true; m_resourceARNs.push_back(value); return *this; }
216 inline TraceSummary& AddResourceARNs(ResourceARNDetail&& value) { m_resourceARNsHasBeenSet = true; m_resourceARNs.push_back(std::move(value)); return *this; }
218
220
224 inline const Aws::Vector<InstanceIdDetail>& GetInstanceIds() const{ return m_instanceIds; }
225 inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; }
226 inline void SetInstanceIds(const Aws::Vector<InstanceIdDetail>& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = value; }
227 inline void SetInstanceIds(Aws::Vector<InstanceIdDetail>&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds = std::move(value); }
228 inline TraceSummary& WithInstanceIds(const Aws::Vector<InstanceIdDetail>& value) { SetInstanceIds(value); return *this;}
229 inline TraceSummary& WithInstanceIds(Aws::Vector<InstanceIdDetail>&& value) { SetInstanceIds(std::move(value)); return *this;}
230 inline TraceSummary& AddInstanceIds(const InstanceIdDetail& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; }
231 inline TraceSummary& AddInstanceIds(InstanceIdDetail&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(std::move(value)); return *this; }
233
235
239 inline const Aws::Vector<AvailabilityZoneDetail>& GetAvailabilityZones() const{ return m_availabilityZones; }
240 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
241 inline void SetAvailabilityZones(const Aws::Vector<AvailabilityZoneDetail>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
242 inline void SetAvailabilityZones(Aws::Vector<AvailabilityZoneDetail>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
245 inline TraceSummary& AddAvailabilityZones(const AvailabilityZoneDetail& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
246 inline TraceSummary& AddAvailabilityZones(AvailabilityZoneDetail&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
248
250
253 inline const ServiceId& GetEntryPoint() const{ return m_entryPoint; }
254 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
255 inline void SetEntryPoint(const ServiceId& value) { m_entryPointHasBeenSet = true; m_entryPoint = value; }
256 inline void SetEntryPoint(ServiceId&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::move(value); }
257 inline TraceSummary& WithEntryPoint(const ServiceId& value) { SetEntryPoint(value); return *this;}
258 inline TraceSummary& WithEntryPoint(ServiceId&& value) { SetEntryPoint(std::move(value)); return *this;}
260
262
266 inline const Aws::Vector<FaultRootCause>& GetFaultRootCauses() const{ return m_faultRootCauses; }
267 inline bool FaultRootCausesHasBeenSet() const { return m_faultRootCausesHasBeenSet; }
268 inline void SetFaultRootCauses(const Aws::Vector<FaultRootCause>& value) { m_faultRootCausesHasBeenSet = true; m_faultRootCauses = value; }
269 inline void SetFaultRootCauses(Aws::Vector<FaultRootCause>&& value) { m_faultRootCausesHasBeenSet = true; m_faultRootCauses = std::move(value); }
271 inline TraceSummary& WithFaultRootCauses(Aws::Vector<FaultRootCause>&& value) { SetFaultRootCauses(std::move(value)); return *this;}
272 inline TraceSummary& AddFaultRootCauses(const FaultRootCause& value) { m_faultRootCausesHasBeenSet = true; m_faultRootCauses.push_back(value); return *this; }
273 inline TraceSummary& AddFaultRootCauses(FaultRootCause&& value) { m_faultRootCausesHasBeenSet = true; m_faultRootCauses.push_back(std::move(value)); return *this; }
275
277
281 inline const Aws::Vector<ErrorRootCause>& GetErrorRootCauses() const{ return m_errorRootCauses; }
282 inline bool ErrorRootCausesHasBeenSet() const { return m_errorRootCausesHasBeenSet; }
283 inline void SetErrorRootCauses(const Aws::Vector<ErrorRootCause>& value) { m_errorRootCausesHasBeenSet = true; m_errorRootCauses = value; }
284 inline void SetErrorRootCauses(Aws::Vector<ErrorRootCause>&& value) { m_errorRootCausesHasBeenSet = true; m_errorRootCauses = std::move(value); }
286 inline TraceSummary& WithErrorRootCauses(Aws::Vector<ErrorRootCause>&& value) { SetErrorRootCauses(std::move(value)); return *this;}
287 inline TraceSummary& AddErrorRootCauses(const ErrorRootCause& value) { m_errorRootCausesHasBeenSet = true; m_errorRootCauses.push_back(value); return *this; }
288 inline TraceSummary& AddErrorRootCauses(ErrorRootCause&& value) { m_errorRootCausesHasBeenSet = true; m_errorRootCauses.push_back(std::move(value)); return *this; }
290
292
296 inline const Aws::Vector<ResponseTimeRootCause>& GetResponseTimeRootCauses() const{ return m_responseTimeRootCauses; }
297 inline bool ResponseTimeRootCausesHasBeenSet() const { return m_responseTimeRootCausesHasBeenSet; }
298 inline void SetResponseTimeRootCauses(const Aws::Vector<ResponseTimeRootCause>& value) { m_responseTimeRootCausesHasBeenSet = true; m_responseTimeRootCauses = value; }
299 inline void SetResponseTimeRootCauses(Aws::Vector<ResponseTimeRootCause>&& value) { m_responseTimeRootCausesHasBeenSet = true; m_responseTimeRootCauses = std::move(value); }
302 inline TraceSummary& AddResponseTimeRootCauses(const ResponseTimeRootCause& value) { m_responseTimeRootCausesHasBeenSet = true; m_responseTimeRootCauses.push_back(value); return *this; }
303 inline TraceSummary& AddResponseTimeRootCauses(ResponseTimeRootCause&& value) { m_responseTimeRootCausesHasBeenSet = true; m_responseTimeRootCauses.push_back(std::move(value)); return *this; }
305
307
310 inline int GetRevision() const{ return m_revision; }
311 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
312 inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
313 inline TraceSummary& WithRevision(int value) { SetRevision(value); return *this;}
315
317
320 inline const Aws::Utils::DateTime& GetMatchedEventTime() const{ return m_matchedEventTime; }
321 inline bool MatchedEventTimeHasBeenSet() const { return m_matchedEventTimeHasBeenSet; }
322 inline void SetMatchedEventTime(const Aws::Utils::DateTime& value) { m_matchedEventTimeHasBeenSet = true; m_matchedEventTime = value; }
323 inline void SetMatchedEventTime(Aws::Utils::DateTime&& value) { m_matchedEventTimeHasBeenSet = true; m_matchedEventTime = std::move(value); }
324 inline TraceSummary& WithMatchedEventTime(const Aws::Utils::DateTime& value) { SetMatchedEventTime(value); return *this;}
325 inline TraceSummary& WithMatchedEventTime(Aws::Utils::DateTime&& value) { SetMatchedEventTime(std::move(value)); return *this;}
327 private:
328
329 Aws::String m_id;
330 bool m_idHasBeenSet = false;
331
332 Aws::Utils::DateTime m_startTime;
333 bool m_startTimeHasBeenSet = false;
334
335 double m_duration;
336 bool m_durationHasBeenSet = false;
337
338 double m_responseTime;
339 bool m_responseTimeHasBeenSet = false;
340
341 bool m_hasFault;
342 bool m_hasFaultHasBeenSet = false;
343
344 bool m_hasError;
345 bool m_hasErrorHasBeenSet = false;
346
347 bool m_hasThrottle;
348 bool m_hasThrottleHasBeenSet = false;
349
350 bool m_isPartial;
351 bool m_isPartialHasBeenSet = false;
352
353 Http m_http;
354 bool m_httpHasBeenSet = false;
355
357 bool m_annotationsHasBeenSet = false;
358
360 bool m_usersHasBeenSet = false;
361
362 Aws::Vector<ServiceId> m_serviceIds;
363 bool m_serviceIdsHasBeenSet = false;
364
365 Aws::Vector<ResourceARNDetail> m_resourceARNs;
366 bool m_resourceARNsHasBeenSet = false;
367
368 Aws::Vector<InstanceIdDetail> m_instanceIds;
369 bool m_instanceIdsHasBeenSet = false;
370
371 Aws::Vector<AvailabilityZoneDetail> m_availabilityZones;
372 bool m_availabilityZonesHasBeenSet = false;
373
374 ServiceId m_entryPoint;
375 bool m_entryPointHasBeenSet = false;
376
377 Aws::Vector<FaultRootCause> m_faultRootCauses;
378 bool m_faultRootCausesHasBeenSet = false;
379
380 Aws::Vector<ErrorRootCause> m_errorRootCauses;
381 bool m_errorRootCausesHasBeenSet = false;
382
383 Aws::Vector<ResponseTimeRootCause> m_responseTimeRootCauses;
384 bool m_responseTimeRootCausesHasBeenSet = false;
385
386 int m_revision;
387 bool m_revisionHasBeenSet = false;
388
389 Aws::Utils::DateTime m_matchedEventTime;
390 bool m_matchedEventTimeHasBeenSet = false;
391 };
392
393} // namespace Model
394} // namespace XRay
395} // namespace Aws
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)
TraceSummary & AddErrorRootCauses(const ErrorRootCause &value)
void SetErrorRootCauses(const Aws::Vector< ErrorRootCause > &value)
void SetResponseTimeRootCauses(Aws::Vector< ResponseTimeRootCause > &&value)
TraceSummary & AddResourceARNs(ResourceARNDetail &&value)
TraceSummary & WithIsPartial(bool value)
const Http & GetHttp() const
const Aws::Vector< ServiceId > & GetServiceIds() const
void SetServiceIds(const Aws::Vector< ServiceId > &value)
TraceSummary & WithEntryPoint(const ServiceId &value)
TraceSummary & WithServiceIds(const Aws::Vector< ServiceId > &value)
const ServiceId & GetEntryPoint() const
const Aws::Vector< ResourceARNDetail > & GetResourceARNs() const
void SetInstanceIds(Aws::Vector< InstanceIdDetail > &&value)
TraceSummary & AddInstanceIds(const InstanceIdDetail &value)
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)
TraceSummary & AddServiceIds(const ServiceId &value)
void SetUsers(const Aws::Vector< TraceUser > &value)
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)
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)
TraceSummary & AddServiceIds(ServiceId &&value)
void SetResponseTime(double value)
const Aws::Vector< FaultRootCause > & GetFaultRootCauses() const
TraceSummary & WithResponseTime(double value)
TraceSummary & WithUsers(Aws::Vector< TraceUser > &&value)
TraceSummary & WithErrorRootCauses(Aws::Vector< ErrorRootCause > &&value)
TraceSummary & WithStartTime(const Aws::Utils::DateTime &value)
TraceSummary & AddAnnotations(Aws::String &&key, Aws::Vector< ValueWithServiceIds > &&value)
void SetFaultRootCauses(const Aws::Vector< FaultRootCause > &value)
void SetFaultRootCauses(Aws::Vector< FaultRootCause > &&value)
TraceSummary & WithServiceIds(Aws::Vector< ServiceId > &&value)
TraceSummary & AddAvailabilityZones(const AvailabilityZoneDetail &value)
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
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)
TraceSummary & WithRevision(int value)
const Aws::Vector< ResponseTimeRootCause > & GetResponseTimeRootCauses() const
TraceSummary & WithMatchedEventTime(const Aws::Utils::DateTime &value)
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)
TraceSummary & AddFaultRootCauses(const FaultRootCause &value)
TraceSummary & AddAvailabilityZones(AvailabilityZoneDetail &&value)
void SetAvailabilityZones(const Aws::Vector< AvailabilityZoneDetail > &value)
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
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