AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TcpTimeout.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/Duration.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppMesh
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPMESH_API TcpTimeout();
35 AWS_APPMESH_API TcpTimeout(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPMESH_API TcpTimeout& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Duration& GetIdle() const{ return m_idle; }
46 inline bool IdleHasBeenSet() const { return m_idleHasBeenSet; }
47 inline void SetIdle(const Duration& value) { m_idleHasBeenSet = true; m_idle = value; }
48 inline void SetIdle(Duration&& value) { m_idleHasBeenSet = true; m_idle = std::move(value); }
49 inline TcpTimeout& WithIdle(const Duration& value) { SetIdle(value); return *this;}
50 inline TcpTimeout& WithIdle(Duration&& value) { SetIdle(std::move(value)); return *this;}
52 private:
53
54 Duration m_idle;
55 bool m_idleHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace AppMesh
60} // namespace Aws
const Duration & GetIdle() const
Definition TcpTimeout.h:45
TcpTimeout & WithIdle(const Duration &value)
Definition TcpTimeout.h:49
AWS_APPMESH_API TcpTimeout & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdle(const Duration &value)
Definition TcpTimeout.h:47
void SetIdle(Duration &&value)
Definition TcpTimeout.h:48
AWS_APPMESH_API TcpTimeout(Aws::Utils::Json::JsonView jsonValue)
TcpTimeout & WithIdle(Duration &&value)
Definition TcpTimeout.h:50
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue