AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackendConnectionErrors.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace XRay
20{
21namespace Model
22{
23
30 {
31 public:
36
37
39
42 inline int GetTimeoutCount() const{ return m_timeoutCount; }
43 inline bool TimeoutCountHasBeenSet() const { return m_timeoutCountHasBeenSet; }
44 inline void SetTimeoutCount(int value) { m_timeoutCountHasBeenSet = true; m_timeoutCount = value; }
45 inline BackendConnectionErrors& WithTimeoutCount(int value) { SetTimeoutCount(value); return *this;}
47
49
52 inline int GetConnectionRefusedCount() const{ return m_connectionRefusedCount; }
53 inline bool ConnectionRefusedCountHasBeenSet() const { return m_connectionRefusedCountHasBeenSet; }
54 inline void SetConnectionRefusedCount(int value) { m_connectionRefusedCountHasBeenSet = true; m_connectionRefusedCount = value; }
57
59
62 inline int GetHTTPCode4XXCount() const{ return m_hTTPCode4XXCount; }
63 inline bool HTTPCode4XXCountHasBeenSet() const { return m_hTTPCode4XXCountHasBeenSet; }
64 inline void SetHTTPCode4XXCount(int value) { m_hTTPCode4XXCountHasBeenSet = true; m_hTTPCode4XXCount = value; }
65 inline BackendConnectionErrors& WithHTTPCode4XXCount(int value) { SetHTTPCode4XXCount(value); return *this;}
67
69
72 inline int GetHTTPCode5XXCount() const{ return m_hTTPCode5XXCount; }
73 inline bool HTTPCode5XXCountHasBeenSet() const { return m_hTTPCode5XXCountHasBeenSet; }
74 inline void SetHTTPCode5XXCount(int value) { m_hTTPCode5XXCountHasBeenSet = true; m_hTTPCode5XXCount = value; }
75 inline BackendConnectionErrors& WithHTTPCode5XXCount(int value) { SetHTTPCode5XXCount(value); return *this;}
77
79
82 inline int GetUnknownHostCount() const{ return m_unknownHostCount; }
83 inline bool UnknownHostCountHasBeenSet() const { return m_unknownHostCountHasBeenSet; }
84 inline void SetUnknownHostCount(int value) { m_unknownHostCountHasBeenSet = true; m_unknownHostCount = value; }
85 inline BackendConnectionErrors& WithUnknownHostCount(int value) { SetUnknownHostCount(value); return *this;}
87
89
92 inline int GetOtherCount() const{ return m_otherCount; }
93 inline bool OtherCountHasBeenSet() const { return m_otherCountHasBeenSet; }
94 inline void SetOtherCount(int value) { m_otherCountHasBeenSet = true; m_otherCount = value; }
95 inline BackendConnectionErrors& WithOtherCount(int value) { SetOtherCount(value); return *this;}
97 private:
98
99 int m_timeoutCount;
100 bool m_timeoutCountHasBeenSet = false;
101
102 int m_connectionRefusedCount;
103 bool m_connectionRefusedCountHasBeenSet = false;
104
105 int m_hTTPCode4XXCount;
106 bool m_hTTPCode4XXCountHasBeenSet = false;
107
108 int m_hTTPCode5XXCount;
109 bool m_hTTPCode5XXCountHasBeenSet = false;
110
111 int m_unknownHostCount;
112 bool m_unknownHostCountHasBeenSet = false;
113
114 int m_otherCount;
115 bool m_otherCountHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace XRay
120} // 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::Utils::Json::JsonValue JsonValue