AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EnclaveOptions.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
26 public:
27 AWS_EC2_API EnclaveOptions() = default;
28 AWS_EC2_API EnclaveOptions(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
40 inline bool GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(bool value) {
43 m_enabledHasBeenSet = true;
44 m_enabled = value;
45 }
46 inline EnclaveOptions& WithEnabled(bool value) {
47 SetEnabled(value);
48 return *this;
49 }
51 private:
52 bool m_enabled{false};
53 bool m_enabledHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace EC2
58} // namespace Aws
EnclaveOptions & WithEnabled(bool value)
AWS_EC2_API EnclaveOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API EnclaveOptions()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API EnclaveOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream