7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/Rule.h>
45 template <
typename RulesT = Aws::Vector<Rule>>
47 m_rulesHasBeenSet =
true;
48 m_rules = std::forward<RulesT>(value);
50 template <
typename RulesT = Aws::Vector<Rule>>
52 SetRules(std::forward<RulesT>(value));
55 template <
typename RulesT = Rule>
57 m_rulesHasBeenSet =
true;
58 m_rules.emplace_back(std::forward<RulesT>(value));
64 bool m_rulesHasBeenSet =
false;
AWS_S3CRT_API LifecycleConfiguration()=default
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetRules(RulesT &&value)
AWS_S3CRT_API LifecycleConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LifecycleConfiguration & WithRules(RulesT &&value)
bool RulesHasBeenSet() const
LifecycleConfiguration & AddRules(RulesT &&value)
AWS_S3CRT_API LifecycleConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Rule > & GetRules() const
std::vector< T, Aws::Allocator< T > > Vector