AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
VirtualNodeTcpConnectionPool.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 VirtualNodeTcpConnectionPool() = 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 private:
49 int m_maxConnections{0};
50 bool m_maxConnectionsHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace AppMesh
55} // namespace Aws
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API VirtualNodeTcpConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualNodeTcpConnectionPool(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualNodeTcpConnectionPool()=default
VirtualNodeTcpConnectionPool & WithMaxConnections(int value)
Aws::Utils::Json::JsonValue JsonValue