7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
16namespace ElasticBeanstalk {
32 const char* locationValue)
const;
43 m_enabledHasBeenSet =
true;
59 m_maxAgeInDaysHasBeenSet =
true;
60 m_maxAgeInDays = value;
76 m_deleteSourceFromS3HasBeenSet =
true;
77 m_deleteSourceFromS3 = value;
85 bool m_enabled{
false};
87 int m_maxAgeInDays{0};
89 bool m_deleteSourceFromS3{
false};
90 bool m_enabledHasBeenSet =
false;
91 bool m_maxAgeInDaysHasBeenSet =
false;
92 bool m_deleteSourceFromS3HasBeenSet =
false;
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
AWS_ELASTICBEANSTALK_API MaxAgeRule()=default
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