AWS SDK for C++  1.9.106
AWS SDK for C++
Edge.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <aws/xray/model/Alias.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace XRay
26 {
27 namespace Model
28 {
29 
36  {
37  public:
38  Edge();
42 
43 
47  inline int GetReferenceId() const{ return m_referenceId; }
48 
52  inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
53 
57  inline void SetReferenceId(int value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
58 
62  inline Edge& WithReferenceId(int value) { SetReferenceId(value); return *this;}
63 
64 
68  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
69 
73  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
74 
78  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
79 
83  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
84 
88  inline Edge& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
89 
93  inline Edge& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
94 
95 
99  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
100 
104  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
105 
109  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
110 
114  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
115 
119  inline Edge& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
120 
124  inline Edge& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
125 
126 
130  inline const EdgeStatistics& GetSummaryStatistics() const{ return m_summaryStatistics; }
131 
135  inline bool SummaryStatisticsHasBeenSet() const { return m_summaryStatisticsHasBeenSet; }
136 
140  inline void SetSummaryStatistics(const EdgeStatistics& value) { m_summaryStatisticsHasBeenSet = true; m_summaryStatistics = value; }
141 
145  inline void SetSummaryStatistics(EdgeStatistics&& value) { m_summaryStatisticsHasBeenSet = true; m_summaryStatistics = std::move(value); }
146 
150  inline Edge& WithSummaryStatistics(const EdgeStatistics& value) { SetSummaryStatistics(value); return *this;}
151 
155  inline Edge& WithSummaryStatistics(EdgeStatistics&& value) { SetSummaryStatistics(std::move(value)); return *this;}
156 
157 
161  inline const Aws::Vector<HistogramEntry>& GetResponseTimeHistogram() const{ return m_responseTimeHistogram; }
162 
166  inline bool ResponseTimeHistogramHasBeenSet() const { return m_responseTimeHistogramHasBeenSet; }
167 
171  inline void SetResponseTimeHistogram(const Aws::Vector<HistogramEntry>& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram = value; }
172 
176  inline void SetResponseTimeHistogram(Aws::Vector<HistogramEntry>&& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram = std::move(value); }
177 
181  inline Edge& WithResponseTimeHistogram(const Aws::Vector<HistogramEntry>& value) { SetResponseTimeHistogram(value); return *this;}
182 
186  inline Edge& WithResponseTimeHistogram(Aws::Vector<HistogramEntry>&& value) { SetResponseTimeHistogram(std::move(value)); return *this;}
187 
191  inline Edge& AddResponseTimeHistogram(const HistogramEntry& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(value); return *this; }
192 
196  inline Edge& AddResponseTimeHistogram(HistogramEntry&& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(std::move(value)); return *this; }
197 
198 
202  inline const Aws::Vector<Alias>& GetAliases() const{ return m_aliases; }
203 
207  inline bool AliasesHasBeenSet() const { return m_aliasesHasBeenSet; }
208 
212  inline void SetAliases(const Aws::Vector<Alias>& value) { m_aliasesHasBeenSet = true; m_aliases = value; }
213 
217  inline void SetAliases(Aws::Vector<Alias>&& value) { m_aliasesHasBeenSet = true; m_aliases = std::move(value); }
218 
222  inline Edge& WithAliases(const Aws::Vector<Alias>& value) { SetAliases(value); return *this;}
223 
227  inline Edge& WithAliases(Aws::Vector<Alias>&& value) { SetAliases(std::move(value)); return *this;}
228 
232  inline Edge& AddAliases(const Alias& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(value); return *this; }
233 
237  inline Edge& AddAliases(Alias&& value) { m_aliasesHasBeenSet = true; m_aliases.push_back(std::move(value)); return *this; }
238 
239  private:
240 
241  int m_referenceId;
242  bool m_referenceIdHasBeenSet;
243 
244  Aws::Utils::DateTime m_startTime;
245  bool m_startTimeHasBeenSet;
246 
247  Aws::Utils::DateTime m_endTime;
248  bool m_endTimeHasBeenSet;
249 
250  EdgeStatistics m_summaryStatistics;
251  bool m_summaryStatisticsHasBeenSet;
252 
253  Aws::Vector<HistogramEntry> m_responseTimeHistogram;
254  bool m_responseTimeHistogramHasBeenSet;
255 
256  Aws::Vector<Alias> m_aliases;
257  bool m_aliasesHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace XRay
262 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
EdgeStatistics.h
HistogramEntry.h
Aws::XRay::Model::Edge::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: Edge.h:114
Aws::XRay::Model::Edge::ReferenceIdHasBeenSet
bool ReferenceIdHasBeenSet() const
Definition: Edge.h:52
Aws::XRay::Model::Edge::GetAliases
const Aws::Vector< Alias > & GetAliases() const
Definition: Edge.h:202
Aws::XRay::Model::Edge::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: Edge.h:68
Aws::XRay::Model::Alias
Definition: Alias.h:33
Aws::XRay::Model::Edge::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: Edge.h:104
Aws::XRay::Model::Edge::WithAliases
Edge & WithAliases(Aws::Vector< Alias > &&value)
Definition: Edge.h:227
Aws::XRay::Model::Edge::WithAliases
Edge & WithAliases(const Aws::Vector< Alias > &value)
Definition: Edge.h:222
Aws::XRay::Model::Edge::WithSummaryStatistics
Edge & WithSummaryStatistics(const EdgeStatistics &value)
Definition: Edge.h:150
Aws::XRay::Model::Edge::AddResponseTimeHistogram
Edge & AddResponseTimeHistogram(HistogramEntry &&value)
Definition: Edge.h:196
DateTime.h
Aws::XRay::Model::Edge::SetReferenceId
void SetReferenceId(int value)
Definition: Edge.h:57
Aws::XRay::Model::EdgeStatistics
Definition: EdgeStatistics.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::XRay::Model::Edge::WithStartTime
Edge & WithStartTime(const Aws::Utils::DateTime &value)
Definition: Edge.h:88
AWSVector.h
Aws::XRay::Model::Edge::SummaryStatisticsHasBeenSet
bool SummaryStatisticsHasBeenSet() const
Definition: Edge.h:135
Aws::XRay::Model::Edge
Definition: Edge.h:36
Aws::XRay::Model::Edge::AddAliases
Edge & AddAliases(Alias &&value)
Definition: Edge.h:237
Aws::XRay::Model::Edge::AddResponseTimeHistogram
Edge & AddResponseTimeHistogram(const HistogramEntry &value)
Definition: Edge.h:191
Aws::XRay::Model::Edge::SetAliases
void SetAliases(const Aws::Vector< Alias > &value)
Definition: Edge.h:212
Aws::XRay::Model::Edge::ResponseTimeHistogramHasBeenSet
bool ResponseTimeHistogramHasBeenSet() const
Definition: Edge.h:166
Aws::XRay::Model::Edge::AliasesHasBeenSet
bool AliasesHasBeenSet() const
Definition: Edge.h:207
Aws::XRay::Model::Edge::WithStartTime
Edge & WithStartTime(Aws::Utils::DateTime &&value)
Definition: Edge.h:93
Aws::XRay::Model::Edge::GetReferenceId
int GetReferenceId() const
Definition: Edge.h:47
Aws::XRay::Model::Edge::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::XRay::Model::HistogramEntry
Definition: HistogramEntry.h:32
Aws::XRay::Model::Edge::SetAliases
void SetAliases(Aws::Vector< Alias > &&value)
Definition: Edge.h:217
Aws::XRay::Model::Edge::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: Edge.h:99
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
XRay_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::XRay::Model::Edge::SetSummaryStatistics
void SetSummaryStatistics(const EdgeStatistics &value)
Definition: Edge.h:140
Aws::XRay::Model::Edge::Edge
Edge(Aws::Utils::Json::JsonView jsonValue)
Aws::XRay::Model::Edge::GetResponseTimeHistogram
const Aws::Vector< HistogramEntry > & GetResponseTimeHistogram() const
Definition: Edge.h:161
Aws::XRay::Model::Edge::WithEndTime
Edge & WithEndTime(Aws::Utils::DateTime &&value)
Definition: Edge.h:124
Aws::XRay::Model::Edge::SetSummaryStatistics
void SetSummaryStatistics(EdgeStatistics &&value)
Definition: Edge.h:145
Aws::XRay::Model::Edge::WithReferenceId
Edge & WithReferenceId(int value)
Definition: Edge.h:62
Aws::XRay::Model::Edge::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: Edge.h:83
Aws::XRay::Model::Edge::AddAliases
Edge & AddAliases(const Alias &value)
Definition: Edge.h:232
Alias.h
Aws::XRay::Model::Edge::WithSummaryStatistics
Edge & WithSummaryStatistics(EdgeStatistics &&value)
Definition: Edge.h:155
AWS_XRAY_API
#define AWS_XRAY_API
Definition: XRay_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::XRay::Model::Edge::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: Edge.h:78
Aws::XRay::Model::Edge::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: Edge.h:73
Aws::XRay::Model::Edge::WithResponseTimeHistogram
Edge & WithResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
Definition: Edge.h:186
Aws::XRay::Model::Edge::SetResponseTimeHistogram
void SetResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
Definition: Edge.h:171
Aws::XRay::Model::Edge::GetSummaryStatistics
const EdgeStatistics & GetSummaryStatistics() const
Definition: Edge.h:130
Aws::XRay::Model::Edge::WithEndTime
Edge & WithEndTime(const Aws::Utils::DateTime &value)
Definition: Edge.h:119
Aws::XRay::Model::Edge::operator=
Edge & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::XRay::Model::Edge::Edge
Edge()
Aws::XRay::Model::Edge::WithResponseTimeHistogram
Edge & WithResponseTimeHistogram(const Aws::Vector< HistogramEntry > &value)
Definition: Edge.h:181
Aws::XRay::Model::Edge::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: Edge.h:109
Aws::XRay::Model::Edge::SetResponseTimeHistogram
void SetResponseTimeHistogram(Aws::Vector< HistogramEntry > &&value)
Definition: Edge.h:176