AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventInformation.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_EC2_API EventInformation();
35 AWS_EC2_API EventInformation(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetEventDescription() const{ return m_eventDescription; }
47 inline bool EventDescriptionHasBeenSet() const { return m_eventDescriptionHasBeenSet; }
48 inline void SetEventDescription(const Aws::String& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = value; }
49 inline void SetEventDescription(Aws::String&& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = std::move(value); }
50 inline void SetEventDescription(const char* value) { m_eventDescriptionHasBeenSet = true; m_eventDescription.assign(value); }
51 inline EventInformation& WithEventDescription(const Aws::String& value) { SetEventDescription(value); return *this;}
52 inline EventInformation& WithEventDescription(Aws::String&& value) { SetEventDescription(std::move(value)); return *this;}
53 inline EventInformation& WithEventDescription(const char* value) { SetEventDescription(value); return *this;}
55
57
114 inline const Aws::String& GetEventSubType() const{ return m_eventSubType; }
115 inline bool EventSubTypeHasBeenSet() const { return m_eventSubTypeHasBeenSet; }
116 inline void SetEventSubType(const Aws::String& value) { m_eventSubTypeHasBeenSet = true; m_eventSubType = value; }
117 inline void SetEventSubType(Aws::String&& value) { m_eventSubTypeHasBeenSet = true; m_eventSubType = std::move(value); }
118 inline void SetEventSubType(const char* value) { m_eventSubTypeHasBeenSet = true; m_eventSubType.assign(value); }
119 inline EventInformation& WithEventSubType(const Aws::String& value) { SetEventSubType(value); return *this;}
120 inline EventInformation& WithEventSubType(Aws::String&& value) { SetEventSubType(std::move(value)); return *this;}
121 inline EventInformation& WithEventSubType(const char* value) { SetEventSubType(value); return *this;}
123
125
129 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
130 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
131 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
132 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
133 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
134 inline EventInformation& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
135 inline EventInformation& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
136 inline EventInformation& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
138 private:
139
140 Aws::String m_eventDescription;
141 bool m_eventDescriptionHasBeenSet = false;
142
143 Aws::String m_eventSubType;
144 bool m_eventSubTypeHasBeenSet = false;
145
146 Aws::String m_instanceId;
147 bool m_instanceIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace EC2
152} // namespace Aws
void SetInstanceId(const Aws::String &value)
void SetInstanceId(const char *value)
EventInformation & WithEventDescription(const char *value)
EventInformation & WithInstanceId(const Aws::String &value)
EventInformation & WithEventDescription(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetEventSubType() const
EventInformation & WithInstanceId(const char *value)
EventInformation & WithEventDescription(const Aws::String &value)
AWS_EC2_API EventInformation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstanceId(Aws::String &&value)
void SetEventSubType(Aws::String &&value)
EventInformation & WithEventSubType(const char *value)
AWS_EC2_API EventInformation(const Aws::Utils::Xml::XmlNode &xmlNode)
EventInformation & WithEventSubType(const Aws::String &value)
void SetEventDescription(const Aws::String &value)
void SetEventDescription(const char *value)
void SetEventDescription(Aws::String &&value)
void SetEventSubType(const Aws::String &value)
const Aws::String & GetEventDescription() const
void SetEventSubType(const char *value)
EventInformation & WithInstanceId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EventInformation & WithEventSubType(Aws::String &&value)
const Aws::String & GetInstanceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream