AWS SDK for C++  1.9.175
AWS SDK for C++
EventInformation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetEventDescription() const{ return m_eventDescription; }
46 
50  inline bool EventDescriptionHasBeenSet() const { return m_eventDescriptionHasBeenSet; }
51 
55  inline void SetEventDescription(const Aws::String& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = value; }
56 
60  inline void SetEventDescription(Aws::String&& value) { m_eventDescriptionHasBeenSet = true; m_eventDescription = std::move(value); }
61 
65  inline void SetEventDescription(const char* value) { m_eventDescriptionHasBeenSet = true; m_eventDescription.assign(value); }
66 
70  inline EventInformation& WithEventDescription(const Aws::String& value) { SetEventDescription(value); return *this;}
71 
75  inline EventInformation& WithEventDescription(Aws::String&& value) { SetEventDescription(std::move(value)); return *this;}
76 
80  inline EventInformation& WithEventDescription(const char* value) { SetEventDescription(value); return *this;}
81 
82 
138  inline const Aws::String& GetEventSubType() const{ return m_eventSubType; }
139 
195  inline bool EventSubTypeHasBeenSet() const { return m_eventSubTypeHasBeenSet; }
196 
252  inline void SetEventSubType(const Aws::String& value) { m_eventSubTypeHasBeenSet = true; m_eventSubType = value; }
253 
309  inline void SetEventSubType(Aws::String&& value) { m_eventSubTypeHasBeenSet = true; m_eventSubType = std::move(value); }
310 
366  inline void SetEventSubType(const char* value) { m_eventSubTypeHasBeenSet = true; m_eventSubType.assign(value); }
367 
423  inline EventInformation& WithEventSubType(const Aws::String& value) { SetEventSubType(value); return *this;}
424 
480  inline EventInformation& WithEventSubType(Aws::String&& value) { SetEventSubType(std::move(value)); return *this;}
481 
537  inline EventInformation& WithEventSubType(const char* value) { SetEventSubType(value); return *this;}
538 
539 
544  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
545 
550  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
551 
556  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
557 
562  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
563 
568  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
569 
574  inline EventInformation& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
575 
580  inline EventInformation& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
581 
586  inline EventInformation& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
587 
588  private:
589 
590  Aws::String m_eventDescription;
591  bool m_eventDescriptionHasBeenSet;
592 
593  Aws::String m_eventSubType;
594  bool m_eventSubTypeHasBeenSet;
595 
596  Aws::String m_instanceId;
597  bool m_instanceIdHasBeenSet;
598  };
599 
600 } // namespace Model
601 } // namespace EC2
602 } // namespace Aws
Aws::EC2::Model::EventInformation::SetEventDescription
void SetEventDescription(Aws::String &&value)
Definition: EventInformation.h:60
Aws::EC2::Model::EventInformation
Definition: EventInformation.h:32
Aws::EC2::Model::EventInformation::EventSubTypeHasBeenSet
bool EventSubTypeHasBeenSet() const
Definition: EventInformation.h:195
Aws::EC2::Model::EventInformation::GetEventSubType
const Aws::String & GetEventSubType() const
Definition: EventInformation.h:138
Aws::EC2::Model::EventInformation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::EventInformation::SetEventSubType
void SetEventSubType(const char *value)
Definition: EventInformation.h:366
Aws::EC2::Model::EventInformation::WithEventDescription
EventInformation & WithEventDescription(const char *value)
Definition: EventInformation.h:80
Aws::EC2::Model::EventInformation::SetEventDescription
void SetEventDescription(const char *value)
Definition: EventInformation.h:65
AWSStreamFwd.h
Aws::EC2::Model::EventInformation::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: EventInformation.h:556
Aws::EC2::Model::EventInformation::EventInformation
EventInformation()
Aws::EC2::Model::EventInformation::GetEventDescription
const Aws::String & GetEventDescription() const
Definition: EventInformation.h:45
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::EventInformation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::EventInformation::SetEventDescription
void SetEventDescription(const Aws::String &value)
Definition: EventInformation.h:55
Aws::EC2::Model::EventInformation::WithEventDescription
EventInformation & WithEventDescription(const Aws::String &value)
Definition: EventInformation.h:70
Aws::EC2::Model::EventInformation::WithEventSubType
EventInformation & WithEventSubType(const char *value)
Definition: EventInformation.h:537
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::EventInformation::WithInstanceId
EventInformation & WithInstanceId(const Aws::String &value)
Definition: EventInformation.h:574
Aws::EC2::Model::EventInformation::operator=
EventInformation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::EventInformation::WithEventSubType
EventInformation & WithEventSubType(const Aws::String &value)
Definition: EventInformation.h:423
Aws::EC2::Model::EventInformation::WithEventSubType
EventInformation & WithEventSubType(Aws::String &&value)
Definition: EventInformation.h:480
Aws::EC2::Model::EventInformation::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: EventInformation.h:550
AWSString.h
Aws::EC2::Model::EventInformation::WithInstanceId
EventInformation & WithInstanceId(const char *value)
Definition: EventInformation.h:586
Aws::EC2::Model::EventInformation::EventInformation
EventInformation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::EventInformation::WithInstanceId
EventInformation & WithInstanceId(Aws::String &&value)
Definition: EventInformation.h:580
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::EventInformation::EventDescriptionHasBeenSet
bool EventDescriptionHasBeenSet() const
Definition: EventInformation.h:50
Aws::EC2::Model::EventInformation::WithEventDescription
EventInformation & WithEventDescription(Aws::String &&value)
Definition: EventInformation.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::EventInformation::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: EventInformation.h:544
Aws::EC2::Model::EventInformation::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: EventInformation.h:562
Aws::EC2::Model::EventInformation::SetEventSubType
void SetEventSubType(const Aws::String &value)
Definition: EventInformation.h:252
Aws::EC2::Model::EventInformation::SetEventSubType
void SetEventSubType(Aws::String &&value)
Definition: EventInformation.h:309
EC2_EXPORTS.h
Aws::EC2::Model::EventInformation::SetInstanceId
void SetInstanceId(const char *value)
Definition: EventInformation.h:568