AWS SDK for C++  1.9.71
AWS SDK for C++
HibernationOptionsRequest.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 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
50  inline bool GetConfigured() const{ return m_configured; }
51 
56  inline bool ConfiguredHasBeenSet() const { return m_configuredHasBeenSet; }
57 
62  inline void SetConfigured(bool value) { m_configuredHasBeenSet = true; m_configured = value; }
63 
68  inline HibernationOptionsRequest& WithConfigured(bool value) { SetConfigured(value); return *this;}
69 
70  private:
71 
72  bool m_configured;
73  bool m_configuredHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace EC2
78 } // namespace Aws
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::HibernationOptionsRequest
Definition: HibernationOptionsRequest.h:36
Aws::EC2::Model::HibernationOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::HibernationOptionsRequest::operator=
HibernationOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::EC2::Model::HibernationOptionsRequest::WithConfigured
HibernationOptionsRequest & WithConfigured(bool value)
Definition: HibernationOptionsRequest.h:68
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::HibernationOptionsRequest::GetConfigured
bool GetConfigured() const
Definition: HibernationOptionsRequest.h:50
Aws::EC2::Model::HibernationOptionsRequest::ConfiguredHasBeenSet
bool ConfiguredHasBeenSet() const
Definition: HibernationOptionsRequest.h:56
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::HibernationOptionsRequest::HibernationOptionsRequest
HibernationOptionsRequest()
Aws::EC2::Model::HibernationOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::HibernationOptionsRequest::SetConfigured
void SetConfigured(bool value)
Definition: HibernationOptionsRequest.h:62
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::HibernationOptionsRequest::HibernationOptionsRequest
HibernationOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)