AWS SDK for C++  1.9.74
AWS SDK for C++
EnclaveOptionsRequest.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 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
48  inline bool GetEnabled() const{ return m_enabled; }
49 
54  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
55 
60  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
61 
66  inline EnclaveOptionsRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
67 
68  private:
69 
70  bool m_enabled;
71  bool m_enabledHasBeenSet;
72  };
73 
74 } // namespace Model
75 } // namespace EC2
76 } // namespace Aws
Aws::EC2::Model::EnclaveOptionsRequest::GetEnabled
bool GetEnabled() const
Definition: EnclaveOptionsRequest.h:48
Aws::EC2::Model::EnclaveOptionsRequest::operator=
EnclaveOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::EnclaveOptionsRequest::WithEnabled
EnclaveOptionsRequest & WithEnabled(bool value)
Definition: EnclaveOptionsRequest.h:66
Aws::EC2::Model::EnclaveOptionsRequest::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: EnclaveOptionsRequest.h:54
Aws::EC2::Model::EnclaveOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::EnclaveOptionsRequest::EnclaveOptionsRequest
EnclaveOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::EnclaveOptionsRequest::SetEnabled
void SetEnabled(bool value)
Definition: EnclaveOptionsRequest.h:60
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::EnclaveOptionsRequest
Definition: EnclaveOptionsRequest.h:34
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::EnclaveOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
EC2_EXPORTS.h
Aws::EC2::Model::EnclaveOptionsRequest::EnclaveOptionsRequest
EnclaveOptionsRequest()