7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticbeanstalk/model/MaxCountRule.h>
10#include <aws/elasticbeanstalk/model/MaxAgeRule.h>
22namespace ElasticBeanstalk
44 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
55 template<
typename MaxCountRuleT = MaxCountRule>
56 void SetMaxCountRule(MaxCountRuleT&& value) { m_maxCountRuleHasBeenSet =
true; m_maxCountRule = std::forward<MaxCountRuleT>(value); }
57 template<
typename MaxCountRuleT = MaxCountRule>
68 template<
typename MaxAgeRuleT = MaxAgeRule>
69 void SetMaxAgeRule(MaxAgeRuleT&& value) { m_maxAgeRuleHasBeenSet =
true; m_maxAgeRule = std::forward<MaxAgeRuleT>(value); }
70 template<
typename MaxAgeRuleT = MaxAgeRule>
76 bool m_maxCountRuleHasBeenSet =
false;
79 bool m_maxAgeRuleHasBeenSet =
false;
bool MaxAgeRuleHasBeenSet() const
AWS_ELASTICBEANSTALK_API ApplicationVersionLifecycleConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationVersionLifecycleConfig & WithMaxCountRule(MaxCountRuleT &&value)
void SetMaxAgeRule(MaxAgeRuleT &&value)
ApplicationVersionLifecycleConfig & WithMaxAgeRule(MaxAgeRuleT &&value)
AWS_ELASTICBEANSTALK_API ApplicationVersionLifecycleConfig()=default
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const MaxAgeRule & GetMaxAgeRule() const
bool MaxCountRuleHasBeenSet() const
void SetMaxCountRule(MaxCountRuleT &&value)
const MaxCountRule & GetMaxCountRule() const
AWS_ELASTICBEANSTALK_API ApplicationVersionLifecycleConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream