7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/LifecycleExpiration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/model/LifecycleRuleFilter.h>
11#include <aws/s3-crt/model/ExpirationStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/s3-crt/model/NoncurrentVersionExpiration.h>
14#include <aws/s3-crt/model/AbortIncompleteMultipartUpload.h>
15#include <aws/s3-crt/model/Transition.h>
16#include <aws/s3-crt/model/NoncurrentVersionTransition.h>
73 inline void SetID(
Aws::String&& value) { m_iDHasBeenSet =
true; m_iD = std::move(value); }
74 inline void SetID(
const char* value) { m_iDHasBeenSet =
true; m_iD.assign(value); }
164 bool m_expirationHasBeenSet =
false;
167 bool m_iDHasBeenSet =
false;
170 bool m_filterHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
176 bool m_transitionsHasBeenSet =
false;
179 bool m_noncurrentVersionTransitionsHasBeenSet =
false;
182 bool m_noncurrentVersionExpirationHasBeenSet =
false;
185 bool m_abortIncompleteMultipartUploadHasBeenSet =
false;
LifecycleRule & WithNoncurrentVersionExpiration(NoncurrentVersionExpiration &&value)
LifecycleRule & WithStatus(const ExpirationStatus &value)
void SetExpiration(const LifecycleExpiration &value)
LifecycleRule & WithStatus(ExpirationStatus &&value)
bool NoncurrentVersionTransitionsHasBeenSet() const
LifecycleRule & WithExpiration(const LifecycleExpiration &value)
LifecycleRule & WithTransitions(Aws::Vector< Transition > &&value)
LifecycleRule & WithFilter(LifecycleRuleFilter &&value)
void SetID(const Aws::String &value)
bool NoncurrentVersionExpirationHasBeenSet() const
const AbortIncompleteMultipartUpload & GetAbortIncompleteMultipartUpload() const
void SetStatus(const ExpirationStatus &value)
bool FilterHasBeenSet() const
const LifecycleRuleFilter & GetFilter() const
LifecycleRule & WithTransitions(const Aws::Vector< Transition > &value)
const LifecycleExpiration & GetExpiration() const
AWS_S3CRT_API LifecycleRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ExpirationHasBeenSet() const
void SetID(const char *value)
void SetNoncurrentVersionExpiration(NoncurrentVersionExpiration &&value)
LifecycleRule & WithID(const char *value)
void SetFilter(const LifecycleRuleFilter &value)
LifecycleRule & WithNoncurrentVersionTransitions(const Aws::Vector< NoncurrentVersionTransition > &value)
LifecycleRule & AddNoncurrentVersionTransitions(NoncurrentVersionTransition &&value)
void SetNoncurrentVersionTransitions(const Aws::Vector< NoncurrentVersionTransition > &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
LifecycleRule & WithAbortIncompleteMultipartUpload(AbortIncompleteMultipartUpload &&value)
const Aws::Vector< NoncurrentVersionTransition > & GetNoncurrentVersionTransitions() const
void SetAbortIncompleteMultipartUpload(const AbortIncompleteMultipartUpload &value)
AWS_S3CRT_API LifecycleRule(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IDHasBeenSet() const
LifecycleRule & AddNoncurrentVersionTransitions(const NoncurrentVersionTransition &value)
bool StatusHasBeenSet() const
bool TransitionsHasBeenSet() const
LifecycleRule & WithFilter(const LifecycleRuleFilter &value)
void SetNoncurrentVersionExpiration(const NoncurrentVersionExpiration &value)
void SetID(Aws::String &&value)
LifecycleRule & AddTransitions(Transition &&value)
LifecycleRule & WithNoncurrentVersionTransitions(Aws::Vector< NoncurrentVersionTransition > &&value)
LifecycleRule & WithID(const Aws::String &value)
LifecycleRule & AddTransitions(const Transition &value)
void SetAbortIncompleteMultipartUpload(AbortIncompleteMultipartUpload &&value)
void SetStatus(ExpirationStatus &&value)
const ExpirationStatus & GetStatus() const
const Aws::String & GetID() const
void SetFilter(LifecycleRuleFilter &&value)
LifecycleRule & WithNoncurrentVersionExpiration(const NoncurrentVersionExpiration &value)
void SetTransitions(Aws::Vector< Transition > &&value)
LifecycleRule & WithAbortIncompleteMultipartUpload(const AbortIncompleteMultipartUpload &value)
AWS_S3CRT_API LifecycleRule()
LifecycleRule & WithID(Aws::String &&value)
void SetNoncurrentVersionTransitions(Aws::Vector< NoncurrentVersionTransition > &&value)
void SetTransitions(const Aws::Vector< Transition > &value)
LifecycleRule & WithExpiration(LifecycleExpiration &&value)
bool AbortIncompleteMultipartUploadHasBeenSet() const
const NoncurrentVersionExpiration & GetNoncurrentVersionExpiration() const
const Aws::Vector< Transition > & GetTransitions() const
void SetExpiration(LifecycleExpiration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector