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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/InstanceEventWindowAssociationTarget.h>
12#include <aws/ec2/model/InstanceEventWindowState.h>
13#include <aws/ec2/model/InstanceEventWindowTimeRange.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetInstanceEventWindowId(
const char* value) { m_instanceEventWindowIdHasBeenSet =
true; m_instanceEventWindowId.assign(value); }
83 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
97 inline void SetCronExpression(
const char* value) { m_cronExpressionHasBeenSet =
true; m_cronExpression.assign(value); }
143 bool m_instanceEventWindowIdHasBeenSet =
false;
146 bool m_timeRangesHasBeenSet =
false;
149 bool m_nameHasBeenSet =
false;
152 bool m_cronExpressionHasBeenSet =
false;
155 bool m_associationTargetHasBeenSet =
false;
158 bool m_stateHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
InstanceEventWindow & AddTimeRanges(InstanceEventWindowTimeRange &&value)
InstanceEventWindow & WithAssociationTarget(InstanceEventWindowAssociationTarget &&value)
void SetInstanceEventWindowId(const Aws::String &value)
bool TimeRangesHasBeenSet() const
void SetCronExpression(const Aws::String &value)
const Aws::Vector< InstanceEventWindowTimeRange > & GetTimeRanges() const
InstanceEventWindow & WithName(const char *value)
void SetState(const InstanceEventWindowState &value)
InstanceEventWindow & WithCronExpression(const char *value)
InstanceEventWindow & WithAssociationTarget(const InstanceEventWindowAssociationTarget &value)
const Aws::String & GetCronExpression() const
bool CronExpressionHasBeenSet() const
InstanceEventWindow & WithInstanceEventWindowId(const char *value)
const InstanceEventWindowState & GetState() const
void SetTimeRanges(Aws::Vector< InstanceEventWindowTimeRange > &&value)
const Aws::String & GetInstanceEventWindowId() const
void SetInstanceEventWindowId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetInstanceEventWindowId(Aws::String &&value)
InstanceEventWindow & WithTimeRanges(Aws::Vector< InstanceEventWindowTimeRange > &&value)
void SetName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetName() const
InstanceEventWindow & WithTags(const Aws::Vector< Tag > &value)
AWS_EC2_API InstanceEventWindow(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(const char *value)
InstanceEventWindow & WithState(const InstanceEventWindowState &value)
InstanceEventWindow & WithTimeRanges(const Aws::Vector< InstanceEventWindowTimeRange > &value)
bool InstanceEventWindowIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceEventWindow & WithTags(Aws::Vector< Tag > &&value)
InstanceEventWindow & AddTimeRanges(const InstanceEventWindowTimeRange &value)
InstanceEventWindow & AddTags(const Tag &value)
InstanceEventWindow & WithInstanceEventWindowId(const Aws::String &value)
void SetTimeRanges(const Aws::Vector< InstanceEventWindowTimeRange > &value)
bool StateHasBeenSet() const
InstanceEventWindow & WithInstanceEventWindowId(Aws::String &&value)
void SetCronExpression(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAssociationTarget(const InstanceEventWindowAssociationTarget &value)
InstanceEventWindow & WithCronExpression(Aws::String &&value)
InstanceEventWindow & WithCronExpression(const Aws::String &value)
InstanceEventWindow & WithName(Aws::String &&value)
InstanceEventWindow & AddTags(Tag &&value)
InstanceEventWindow & WithName(const Aws::String &value)
void SetAssociationTarget(InstanceEventWindowAssociationTarget &&value)
void SetName(Aws::String &&value)
AWS_EC2_API InstanceEventWindow()
const InstanceEventWindowAssociationTarget & GetAssociationTarget() const
InstanceEventWindow & WithState(InstanceEventWindowState &&value)
bool NameHasBeenSet() const
void SetCronExpression(const char *value)
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
bool AssociationTargetHasBeenSet() const
AWS_EC2_API InstanceEventWindow & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(InstanceEventWindowState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream