AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HibernationOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace EC2 {
17namespace Model {
18
31 public:
32 AWS_EC2_API HibernationOptions() = default;
33 AWS_EC2_API HibernationOptions(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
44 inline bool GetConfigured() const { return m_configured; }
45 inline bool ConfiguredHasBeenSet() const { return m_configuredHasBeenSet; }
46 inline void SetConfigured(bool value) {
47 m_configuredHasBeenSet = true;
48 m_configured = value;
49 }
50 inline HibernationOptions& WithConfigured(bool value) {
51 SetConfigured(value);
52 return *this;
53 }
55 private:
56 bool m_configured{false};
57 bool m_configuredHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace EC2
62} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API HibernationOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API HibernationOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API HibernationOptions()=default
HibernationOptions & WithConfigured(bool value)
std::basic_ostream< char, std::char_traits< char > > OStream