AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionTrackingSpecificationRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2
20{
21namespace Model
22{
23
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
51 inline int GetTcpEstablishedTimeout() const{ return m_tcpEstablishedTimeout; }
52 inline bool TcpEstablishedTimeoutHasBeenSet() const { return m_tcpEstablishedTimeoutHasBeenSet; }
53 inline void SetTcpEstablishedTimeout(int value) { m_tcpEstablishedTimeoutHasBeenSet = true; m_tcpEstablishedTimeout = value; }
56
58
63 inline int GetUdpStreamTimeout() const{ return m_udpStreamTimeout; }
64 inline bool UdpStreamTimeoutHasBeenSet() const { return m_udpStreamTimeoutHasBeenSet; }
65 inline void SetUdpStreamTimeout(int value) { m_udpStreamTimeoutHasBeenSet = true; m_udpStreamTimeout = value; }
68
70
75 inline int GetUdpTimeout() const{ return m_udpTimeout; }
76 inline bool UdpTimeoutHasBeenSet() const { return m_udpTimeoutHasBeenSet; }
77 inline void SetUdpTimeout(int value) { m_udpTimeoutHasBeenSet = true; m_udpTimeout = value; }
78 inline ConnectionTrackingSpecificationRequest& WithUdpTimeout(int value) { SetUdpTimeout(value); return *this;}
80 private:
81
82 int m_tcpEstablishedTimeout;
83 bool m_tcpEstablishedTimeoutHasBeenSet = false;
84
85 int m_udpStreamTimeout;
86 bool m_udpStreamTimeoutHasBeenSet = false;
87
88 int m_udpTimeout;
89 bool m_udpTimeoutHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EC2
94} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ConnectionTrackingSpecificationRequest & WithUdpTimeout(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ConnectionTrackingSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionTrackingSpecificationRequest & WithUdpStreamTimeout(int value)
ConnectionTrackingSpecificationRequest & WithTcpEstablishedTimeout(int value)
AWS_EC2_API ConnectionTrackingSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream