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 <aws/ec2/model/EventCode.h>
11#include <aws/core/utils/DateTime.h>
50 template<
typename InstanceEventIdT = Aws::String>
51 void SetInstanceEventId(InstanceEventIdT&& value) { m_instanceEventIdHasBeenSet =
true; m_instanceEventId = std::forward<InstanceEventIdT>(value); }
52 template<
typename InstanceEventIdT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
86 template<
typename NotAfterT = Aws::Utils::DateTime>
87 void SetNotAfter(NotAfterT&& value) { m_notAfterHasBeenSet =
true; m_notAfter = std::forward<NotAfterT>(value); }
88 template<
typename NotAfterT = Aws::Utils::DateTime>
98 template<
typename NotBeforeT = Aws::Utils::DateTime>
99 void SetNotBefore(NotBeforeT&& value) { m_notBeforeHasBeenSet =
true; m_notBefore = std::forward<NotBeforeT>(value); }
100 template<
typename NotBeforeT = Aws::Utils::DateTime>
110 template<
typename NotBeforeDeadlineT = Aws::Utils::DateTime>
111 void SetNotBeforeDeadline(NotBeforeDeadlineT&& value) { m_notBeforeDeadlineHasBeenSet =
true; m_notBeforeDeadline = std::forward<NotBeforeDeadlineT>(value); }
112 template<
typename NotBeforeDeadlineT = Aws::Utils::DateTime>
118 bool m_instanceEventIdHasBeenSet =
false;
121 bool m_codeHasBeenSet =
false;
124 bool m_descriptionHasBeenSet =
false;
127 bool m_notAfterHasBeenSet =
false;
130 bool m_notBeforeHasBeenSet =
false;
133 bool m_notBeforeDeadlineHasBeenSet =
false;
InstanceStatusEvent & WithNotAfter(NotAfterT &&value)
void SetNotAfter(NotAfterT &&value)
AWS_EC2_API InstanceStatusEvent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API InstanceStatusEvent()=default
InstanceStatusEvent & WithCode(EventCode value)
bool NotBeforeDeadlineHasBeenSet() const
bool NotBeforeHasBeenSet() const
const Aws::Utils::DateTime & GetNotAfter() const
AWS_EC2_API InstanceStatusEvent(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNotBefore(NotBeforeT &&value)
EventCode GetCode() const
const Aws::String & GetInstanceEventId() const
InstanceStatusEvent & WithInstanceEventId(InstanceEventIdT &&value)
InstanceStatusEvent & WithNotBeforeDeadline(NotBeforeDeadlineT &&value)
const Aws::Utils::DateTime & GetNotBeforeDeadline() const
bool DescriptionHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool InstanceEventIdHasBeenSet() const
bool CodeHasBeenSet() const
InstanceStatusEvent & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool NotAfterHasBeenSet() const
void SetDescription(DescriptionT &&value)
InstanceStatusEvent & WithNotBefore(NotBeforeT &&value)
void SetNotBeforeDeadline(NotBeforeDeadlineT &&value)
void SetInstanceEventId(InstanceEventIdT &&value)
const Aws::Utils::DateTime & GetNotBefore() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCode(EventCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream