AWS SDK for C++  1.9.159
AWS SDK for C++
EnclaveOptions.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace EC2
20 {
21 namespace Model
22 {
23 
31  {
32  public:
36 
37  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38  void OutputToStream(Aws::OStream& oStream, const char* location) const;
39 
40 
46  inline bool GetEnabled() const{ return m_enabled; }
47 
53  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
54 
60  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
61 
67  inline EnclaveOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
68 
69  private:
70 
71  bool m_enabled;
72  bool m_enabledHasBeenSet;
73  };
74 
75 } // namespace Model
76 } // namespace EC2
77 } // namespace Aws
Aws::EC2::Model::EnclaveOptions::WithEnabled
EnclaveOptions & WithEnabled(bool value)
Definition: EnclaveOptions.h:67
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::EnclaveOptions::EnclaveOptions
EnclaveOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::EnclaveOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::EnclaveOptions::operator=
EnclaveOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::EnclaveOptions::GetEnabled
bool GetEnabled() const
Definition: EnclaveOptions.h:46
Aws::EC2::Model::EnclaveOptions
Definition: EnclaveOptions.h:31
Aws::EC2::Model::EnclaveOptions::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: EnclaveOptions.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::EnclaveOptions::SetEnabled
void SetEnabled(bool value)
Definition: EnclaveOptions.h:60
Aws::EC2::Model::EnclaveOptions::EnclaveOptions
EnclaveOptions()
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::EnclaveOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EC2_EXPORTS.h