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; }
109 inline void SetOccurrenceUnit(
const char* value) { m_occurrenceUnitHasBeenSet =
true; m_occurrenceUnit.assign(value); }
117 bool m_frequencyHasBeenSet =
false;
120 bool m_intervalHasBeenSet =
false;
123 bool m_occurrenceDaysHasBeenSet =
false;
125 bool m_occurrenceRelativeToEnd;
126 bool m_occurrenceRelativeToEndHasBeenSet =
false;
129 bool m_occurrenceUnitHasBeenSet =
false;
bool OccurrenceRelativeToEndHasBeenSet() const
void SetOccurrenceUnit(Aws::String &&value)
ScheduledInstanceRecurrenceRequest & WithOccurrenceDays(Aws::Vector< int > &&value)
ScheduledInstanceRecurrenceRequest & WithOccurrenceUnit(const char *value)
void SetFrequency(const char *value)
bool FrequencyHasBeenSet() const
const Aws::String & GetOccurrenceUnit() const
bool IntervalHasBeenSet() const
bool GetOccurrenceRelativeToEnd() const
const Aws::Vector< int > & GetOccurrenceDays() const
bool OccurrenceUnitHasBeenSet() const
ScheduledInstanceRecurrenceRequest & WithOccurrenceUnit(const Aws::String &value)
AWS_EC2_API ScheduledInstanceRecurrenceRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstanceRecurrenceRequest & WithFrequency(const Aws::String &value)
AWS_EC2_API ScheduledInstanceRecurrenceRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOccurrenceUnit(const char *value)
void SetFrequency(Aws::String &&value)
ScheduledInstanceRecurrenceRequest & AddOccurrenceDays(int value)
AWS_EC2_API ScheduledInstanceRecurrenceRequest()
bool OccurrenceDaysHasBeenSet() const
ScheduledInstanceRecurrenceRequest & WithOccurrenceUnit(Aws::String &&value)
ScheduledInstanceRecurrenceRequest & WithInterval(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ScheduledInstanceRecurrenceRequest & WithOccurrenceRelativeToEnd(bool value)
ScheduledInstanceRecurrenceRequest & WithOccurrenceDays(const Aws::Vector< int > &value)
void SetOccurrenceUnit(const Aws::String &value)
void SetInterval(int value)
void SetOccurrenceRelativeToEnd(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ScheduledInstanceRecurrenceRequest & WithFrequency(const char *value)
void SetOccurrenceDays(const Aws::Vector< int > &value)
const Aws::String & GetFrequency() const
void SetFrequency(const Aws::String &value)
void SetOccurrenceDays(Aws::Vector< int > &&value)
ScheduledInstanceRecurrenceRequest & WithFrequency(Aws::String &&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