AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BackendConnectionErrors.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace XRay {
17namespace Model {
18
25 public:
26 AWS_XRAY_API BackendConnectionErrors() = default;
30
32
35 inline int GetTimeoutCount() const { return m_timeoutCount; }
36 inline bool TimeoutCountHasBeenSet() const { return m_timeoutCountHasBeenSet; }
37 inline void SetTimeoutCount(int value) {
38 m_timeoutCountHasBeenSet = true;
39 m_timeoutCount = value;
40 }
42 SetTimeoutCount(value);
43 return *this;
44 }
46
48
51 inline int GetConnectionRefusedCount() const { return m_connectionRefusedCount; }
52 inline bool ConnectionRefusedCountHasBeenSet() const { return m_connectionRefusedCountHasBeenSet; }
53 inline void SetConnectionRefusedCount(int value) {
54 m_connectionRefusedCountHasBeenSet = true;
55 m_connectionRefusedCount = value;
56 }
59 return *this;
60 }
62
64
67 inline int GetHTTPCode4XXCount() const { return m_hTTPCode4XXCount; }
68 inline bool HTTPCode4XXCountHasBeenSet() const { return m_hTTPCode4XXCountHasBeenSet; }
69 inline void SetHTTPCode4XXCount(int value) {
70 m_hTTPCode4XXCountHasBeenSet = true;
71 m_hTTPCode4XXCount = value;
72 }
75 return *this;
76 }
78
80
83 inline int GetHTTPCode5XXCount() const { return m_hTTPCode5XXCount; }
84 inline bool HTTPCode5XXCountHasBeenSet() const { return m_hTTPCode5XXCountHasBeenSet; }
85 inline void SetHTTPCode5XXCount(int value) {
86 m_hTTPCode5XXCountHasBeenSet = true;
87 m_hTTPCode5XXCount = value;
88 }
91 return *this;
92 }
94
96
99 inline int GetUnknownHostCount() const { return m_unknownHostCount; }
100 inline bool UnknownHostCountHasBeenSet() const { return m_unknownHostCountHasBeenSet; }
101 inline void SetUnknownHostCount(int value) {
102 m_unknownHostCountHasBeenSet = true;
103 m_unknownHostCount = value;
104 }
106 SetUnknownHostCount(value);
107 return *this;
108 }
110
112
115 inline int GetOtherCount() const { return m_otherCount; }
116 inline bool OtherCountHasBeenSet() const { return m_otherCountHasBeenSet; }
117 inline void SetOtherCount(int value) {
118 m_otherCountHasBeenSet = true;
119 m_otherCount = value;
120 }
122 SetOtherCount(value);
123 return *this;
124 }
126 private:
127 int m_timeoutCount{0};
128
129 int m_connectionRefusedCount{0};
130
131 int m_hTTPCode4XXCount{0};
132
133 int m_hTTPCode5XXCount{0};
134
135 int m_unknownHostCount{0};
136
137 int m_otherCount{0};
138 bool m_timeoutCountHasBeenSet = false;
139 bool m_connectionRefusedCountHasBeenSet = false;
140 bool m_hTTPCode4XXCountHasBeenSet = false;
141 bool m_hTTPCode5XXCountHasBeenSet = false;
142 bool m_unknownHostCountHasBeenSet = false;
143 bool m_otherCountHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace XRay
148} // namespace Aws
BackendConnectionErrors & WithOtherCount(int value)
BackendConnectionErrors & WithTimeoutCount(int value)
BackendConnectionErrors & WithUnknownHostCount(int value)
BackendConnectionErrors & WithHTTPCode5XXCount(int value)
BackendConnectionErrors & WithHTTPCode4XXCount(int value)
AWS_XRAY_API BackendConnectionErrors & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API BackendConnectionErrors(Aws::Utils::Json::JsonView jsonValue)
BackendConnectionErrors & WithConnectionRefusedCount(int value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API BackendConnectionErrors()=default
Aws::Utils::Json::JsonValue JsonValue