AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualNodeHttpConnectionPool.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_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 AppMesh
20{
21namespace Model
22{
23
31 {
32 public:
36 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetMaxConnections() const{ return m_maxConnections; }
45 inline bool MaxConnectionsHasBeenSet() const { return m_maxConnectionsHasBeenSet; }
46 inline void SetMaxConnections(int value) { m_maxConnectionsHasBeenSet = true; m_maxConnections = value; }
47 inline VirtualNodeHttpConnectionPool& WithMaxConnections(int value) { SetMaxConnections(value); return *this;}
49
51
55 inline int GetMaxPendingRequests() const{ return m_maxPendingRequests; }
56 inline bool MaxPendingRequestsHasBeenSet() const { return m_maxPendingRequestsHasBeenSet; }
57 inline void SetMaxPendingRequests(int value) { m_maxPendingRequestsHasBeenSet = true; m_maxPendingRequests = value; }
60 private:
61
62 int m_maxConnections;
63 bool m_maxConnectionsHasBeenSet = false;
64
65 int m_maxPendingRequests;
66 bool m_maxPendingRequestsHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace AppMesh
71} // namespace Aws
VirtualNodeHttpConnectionPool & WithMaxConnections(int value)
VirtualNodeHttpConnectionPool & WithMaxPendingRequests(int value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API VirtualNodeHttpConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualNodeHttpConnectionPool(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue