AWS SDK for C++  1.9.71
AWS SDK for C++
LaunchTemplateHibernationOptions.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 
45  inline bool GetConfigured() const{ return m_configured; }
46 
51  inline bool ConfiguredHasBeenSet() const { return m_configuredHasBeenSet; }
52 
57  inline void SetConfigured(bool value) { m_configuredHasBeenSet = true; m_configured = value; }
58 
63  inline LaunchTemplateHibernationOptions& WithConfigured(bool value) { SetConfigured(value); return *this;}
64 
65  private:
66 
67  bool m_configured;
68  bool m_configuredHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace EC2
73 } // namespace Aws
Aws::EC2::Model::LaunchTemplateHibernationOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::LaunchTemplateHibernationOptions
Definition: LaunchTemplateHibernationOptions.h:31
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::LaunchTemplateHibernationOptions::SetConfigured
void SetConfigured(bool value)
Definition: LaunchTemplateHibernationOptions.h:57
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::LaunchTemplateHibernationOptions::operator=
LaunchTemplateHibernationOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::LaunchTemplateHibernationOptions::ConfiguredHasBeenSet
bool ConfiguredHasBeenSet() const
Definition: LaunchTemplateHibernationOptions.h:51
Aws::EC2::Model::LaunchTemplateHibernationOptions::LaunchTemplateHibernationOptions
LaunchTemplateHibernationOptions()
Aws::EC2::Model::LaunchTemplateHibernationOptions::GetConfigured
bool GetConfigured() const
Definition: LaunchTemplateHibernationOptions.h:45
Aws::EC2::Model::LaunchTemplateHibernationOptions::LaunchTemplateHibernationOptions
LaunchTemplateHibernationOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::LaunchTemplateHibernationOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::LaunchTemplateHibernationOptions::WithConfigured
LaunchTemplateHibernationOptions & WithConfigured(bool value)
Definition: LaunchTemplateHibernationOptions.h:63