AWS SDK for C++  1.9.75
AWS SDK for C++
LaunchTemplateHibernationOptionsRequest.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
47  inline bool GetConfigured() const{ return m_configured; }
48 
53  inline bool ConfiguredHasBeenSet() const { return m_configuredHasBeenSet; }
54 
59  inline void SetConfigured(bool value) { m_configuredHasBeenSet = true; m_configured = value; }
60 
65  inline LaunchTemplateHibernationOptionsRequest& WithConfigured(bool value) { SetConfigured(value); return *this;}
66 
67  private:
68 
69  bool m_configured;
70  bool m_configuredHasBeenSet;
71  };
72 
73 } // namespace Model
74 } // namespace EC2
75 } // namespace Aws
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::operator=
LaunchTemplateHibernationOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::ConfiguredHasBeenSet
bool ConfiguredHasBeenSet() const
Definition: LaunchTemplateHibernationOptionsRequest.h:53
AWSStreamFwd.h
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::LaunchTemplateHibernationOptionsRequest
LaunchTemplateHibernationOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::WithConfigured
LaunchTemplateHibernationOptionsRequest & WithConfigured(bool value)
Definition: LaunchTemplateHibernationOptionsRequest.h:65
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::LaunchTemplateHibernationOptionsRequest::GetConfigured
bool GetConfigured() const
Definition: LaunchTemplateHibernationOptionsRequest.h:47
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::SetConfigured
void SetConfigured(bool value)
Definition: LaunchTemplateHibernationOptionsRequest.h:59
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest
Definition: LaunchTemplateHibernationOptionsRequest.h:33
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::LaunchTemplateHibernationOptionsRequest::LaunchTemplateHibernationOptionsRequest
LaunchTemplateHibernationOptionsRequest()
EC2_EXPORTS.h