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>
53 inline void SetFrequency(
const char* value) { m_frequencyHasBeenSet =
true; m_frequency.assign(value); }
66 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
105 inline void SetOccurrenceUnit(
const char* value) { m_occurrenceUnitHasBeenSet =
true; m_occurrenceUnit.assign(value); }
113 bool m_frequencyHasBeenSet =
false;
116 bool m_intervalHasBeenSet =
false;
119 bool m_occurrenceDaySetHasBeenSet =
false;
121 bool m_occurrenceRelativeToEnd;
122 bool m_occurrenceRelativeToEndHasBeenSet =
false;
125 bool m_occurrenceUnitHasBeenSet =
false;
ScheduledInstanceRecurrence & WithOccurrenceDaySet(const Aws::Vector< int > &value)
void SetOccurrenceUnit(const Aws::String &value)
bool OccurrenceUnitHasBeenSet() const
const Aws::Vector< int > & GetOccurrenceDaySet() const
AWS_EC2_API ScheduledInstanceRecurrence(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstanceRecurrence & WithOccurrenceUnit(Aws::String &&value)
const Aws::String & GetOccurrenceUnit() const
ScheduledInstanceRecurrence & WithOccurrenceUnit(const Aws::String &value)
bool FrequencyHasBeenSet() const
bool OccurrenceRelativeToEndHasBeenSet() const
const Aws::String & GetFrequency() const
bool IntervalHasBeenSet() const
void SetOccurrenceUnit(const char *value)
void SetFrequency(const Aws::String &value)
void SetFrequency(const char *value)
bool GetOccurrenceRelativeToEnd() const
void SetFrequency(Aws::String &&value)
ScheduledInstanceRecurrence & WithFrequency(const Aws::String &value)
void SetOccurrenceDaySet(const Aws::Vector< int > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOccurrenceDaySet(Aws::Vector< int > &&value)
ScheduledInstanceRecurrence & WithOccurrenceRelativeToEnd(bool value)
void SetInterval(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOccurrenceRelativeToEnd(bool value)
ScheduledInstanceRecurrence & WithFrequency(Aws::String &&value)
ScheduledInstanceRecurrence & WithInterval(int value)
bool OccurrenceDaySetHasBeenSet() const
AWS_EC2_API ScheduledInstanceRecurrence()
void SetOccurrenceUnit(Aws::String &&value)
ScheduledInstanceRecurrence & WithFrequency(const char *value)
ScheduledInstanceRecurrence & WithOccurrenceUnit(const char *value)
ScheduledInstanceRecurrence & AddOccurrenceDaySet(int value)
AWS_EC2_API ScheduledInstanceRecurrence & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstanceRecurrence & WithOccurrenceDaySet(Aws::Vector< int > &&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