7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/LifecycleExpiration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/ExpirationStatus.h>
11#include <aws/s3/model/Transition.h>
12#include <aws/s3/model/NoncurrentVersionTransition.h>
13#include <aws/s3/model/NoncurrentVersionExpiration.h>
14#include <aws/s3/model/AbortIncompleteMultipartUpload.h>
72 inline void SetID(
Aws::String&& value) { m_iDHasBeenSet =
true; m_iD = std::move(value); }
73 inline void SetID(
const char* value) { m_iDHasBeenSet =
true; m_iD.assign(value); }
92 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
158 bool m_expirationHasBeenSet =
false;
161 bool m_iDHasBeenSet =
false;
164 bool m_prefixHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
170 bool m_transitionHasBeenSet =
false;
173 bool m_noncurrentVersionTransitionHasBeenSet =
false;
176 bool m_noncurrentVersionExpirationHasBeenSet =
false;
179 bool m_abortIncompleteMultipartUploadHasBeenSet =
false;
const Aws::String & GetID() const
Rule & WithStatus(const ExpirationStatus &value)
Rule & WithPrefix(const char *value)
void SetPrefix(Aws::String &&value)
void SetNoncurrentVersionTransition(NoncurrentVersionTransition &&value)
Rule & WithPrefix(Aws::String &&value)
Rule & WithAbortIncompleteMultipartUpload(const AbortIncompleteMultipartUpload &value)
Rule & WithID(const Aws::String &value)
const Aws::String & GetPrefix() const
void SetID(Aws::String &&value)
void SetID(const char *value)
void SetExpiration(LifecycleExpiration &&value)
Rule & WithAbortIncompleteMultipartUpload(AbortIncompleteMultipartUpload &&value)
void SetTransition(Transition &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool StatusHasBeenSet() const
const Transition & GetTransition() const
const LifecycleExpiration & GetExpiration() const
bool PrefixHasBeenSet() const
bool IDHasBeenSet() const
const NoncurrentVersionTransition & GetNoncurrentVersionTransition() const
void SetNoncurrentVersionExpiration(const NoncurrentVersionExpiration &value)
void SetPrefix(const Aws::String &value)
Rule & WithPrefix(const Aws::String &value)
void SetAbortIncompleteMultipartUpload(AbortIncompleteMultipartUpload &&value)
void SetNoncurrentVersionTransition(const NoncurrentVersionTransition &value)
const AbortIncompleteMultipartUpload & GetAbortIncompleteMultipartUpload() const
Rule & WithNoncurrentVersionTransition(NoncurrentVersionTransition &&value)
Rule & WithID(const char *value)
const NoncurrentVersionExpiration & GetNoncurrentVersionExpiration() const
bool TransitionHasBeenSet() const
Rule & WithNoncurrentVersionExpiration(NoncurrentVersionExpiration &&value)
bool NoncurrentVersionTransitionHasBeenSet() const
void SetExpiration(const LifecycleExpiration &value)
Rule & WithNoncurrentVersionExpiration(const NoncurrentVersionExpiration &value)
Rule & WithTransition(const Transition &value)
AWS_S3_API Rule(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ExpirationHasBeenSet() const
void SetID(const Aws::String &value)
void SetPrefix(const char *value)
Rule & WithID(Aws::String &&value)
void SetNoncurrentVersionExpiration(NoncurrentVersionExpiration &&value)
Rule & WithNoncurrentVersionTransition(const NoncurrentVersionTransition &value)
Rule & WithExpiration(const LifecycleExpiration &value)
bool AbortIncompleteMultipartUploadHasBeenSet() const
void SetStatus(ExpirationStatus &&value)
AWS_S3_API Rule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Rule & WithStatus(ExpirationStatus &&value)
bool NoncurrentVersionExpirationHasBeenSet() const
void SetStatus(const ExpirationStatus &value)
Rule & WithTransition(Transition &&value)
void SetTransition(const Transition &value)
const ExpirationStatus & GetStatus() const
Rule & WithExpiration(LifecycleExpiration &&value)
void SetAbortIncompleteMultipartUpload(const AbortIncompleteMultipartUpload &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String