AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
ConnectionTrackingSpecificationRequest.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace WorkspacesInstances {
17namespace Model {
18
26 public:
27 AWS_WORKSPACESINSTANCES_API ConnectionTrackingSpecificationRequest() = default;
28 AWS_WORKSPACESINSTANCES_API ConnectionTrackingSpecificationRequest(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
30 const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
32
34
37 inline int64_t GetTcpEstablishedTimeout() const { return m_tcpEstablishedTimeout; }
38 inline bool TcpEstablishedTimeoutHasBeenSet() const { return m_tcpEstablishedTimeoutHasBeenSet; }
39 inline void SetTcpEstablishedTimeout(int64_t value) {
40 m_tcpEstablishedTimeoutHasBeenSet = true;
41 m_tcpEstablishedTimeout = value;
42 }
45 return *this;
46 }
48
50
53 inline int64_t GetUdpStreamTimeout() const { return m_udpStreamTimeout; }
54 inline bool UdpStreamTimeoutHasBeenSet() const { return m_udpStreamTimeoutHasBeenSet; }
55 inline void SetUdpStreamTimeout(int64_t value) {
56 m_udpStreamTimeoutHasBeenSet = true;
57 m_udpStreamTimeout = value;
58 }
61 return *this;
62 }
64
66
69 inline int64_t GetUdpTimeout() const { return m_udpTimeout; }
70 inline bool UdpTimeoutHasBeenSet() const { return m_udpTimeoutHasBeenSet; }
71 inline void SetUdpTimeout(int64_t value) {
72 m_udpTimeoutHasBeenSet = true;
73 m_udpTimeout = value;
74 }
76 SetUdpTimeout(value);
77 return *this;
78 }
80 private:
81 int64_t m_tcpEstablishedTimeout{0};
82
83 int64_t m_udpStreamTimeout{0};
84
85 int64_t m_udpTimeout{0};
86 bool m_tcpEstablishedTimeoutHasBeenSet = false;
87 bool m_udpStreamTimeoutHasBeenSet = false;
88 bool m_udpTimeoutHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace WorkspacesInstances
93} // namespace Aws
AWS_WORKSPACESINSTANCES_API ConnectionTrackingSpecificationRequest(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACESINSTANCES_API ConnectionTrackingSpecificationRequest & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACESINSTANCES_API ConnectionTrackingSpecificationRequest()=default