7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/EventCode.h>
44 template <
typename InstanceEventIdT = Aws::String>
46 m_instanceEventIdHasBeenSet =
true;
47 m_instanceEventId = std::forward<InstanceEventIdT>(value);
49 template <
typename InstanceEventIdT = Aws::String>
63 m_codeHasBeenSet =
true;
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
98 template <
typename NotAfterT = Aws::Utils::DateTime>
100 m_notAfterHasBeenSet =
true;
101 m_notAfter = std::forward<NotAfterT>(value);
103 template <
typename NotAfterT = Aws::Utils::DateTime>
116 template <
typename NotBeforeT = Aws::Utils::DateTime>
118 m_notBeforeHasBeenSet =
true;
119 m_notBefore = std::forward<NotBeforeT>(value);
121 template <
typename NotBeforeT = Aws::Utils::DateTime>
134 template <
typename NotBeforeDeadlineT = Aws::Utils::DateTime>
136 m_notBeforeDeadlineHasBeenSet =
true;
137 m_notBeforeDeadline = std::forward<NotBeforeDeadlineT>(value);
139 template <
typename NotBeforeDeadlineT = Aws::Utils::DateTime>
157 bool m_instanceEventIdHasBeenSet =
false;
158 bool m_codeHasBeenSet =
false;
159 bool m_descriptionHasBeenSet =
false;
160 bool m_notAfterHasBeenSet =
false;
161 bool m_notBeforeHasBeenSet =
false;
162 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