AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
VirtualNodeHttpConnectionPool.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace AppMesh {
17namespace Model {
18
26 public:
27 AWS_APPMESH_API VirtualNodeHttpConnectionPool() = default;
30 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetMaxConnections() const { return m_maxConnections; }
38 inline bool MaxConnectionsHasBeenSet() const { return m_maxConnectionsHasBeenSet; }
39 inline void SetMaxConnections(int value) {
40 m_maxConnectionsHasBeenSet = true;
41 m_maxConnections = value;
42 }
44 SetMaxConnections(value);
45 return *this;
46 }
48
50
54 inline int GetMaxPendingRequests() const { return m_maxPendingRequests; }
55 inline bool MaxPendingRequestsHasBeenSet() const { return m_maxPendingRequestsHasBeenSet; }
56 inline void SetMaxPendingRequests(int value) {
57 m_maxPendingRequestsHasBeenSet = true;
58 m_maxPendingRequests = value;
59 }
62 return *this;
63 }
65 private:
66 int m_maxConnections{0};
67
68 int m_maxPendingRequests{0};
69 bool m_maxConnectionsHasBeenSet = false;
70 bool m_maxPendingRequestsHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace AppMesh
75} // namespace Aws
VirtualNodeHttpConnectionPool & WithMaxConnections(int value)
VirtualNodeHttpConnectionPool & WithMaxPendingRequests(int value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API VirtualNodeHttpConnectionPool()=default
AWS_APPMESH_API VirtualNodeHttpConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualNodeHttpConnectionPool(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue