AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionStickinessConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Xml
14{
15 class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace CloudFront
19{
20namespace Model
21{
22
33 {
34 public:
35 AWS_CLOUDFRONT_API SessionStickinessConfig();
36 AWS_CLOUDFRONT_API SessionStickinessConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API SessionStickinessConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
48 inline int GetIdleTTL() const{ return m_idleTTL; }
49 inline bool IdleTTLHasBeenSet() const { return m_idleTTLHasBeenSet; }
50 inline void SetIdleTTL(int value) { m_idleTTLHasBeenSet = true; m_idleTTL = value; }
51 inline SessionStickinessConfig& WithIdleTTL(int value) { SetIdleTTL(value); return *this;}
53
55
60 inline int GetMaximumTTL() const{ return m_maximumTTL; }
61 inline bool MaximumTTLHasBeenSet() const { return m_maximumTTLHasBeenSet; }
62 inline void SetMaximumTTL(int value) { m_maximumTTLHasBeenSet = true; m_maximumTTL = value; }
63 inline SessionStickinessConfig& WithMaximumTTL(int value) { SetMaximumTTL(value); return *this;}
65 private:
66
67 int m_idleTTL;
68 bool m_idleTTLHasBeenSet = false;
69
70 int m_maximumTTL;
71 bool m_maximumTTLHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudFront
76} // namespace Aws
SessionStickinessConfig & WithMaximumTTL(int value)
AWS_CLOUDFRONT_API SessionStickinessConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API SessionStickinessConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SessionStickinessConfig & WithIdleTTL(int value)