AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
VirtualNodeGrpcConnectionPool.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 VirtualNodeGrpcConnectionPool() = default;
30 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetMaxRequests() const { return m_maxRequests; }
38 inline bool MaxRequestsHasBeenSet() const { return m_maxRequestsHasBeenSet; }
39 inline void SetMaxRequests(int value) {
40 m_maxRequestsHasBeenSet = true;
41 m_maxRequests = value;
42 }
44 SetMaxRequests(value);
45 return *this;
46 }
48 private:
49 int m_maxRequests{0};
50 bool m_maxRequestsHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace AppMesh
55} // namespace Aws
AWS_APPMESH_API VirtualNodeGrpcConnectionPool(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualNodeGrpcConnectionPool()=default
AWS_APPMESH_API VirtualNodeGrpcConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualNodeGrpcConnectionPool & WithMaxRequests(int value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue