AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Edge.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/xray/model/EdgeStatistics.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/xray/model/HistogramEntry.h>
13#include <aws/xray/model/Alias.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace XRay
27{
28namespace Model
29{
30
39 class Edge
40 {
41 public:
42 AWS_XRAY_API Edge();
43 AWS_XRAY_API Edge(Aws::Utils::Json::JsonView jsonValue);
44 AWS_XRAY_API Edge& operator=(Aws::Utils::Json::JsonView jsonValue);
46
47
49
52 inline int GetReferenceId() const{ return m_referenceId; }
53 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
54 inline void SetReferenceId(int value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
55 inline Edge& WithReferenceId(int value) { SetReferenceId(value); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
63 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
64 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
65 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
66 inline Edge& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
67 inline Edge& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
75 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
76 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
77 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
78 inline Edge& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
79 inline Edge& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
81
83
86 inline const EdgeStatistics& GetSummaryStatistics() const{ return m_summaryStatistics; }
87 inline bool SummaryStatisticsHasBeenSet() const { return m_summaryStatisticsHasBeenSet; }
88 inline void SetSummaryStatistics(const EdgeStatistics& value) { m_summaryStatisticsHasBeenSet = true; m_summaryStatistics = value; }
89 inline void SetSummaryStatistics(EdgeStatistics&& value) { m_summaryStatisticsHasBeenSet = true; m_summaryStatistics = std::move(value); }
90 inline Edge& WithSummaryStatistics(const EdgeStatistics& value) { SetSummaryStatistics(value); return *this;}
91 inline Edge& WithSummaryStatistics(EdgeStatistics&& value) { SetSummaryStatistics(std::move(value)); return *this;}
93
95
99 inline const Aws::Vector<HistogramEntry>& GetResponseTimeHistogram() const{ return m_responseTimeHistogram; }
100 inline bool ResponseTimeHistogramHasBeenSet() const { return m_responseTimeHistogramHasBeenSet; }
101 inline void SetResponseTimeHistogram(const Aws::Vector<HistogramEntry>& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram = value; }
102 inline void SetResponseTimeHistogram(Aws::Vector<HistogramEntry>&& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram = std::move(value); }
104 inline Edge& WithResponseTimeHistogram(Aws::Vector<HistogramEntry>&& value) { SetResponseTimeHistogram(std::move(value)); return *this;}
105 inline Edge& AddResponseTimeHistogram(const HistogramEntry& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(value); return *this; }
106 inline Edge& AddResponseTimeHistogram(HistogramEntry&& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(std::move(value)); return *this; }
108
110
113 inline const Aws::Vector<Alias>& GetAliases() const{ return m_aliases; }
114 inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
115 inline void SetAliases(const Aws::Vector<Alias>& value) { m_aliasesHasBeenSet = true; m_aliases = value; }
116 inline void SetAliases(Aws::Vector<Alias>&& value) { m_aliasesHasBeenSet = true; m_aliases = std::move(value); }
117 inline Edge& WithAliases(const Aws::Vector<Alias>& value) { SetAliases(value); return *this;}
118 inline Edge& WithAliases(Aws::Vector<Alias>&& value) { SetAliases(std::move(value)); return *this;}
119 inline Edge& AddAliases(const Alias& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; }
120 inline Edge& AddAliases(Alias&& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(std::move(value)); return *this; }
122
124
127 inline const Aws::String& GetEdgeType() const{ return m_edgeType; }
128 inline bool EdgeTypeHasBeenSet() const { return m_edgeTypeHasBeenSet; }
129 inline void SetEdgeType(const Aws::String& value) { m_edgeTypeHasBeenSet = true; m_edgeType = value; }
130 inline void SetEdgeType(Aws::String&& value) { m_edgeTypeHasBeenSet = true; m_edgeType = std::move(value); }
131 inline void SetEdgeType(const char* value) { m_edgeTypeHasBeenSet = true; m_edgeType.assign(value); }
132 inline Edge& WithEdgeType(const Aws::String& value) { SetEdgeType(value); return *this;}
133 inline Edge& WithEdgeType(Aws::String&& value) { SetEdgeType(std::move(value)); return *this;}
134 inline Edge& WithEdgeType(const char* value) { SetEdgeType(value); return *this;}
136
138
143 inline const Aws::Vector<HistogramEntry>& GetReceivedEventAgeHistogram() const{ return m_receivedEventAgeHistogram; }
144 inline bool ReceivedEventAgeHistogramHasBeenSet() const { return m_receivedEventAgeHistogramHasBeenSet; }
145 inline void SetReceivedEventAgeHistogram(const Aws::Vector<HistogramEntry>& value) { m_receivedEventAgeHistogramHasBeenSet = true; m_receivedEventAgeHistogram = value; }
146 inline void SetReceivedEventAgeHistogram(Aws::Vector<HistogramEntry>&& value) { m_receivedEventAgeHistogramHasBeenSet = true; m_receivedEventAgeHistogram = std::move(value); }
149 inline Edge& AddReceivedEventAgeHistogram(const HistogramEntry& value) { m_receivedEventAgeHistogramHasBeenSet = true; m_receivedEventAgeHistogram.push_back(value); return *this; }
150 inline Edge& AddReceivedEventAgeHistogram(HistogramEntry&& value) { m_receivedEventAgeHistogramHasBeenSet = true; m_receivedEventAgeHistogram.push_back(std::move(value)); return *this; }
152 private:
153
154 int m_referenceId;
155 bool m_referenceIdHasBeenSet = false;
156
157 Aws::Utils::DateTime m_startTime;
158 bool m_startTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_endTime;
161 bool m_endTimeHasBeenSet = false;
162
163 EdgeStatistics m_summaryStatistics;
164 bool m_summaryStatisticsHasBeenSet = false;
165
166 Aws::Vector<HistogramEntry> m_responseTimeHistogram;
167 bool m_responseTimeHistogramHasBeenSet = false;
168
169 Aws::Vector<Alias> m_aliases;
170 bool m_aliasesHasBeenSet = false;
171
172 Aws::String m_edgeType;
173 bool m_edgeTypeHasBeenSet = false;
174
175 Aws::Vector<HistogramEntry> m_receivedEventAgeHistogram;
176 bool m_receivedEventAgeHistogramHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace XRay
181} // namespace Aws
const Aws::Vector< HistogramEntry > & GetReceivedEventAgeHistogram() const
Definition Edge.h:143
bool ResponseTimeHistogramHasBeenSet() const
Definition Edge.h:100
void SetAliases(const Aws::Vector< Alias > &value)
Definition Edge.h:115
void SetEdgeType(const Aws::String &value)
Definition Edge.h:129
Edge & WithStartTime(const Aws::Utils::DateTime &value)
Definition Edge.h:66
AWS_XRAY_API Edge(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEdgeType() const
Definition Edge.h:127
bool AliasesHasBeenSet() const
Definition Edge.h:114
Edge & WithReceivedEventAgeHistogram(Aws::Vector< HistogramEntry > &&value)
Definition Edge.h:148
void SetAliases(Aws::Vector< Alias > &&value)
Definition Edge.h:116
int GetReferenceId() const
Definition Edge.h:52
Edge & AddResponseTimeHistogram(const HistogramEntry &value)
Definition Edge.h:105
Edge & WithAliases(Aws::Vector< Alias > &&value)
Definition Edge.h:118
void SetEdgeType(Aws::String &&value)
Definition Edge.h:130
void SetSummaryStatistics(const EdgeStatistics &value)
Definition Edge.h:88
bool ReceivedEventAgeHistogramHasBeenSet() const
Definition Edge.h:144
Edge & AddResponseTimeHistogram(HistogramEntry &&value)
Definition Edge.h:106
Edge & AddReceivedEventAgeHistogram(const HistogramEntry &value)
Definition Edge.h:149
Edge & WithSummaryStatistics(EdgeStatistics &&value)
Definition Edge.h:91
Edge & WithReceivedEventAgeHistogram(const Aws::Vector< HistogramEntry > &value)
Definition Edge.h:147
Edge & WithEndTime(const Aws::Utils::DateTime &value)
Definition Edge.h:78
const Aws::Utils::DateTime & GetStartTime() const
Definition Edge.h:62
Edge & WithEdgeType(const char *value)
Definition Edge.h:134
Edge & WithEdgeType(const Aws::String &value)
Definition Edge.h:132
void SetEdgeType(const char *value)
Definition Edge.h:131
void SetStartTime(Aws::Utils::DateTime &&value)
Definition Edge.h:65
Edge & WithResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
Definition Edge.h:103
const EdgeStatistics & GetSummaryStatistics() const
Definition Edge.h:86
void SetStartTime(const Aws::Utils::DateTime &value)
Definition Edge.h:64
bool EndTimeHasBeenSet() const
Definition Edge.h:75
bool EdgeTypeHasBeenSet() const
Definition Edge.h:128
Edge & WithReferenceId(int value)
Definition Edge.h:55
Edge & AddAliases(Alias &&value)
Definition Edge.h:120
const Aws::Vector< HistogramEntry > & GetResponseTimeHistogram() const
Definition Edge.h:99
bool StartTimeHasBeenSet() const
Definition Edge.h:63
void SetReferenceId(int value)
Definition Edge.h:54
Edge & WithSummaryStatistics(const EdgeStatistics &value)
Definition Edge.h:90
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTime(Aws::Utils::DateTime &&value)
Definition Edge.h:77
void SetResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
Definition Edge.h:102
Edge & WithEdgeType(Aws::String &&value)
Definition Edge.h:133
const Aws::Vector< Alias > & GetAliases() const
Definition Edge.h:113
void SetReceivedEventAgeHistogram(const Aws::Vector< HistogramEntry > &value)
Definition Edge.h:145
const Aws::Utils::DateTime & GetEndTime() const
Definition Edge.h:74
void SetSummaryStatistics(EdgeStatistics &&value)
Definition Edge.h:89
AWS_XRAY_API Edge()
Edge & WithAliases(const Aws::Vector< Alias > &value)
Definition Edge.h:117
Edge & WithStartTime(Aws::Utils::DateTime &&value)
Definition Edge.h:67
void SetResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
Definition Edge.h:101
AWS_XRAY_API Edge & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReferenceIdHasBeenSet() const
Definition Edge.h:53
void SetReceivedEventAgeHistogram(Aws::Vector< HistogramEntry > &&value)
Definition Edge.h:146
Edge & AddAliases(const Alias &value)
Definition Edge.h:119
Edge & AddReceivedEventAgeHistogram(HistogramEntry &&value)
Definition Edge.h:150
Edge & WithResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
Definition Edge.h:104
Edge & WithEndTime(Aws::Utils::DateTime &&value)
Definition Edge.h:79
bool SummaryStatisticsHasBeenSet() const
Definition Edge.h:87
void SetEndTime(const Aws::Utils::DateTime &value)
Definition Edge.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue