AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionDraining.h
1
6#pragma once
7#include <aws/elasticloadbalancing/ElasticLoadBalancing_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 ElasticLoadBalancing
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_ELASTICLOADBALANCING_API ConnectionDraining();
34 AWS_ELASTICLOADBALANCING_API ConnectionDraining(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_ELASTICLOADBALANCING_API ConnectionDraining& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
45 inline bool GetEnabled() const{ return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline ConnectionDraining& WithEnabled(bool value) { SetEnabled(value); return *this;}
50
52
56 inline int GetTimeout() const{ return m_timeout; }
57 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
58 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
59 inline ConnectionDraining& WithTimeout(int value) { SetTimeout(value); return *this;}
61 private:
62
63 bool m_enabled;
64 bool m_enabledHasBeenSet = false;
65
66 int m_timeout;
67 bool m_timeoutHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace ElasticLoadBalancing
72} // namespace Aws
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCING_API ConnectionDraining()
AWS_ELASTICLOADBALANCING_API ConnectionDraining(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API ConnectionDraining & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream