AWS SDK for C++  1.9.176
AWS SDK for C++
EventDescription.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace ElasticBeanstalk
24 {
25 namespace Model
26 {
27 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::Utils::DateTime& GetEventDate() const{ return m_eventDate; }
48 
52  inline bool EventDateHasBeenSet() const { return m_eventDateHasBeenSet; }
53 
57  inline void SetEventDate(const Aws::Utils::DateTime& value) { m_eventDateHasBeenSet = true; m_eventDate = value; }
58 
62  inline void SetEventDate(Aws::Utils::DateTime&& value) { m_eventDateHasBeenSet = true; m_eventDate = std::move(value); }
63 
67  inline EventDescription& WithEventDate(const Aws::Utils::DateTime& value) { SetEventDate(value); return *this;}
68 
72  inline EventDescription& WithEventDate(Aws::Utils::DateTime&& value) { SetEventDate(std::move(value)); return *this;}
73 
74 
78  inline const Aws::String& GetMessage() const{ return m_message; }
79 
83  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
84 
88  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
89 
93  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
94 
98  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
99 
103  inline EventDescription& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
104 
108  inline EventDescription& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
109 
113  inline EventDescription& WithMessage(const char* value) { SetMessage(value); return *this;}
114 
115 
119  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
120 
124  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
125 
129  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
130 
134  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
135 
139  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
140 
144  inline EventDescription& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
145 
149  inline EventDescription& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
150 
154  inline EventDescription& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
155 
156 
160  inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
161 
165  inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
166 
170  inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
171 
175  inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
176 
180  inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
181 
185  inline EventDescription& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
186 
190  inline EventDescription& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
191 
195  inline EventDescription& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
196 
197 
201  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
202 
206  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
207 
211  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
212 
216  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
217 
221  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
222 
226  inline EventDescription& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
227 
231  inline EventDescription& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
232 
236  inline EventDescription& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
237 
238 
242  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
243 
247  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
248 
252  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
253 
257  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
258 
262  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
263 
267  inline EventDescription& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
268 
272  inline EventDescription& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
273 
277  inline EventDescription& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
278 
279 
283  inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
284 
288  inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
289 
293  inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
294 
298  inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
299 
303  inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
304 
308  inline EventDescription& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
309 
313  inline EventDescription& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
314 
318  inline EventDescription& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
319 
320 
324  inline const Aws::String& GetRequestId() const{ return m_requestId; }
325 
329  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
330 
334  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
335 
339  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
340 
344  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
345 
349  inline EventDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
350 
354  inline EventDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
355 
359  inline EventDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
360 
361 
365  inline const EventSeverity& GetSeverity() const{ return m_severity; }
366 
370  inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
371 
375  inline void SetSeverity(const EventSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
376 
380  inline void SetSeverity(EventSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
381 
385  inline EventDescription& WithSeverity(const EventSeverity& value) { SetSeverity(value); return *this;}
386 
390  inline EventDescription& WithSeverity(EventSeverity&& value) { SetSeverity(std::move(value)); return *this;}
391 
392  private:
393 
394  Aws::Utils::DateTime m_eventDate;
395  bool m_eventDateHasBeenSet;
396 
397  Aws::String m_message;
398  bool m_messageHasBeenSet;
399 
400  Aws::String m_applicationName;
401  bool m_applicationNameHasBeenSet;
402 
403  Aws::String m_versionLabel;
404  bool m_versionLabelHasBeenSet;
405 
406  Aws::String m_templateName;
407  bool m_templateNameHasBeenSet;
408 
409  Aws::String m_environmentName;
410  bool m_environmentNameHasBeenSet;
411 
412  Aws::String m_platformArn;
413  bool m_platformArnHasBeenSet;
414 
415  Aws::String m_requestId;
416  bool m_requestIdHasBeenSet;
417 
418  EventSeverity m_severity;
419  bool m_severityHasBeenSet;
420  };
421 
422 } // namespace Model
423 } // namespace ElasticBeanstalk
424 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ElasticBeanstalk::Model::EventDescription::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: EventDescription.h:329
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::EventDescription::WithEnvironmentName
EventDescription & WithEnvironmentName(Aws::String &&value)
Definition: EventDescription.h:272
EventSeverity.h
Aws::ElasticBeanstalk::Model::EventDescription::SetApplicationName
void SetApplicationName(Aws::String &&value)
Definition: EventDescription.h:134
Aws::ElasticBeanstalk::Model::EventDescription::SetPlatformArn
void SetPlatformArn(const Aws::String &value)
Definition: EventDescription.h:293
Aws::ElasticBeanstalk::Model::EventDescription::ApplicationNameHasBeenSet
bool ApplicationNameHasBeenSet() const
Definition: EventDescription.h:124
Aws::ElasticBeanstalk::Model::EventDescription::SetRequestId
void SetRequestId(const char *value)
Definition: EventDescription.h:344
Aws::ElasticBeanstalk::Model::EventDescription::SetEnvironmentName
void SetEnvironmentName(const char *value)
Definition: EventDescription.h:262
Aws::ElasticBeanstalk::Model::EventDescription::WithPlatformArn
EventDescription & WithPlatformArn(const char *value)
Definition: EventDescription.h:318
DateTime.h
Aws::ElasticBeanstalk::Model::EventDescription::SetMessage
void SetMessage(const Aws::String &value)
Definition: EventDescription.h:88
Aws::ElasticBeanstalk::Model::EventDescription::WithVersionLabel
EventDescription & WithVersionLabel(Aws::String &&value)
Definition: EventDescription.h:190
Aws::ElasticBeanstalk::Model::EventDescription::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: EventDescription.h:206
Aws::ElasticBeanstalk::Model::EventDescription::WithApplicationName
EventDescription & WithApplicationName(const char *value)
Definition: EventDescription.h:154
Aws::ElasticBeanstalk::Model::EventDescription::SetPlatformArn
void SetPlatformArn(const char *value)
Definition: EventDescription.h:303
Aws::ElasticBeanstalk::Model::EventDescription::SetTemplateName
void SetTemplateName(const char *value)
Definition: EventDescription.h:221
Aws::ElasticBeanstalk::Model::EventDescription::GetRequestId
const Aws::String & GetRequestId() const
Definition: EventDescription.h:324
Aws::ElasticBeanstalk::Model::EventDescription::PlatformArnHasBeenSet
bool PlatformArnHasBeenSet() const
Definition: EventDescription.h:288
Aws::ElasticBeanstalk::Model::EventDescription::GetSeverity
const EventSeverity & GetSeverity() const
Definition: EventDescription.h:365
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::EventDescription::EventDateHasBeenSet
bool EventDateHasBeenSet() const
Definition: EventDescription.h:52
Aws::ElasticBeanstalk::Model::EventDescription::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: EventDescription.h:339
Aws::ElasticBeanstalk::Model::EventDescription::WithSeverity
EventDescription & WithSeverity(EventSeverity &&value)
Definition: EventDescription.h:390
Aws::ElasticBeanstalk::Model::EventDescription::WithApplicationName
EventDescription & WithApplicationName(Aws::String &&value)
Definition: EventDescription.h:149
Aws::ElasticBeanstalk::Model::EventDescription::WithMessage
EventDescription & WithMessage(Aws::String &&value)
Definition: EventDescription.h:108
Aws::ElasticBeanstalk::Model::EventDescription::WithEventDate
EventDescription & WithEventDate(const Aws::Utils::DateTime &value)
Definition: EventDescription.h:67
Aws::ElasticBeanstalk::Model::EventDescription::WithRequestId
EventDescription & WithRequestId(const char *value)
Definition: EventDescription.h:359
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::EventDescription::SetEventDate
void SetEventDate(Aws::Utils::DateTime &&value)
Definition: EventDescription.h:62
Aws::ElasticBeanstalk::Model::EventDescription::WithApplicationName
EventDescription & WithApplicationName(const Aws::String &value)
Definition: EventDescription.h:144
Aws::ElasticBeanstalk::Model::EventDescription::GetEnvironmentName
const Aws::String & GetEnvironmentName() const
Definition: EventDescription.h:242
Aws::ElasticBeanstalk::Model::EventDescription::WithEnvironmentName
EventDescription & WithEnvironmentName(const Aws::String &value)
Definition: EventDescription.h:267
Aws::ElasticBeanstalk::Model::EventDescription::WithTemplateName
EventDescription & WithTemplateName(const Aws::String &value)
Definition: EventDescription.h:226
Aws::ElasticBeanstalk::Model::EventDescription::WithTemplateName
EventDescription & WithTemplateName(const char *value)
Definition: EventDescription.h:236
Aws::ElasticBeanstalk::Model::EventDescription::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::EventDescription
Definition: EventDescription.h:34
Aws::ElasticBeanstalk::Model::EventDescription::WithTemplateName
EventDescription & WithTemplateName(Aws::String &&value)
Definition: EventDescription.h:231
Aws::ElasticBeanstalk::Model::EventDescription::SetMessage
void SetMessage(const char *value)
Definition: EventDescription.h:98
Aws::ElasticBeanstalk::Model::EventDescription::SetApplicationName
void SetApplicationName(const char *value)
Definition: EventDescription.h:139
AWSString.h
Aws::ElasticBeanstalk::Model::EventDescription::WithMessage
EventDescription & WithMessage(const char *value)
Definition: EventDescription.h:113
Aws::ElasticBeanstalk::Model::EventDescription::SetPlatformArn
void SetPlatformArn(Aws::String &&value)
Definition: EventDescription.h:298
Aws::ElasticBeanstalk::Model::EventDescription::operator=
EventDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::EventDescription::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: EventDescription.h:211
Aws::ElasticBeanstalk::Model::EventDescription::SetEnvironmentName
void SetEnvironmentName(const Aws::String &value)
Definition: EventDescription.h:252
Aws::ElasticBeanstalk::Model::EventDescription::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::EventDescription::SetApplicationName
void SetApplicationName(const Aws::String &value)
Definition: EventDescription.h:129
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::EventDescription::GetMessage
const Aws::String & GetMessage() const
Definition: EventDescription.h:78
Aws::ElasticBeanstalk::Model::EventDescription::SetMessage
void SetMessage(Aws::String &&value)
Definition: EventDescription.h:93
Aws::ElasticBeanstalk::Model::EventDescription::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: EventDescription.h:334
Aws::ElasticBeanstalk::Model::EventDescription::GetEventDate
const Aws::Utils::DateTime & GetEventDate() const
Definition: EventDescription.h:47
Aws::ElasticBeanstalk::Model::EventDescription::EventDescription
EventDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::EventDescription::SetVersionLabel
void SetVersionLabel(const char *value)
Definition: EventDescription.h:180
Aws::ElasticBeanstalk::Model::EventDescription::SetEventDate
void SetEventDate(const Aws::Utils::DateTime &value)
Definition: EventDescription.h:57
Aws::ElasticBeanstalk::Model::EventDescription::GetVersionLabel
const Aws::String & GetVersionLabel() const
Definition: EventDescription.h:160
Aws::ElasticBeanstalk::Model::EventDescription::VersionLabelHasBeenSet
bool VersionLabelHasBeenSet() const
Definition: EventDescription.h:165
Aws::ElasticBeanstalk::Model::EventDescription::EventDescription
EventDescription()
Aws::ElasticBeanstalk::Model::EventDescription::GetPlatformArn
const Aws::String & GetPlatformArn() const
Definition: EventDescription.h:283
Aws::ElasticBeanstalk::Model::EventDescription::SetSeverity
void SetSeverity(const EventSeverity &value)
Definition: EventDescription.h:375
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::EventDescription::WithVersionLabel
EventDescription & WithVersionLabel(const Aws::String &value)
Definition: EventDescription.h:185
Aws::ElasticBeanstalk::Model::EventDescription::SetVersionLabel
void SetVersionLabel(Aws::String &&value)
Definition: EventDescription.h:175
Aws::ElasticBeanstalk::Model::EventDescription::EnvironmentNameHasBeenSet
bool EnvironmentNameHasBeenSet() const
Definition: EventDescription.h:247
Aws::ElasticBeanstalk::Model::EventDescription::WithVersionLabel
EventDescription & WithVersionLabel(const char *value)
Definition: EventDescription.h:195
Aws::ElasticBeanstalk::Model::EventDescription::SetEnvironmentName
void SetEnvironmentName(Aws::String &&value)
Definition: EventDescription.h:257
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::EventDescription::WithRequestId
EventDescription & WithRequestId(Aws::String &&value)
Definition: EventDescription.h:354
Aws::ElasticBeanstalk::Model::EventSeverity
EventSeverity
Definition: EventSeverity.h:17
Aws::ElasticBeanstalk::Model::EventDescription::WithPlatformArn
EventDescription & WithPlatformArn(Aws::String &&value)
Definition: EventDescription.h:313
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::EventDescription::WithEventDate
EventDescription & WithEventDate(Aws::Utils::DateTime &&value)
Definition: EventDescription.h:72
Aws::ElasticBeanstalk::Model::EventDescription::WithEnvironmentName
EventDescription & WithEnvironmentName(const char *value)
Definition: EventDescription.h:277
Aws::ElasticBeanstalk::Model::EventDescription::SetVersionLabel
void SetVersionLabel(const Aws::String &value)
Definition: EventDescription.h:170
Aws::ElasticBeanstalk::Model::EventDescription::WithMessage
EventDescription & WithMessage(const Aws::String &value)
Definition: EventDescription.h:103
Aws::ElasticBeanstalk::Model::EventDescription::SetSeverity
void SetSeverity(EventSeverity &&value)
Definition: EventDescription.h:380
Aws::ElasticBeanstalk::Model::EventDescription::WithSeverity
EventDescription & WithSeverity(const EventSeverity &value)
Definition: EventDescription.h:385
Aws::ElasticBeanstalk::Model::EventDescription::WithRequestId
EventDescription & WithRequestId(const Aws::String &value)
Definition: EventDescription.h:349
Aws::ElasticBeanstalk::Model::EventDescription::GetApplicationName
const Aws::String & GetApplicationName() const
Definition: EventDescription.h:119
Aws::ElasticBeanstalk::Model::EventDescription::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: EventDescription.h:83
Aws::ElasticBeanstalk::Model::EventDescription::WithPlatformArn
EventDescription & WithPlatformArn(const Aws::String &value)
Definition: EventDescription.h:308
Aws::ElasticBeanstalk::Model::EventDescription::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: EventDescription.h:216
Aws::ElasticBeanstalk::Model::EventDescription::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: EventDescription.h:201
Aws::ElasticBeanstalk::Model::EventDescription::SeverityHasBeenSet
bool SeverityHasBeenSet() const
Definition: EventDescription.h:370