7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/model/Tag.h>
50 template<
typename PrefixT = Aws::String>
51 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
52 template<
typename PrefixT = Aws::String>
63 template<
typename TagsT = Aws::Vector<Tag>>
64 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
65 template<
typename TagsT = Aws::Vector<Tag>>
67 template<
typename TagsT = Tag>
77 inline void SetObjectSizeGreaterThan(
long long value) { m_objectSizeGreaterThanHasBeenSet =
true; m_objectSizeGreaterThan = value; }
87 inline void SetObjectSizeLessThan(
long long value) { m_objectSizeLessThanHasBeenSet =
true; m_objectSizeLessThan = value; }
93 bool m_prefixHasBeenSet =
false;
96 bool m_tagsHasBeenSet =
false;
98 long long m_objectSizeGreaterThan{0};
99 bool m_objectSizeGreaterThanHasBeenSet =
false;
101 long long m_objectSizeLessThan{0};
102 bool m_objectSizeLessThanHasBeenSet =
false;
const Aws::String & GetPrefix() const
AWS_S3_API LifecycleRuleAndOperator()=default
void SetTags(TagsT &&value)
LifecycleRuleAndOperator & WithObjectSizeLessThan(long long value)
LifecycleRuleAndOperator & AddTags(TagsT &&value)
long long GetObjectSizeLessThan() const
AWS_S3_API LifecycleRuleAndOperator(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrefix(PrefixT &&value)
bool ObjectSizeGreaterThanHasBeenSet() const
bool ObjectSizeLessThanHasBeenSet() const
void SetObjectSizeLessThan(long long value)
long long GetObjectSizeGreaterThan() const
const Aws::Vector< Tag > & GetTags() const
void SetObjectSizeGreaterThan(long long value)
AWS_S3_API LifecycleRuleAndOperator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PrefixHasBeenSet() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool TagsHasBeenSet() const
LifecycleRuleAndOperator & WithTags(TagsT &&value)
LifecycleRuleAndOperator & WithPrefix(PrefixT &&value)
LifecycleRuleAndOperator & WithObjectSizeGreaterThan(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector