AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
InstanceReusePolicy.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace AutoScaling {
17namespace Model {
18
29 public:
30 AWS_AUTOSCALING_API InstanceReusePolicy() = default;
31 AWS_AUTOSCALING_API InstanceReusePolicy(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_AUTOSCALING_API InstanceReusePolicy& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
42 inline bool GetReuseOnScaleIn() const { return m_reuseOnScaleIn; }
43 inline bool ReuseOnScaleInHasBeenSet() const { return m_reuseOnScaleInHasBeenSet; }
44 inline void SetReuseOnScaleIn(bool value) {
45 m_reuseOnScaleInHasBeenSet = true;
46 m_reuseOnScaleIn = value;
47 }
49 SetReuseOnScaleIn(value);
50 return *this;
51 }
53 private:
54 bool m_reuseOnScaleIn{false};
55 bool m_reuseOnScaleInHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace AutoScaling
60} // namespace Aws
InstanceReusePolicy & WithReuseOnScaleIn(bool value)
AWS_AUTOSCALING_API InstanceReusePolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API InstanceReusePolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API InstanceReusePolicy()=default
std::basic_ostream< char, std::char_traits< char > > OStream