7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
19namespace ElasticBeanstalk
37 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
48 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
58 inline void SetMaxAgeInDays(
int value) { m_maxAgeInDaysHasBeenSet =
true; m_maxAgeInDays = value; }
69 inline void SetDeleteSourceFromS3(
bool value) { m_deleteSourceFromS3HasBeenSet =
true; m_deleteSourceFromS3 = value; }
75 bool m_enabledHasBeenSet =
false;
78 bool m_maxAgeInDaysHasBeenSet =
false;
80 bool m_deleteSourceFromS3;
81 bool m_deleteSourceFromS3HasBeenSet =
false;
AWS_ELASTICBEANSTALK_API MaxAgeRule()
bool MaxAgeInDaysHasBeenSet() const
MaxAgeRule & WithDeleteSourceFromS3(bool value)
MaxAgeRule & WithEnabled(bool value)
AWS_ELASTICBEANSTALK_API MaxAgeRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MaxAgeRule & WithMaxAgeInDays(int value)
void SetDeleteSourceFromS3(bool value)
bool EnabledHasBeenSet() const
bool GetDeleteSourceFromS3() const
void SetEnabled(bool value)
int GetMaxAgeInDays() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMaxAgeInDays(int value)
bool DeleteSourceFromS3HasBeenSet() const
AWS_ELASTICBEANSTALK_API MaxAgeRule(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream