AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventDescription.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticbeanstalk/model/EventSeverity.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ELASTICBEANSTALK_API EventDescription();
37 AWS_ELASTICBEANSTALK_API EventDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICBEANSTALK_API EventDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::Utils::DateTime& GetEventDate() const{ return m_eventDate; }
49 inline bool EventDateHasBeenSet() const { return m_eventDateHasBeenSet; }
50 inline void SetEventDate(const Aws::Utils::DateTime& value) { m_eventDateHasBeenSet = true; m_eventDate = value; }
51 inline void SetEventDate(Aws::Utils::DateTime&& value) { m_eventDateHasBeenSet = true; m_eventDate = std::move(value); }
52 inline EventDescription& WithEventDate(const Aws::Utils::DateTime& value) { SetEventDate(value); return *this;}
53 inline EventDescription& WithEventDate(Aws::Utils::DateTime&& value) { SetEventDate(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetMessage() const{ return m_message; }
61 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
62 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
63 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
64 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
65 inline EventDescription& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
66 inline EventDescription& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
67 inline EventDescription& WithMessage(const char* value) { SetMessage(value); return *this;}
69
71
74 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
75 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
76 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
77 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
78 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
79 inline EventDescription& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
80 inline EventDescription& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
81 inline EventDescription& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
83
85
88 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
89 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
90 inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
91 inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
92 inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
93 inline EventDescription& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
94 inline EventDescription& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
95 inline EventDescription& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
97
99
102 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
103 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
104 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
105 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
106 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
107 inline EventDescription& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
108 inline EventDescription& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
109 inline EventDescription& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
111
113
116 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
117 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
118 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
119 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
120 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
121 inline EventDescription& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
122 inline EventDescription& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
123 inline EventDescription& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
125
127
130 inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
131 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
132 inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
133 inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
134 inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
135 inline EventDescription& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
136 inline EventDescription& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
137 inline EventDescription& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
139
141
144 inline const Aws::String& GetRequestId() const{ return m_requestId; }
145 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
146 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
147 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
148 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
149 inline EventDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
150 inline EventDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
151 inline EventDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
153
155
158 inline const EventSeverity& GetSeverity() const{ return m_severity; }
159 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
160 inline void SetSeverity(const EventSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
161 inline void SetSeverity(EventSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
162 inline EventDescription& WithSeverity(const EventSeverity& value) { SetSeverity(value); return *this;}
163 inline EventDescription& WithSeverity(EventSeverity&& value) { SetSeverity(std::move(value)); return *this;}
165 private:
166
167 Aws::Utils::DateTime m_eventDate;
168 bool m_eventDateHasBeenSet = false;
169
170 Aws::String m_message;
171 bool m_messageHasBeenSet = false;
172
173 Aws::String m_applicationName;
174 bool m_applicationNameHasBeenSet = false;
175
176 Aws::String m_versionLabel;
177 bool m_versionLabelHasBeenSet = false;
178
179 Aws::String m_templateName;
180 bool m_templateNameHasBeenSet = false;
181
182 Aws::String m_environmentName;
183 bool m_environmentNameHasBeenSet = false;
184
185 Aws::String m_platformArn;
186 bool m_platformArnHasBeenSet = false;
187
188 Aws::String m_requestId;
189 bool m_requestIdHasBeenSet = false;
190
191 EventSeverity m_severity;
192 bool m_severityHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace ElasticBeanstalk
197} // namespace Aws
AWS_ELASTICBEANSTALK_API EventDescription()
void SetTemplateName(const Aws::String &value)
void SetEventDate(Aws::Utils::DateTime &&value)
EventDescription & WithEventDate(Aws::Utils::DateTime &&value)
EventDescription & WithApplicationName(const char *value)
EventDescription & WithRequestId(Aws::String &&value)
void SetSeverity(const EventSeverity &value)
EventDescription & WithEnvironmentName(const Aws::String &value)
EventDescription & WithTemplateName(const Aws::String &value)
void SetPlatformArn(const Aws::String &value)
EventDescription & WithPlatformArn(const char *value)
AWS_ELASTICBEANSTALK_API EventDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
EventDescription & WithVersionLabel(const Aws::String &value)
EventDescription & WithApplicationName(const Aws::String &value)
void SetEventDate(const Aws::Utils::DateTime &value)
EventDescription & WithVersionLabel(const char *value)
EventDescription & WithTemplateName(Aws::String &&value)
const Aws::Utils::DateTime & GetEventDate() const
EventDescription & WithVersionLabel(Aws::String &&value)
EventDescription & WithSeverity(EventSeverity &&value)
EventDescription & WithPlatformArn(Aws::String &&value)
EventDescription & WithRequestId(const char *value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API EventDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetApplicationName(const Aws::String &value)
EventDescription & WithRequestId(const Aws::String &value)
void SetEnvironmentName(const Aws::String &value)
EventDescription & WithEnvironmentName(const char *value)
void SetVersionLabel(const Aws::String &value)
EventDescription & WithPlatformArn(const Aws::String &value)
EventDescription & WithMessage(const char *value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EventDescription & WithTemplateName(const char *value)
EventDescription & WithApplicationName(Aws::String &&value)
EventDescription & WithEnvironmentName(Aws::String &&value)
EventDescription & WithMessage(const Aws::String &value)
EventDescription & WithMessage(Aws::String &&value)
EventDescription & WithEventDate(const Aws::Utils::DateTime &value)
EventDescription & WithSeverity(const EventSeverity &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream