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