AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketLifecycleConfigurationResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3-crt/model/TransitionDefaultMinimumObjectSize.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/model/LifecycleRule.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace S3Crt
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<LifecycleRule>& GetRules() const{ return m_rules; }
43 inline void SetRules(const Aws::Vector<LifecycleRule>& value) { m_rules = value; }
44 inline void SetRules(Aws::Vector<LifecycleRule>&& value) { m_rules = std::move(value); }
46 inline GetBucketLifecycleConfigurationResult& WithRules(Aws::Vector<LifecycleRule>&& value) { SetRules(std::move(value)); return *this;}
47 inline GetBucketLifecycleConfigurationResult& AddRules(const LifecycleRule& value) { m_rules.push_back(value); return *this; }
48 inline GetBucketLifecycleConfigurationResult& AddRules(LifecycleRule&& value) { m_rules.push_back(std::move(value)); return *this; }
50
52
65 inline const TransitionDefaultMinimumObjectSize& GetTransitionDefaultMinimumObjectSize() const{ return m_transitionDefaultMinimumObjectSize; }
66 inline void SetTransitionDefaultMinimumObjectSize(const TransitionDefaultMinimumObjectSize& value) { m_transitionDefaultMinimumObjectSize = value; }
67 inline void SetTransitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize&& value) { m_transitionDefaultMinimumObjectSize = std::move(value); }
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline GetBucketLifecycleConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline GetBucketLifecycleConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline GetBucketLifecycleConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
85
86 TransitionDefaultMinimumObjectSize m_transitionDefaultMinimumObjectSize;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace S3Crt
93} // namespace Aws
void SetTransitionDefaultMinimumObjectSize(const TransitionDefaultMinimumObjectSize &value)
GetBucketLifecycleConfigurationResult & WithRules(Aws::Vector< LifecycleRule > &&value)
GetBucketLifecycleConfigurationResult & WithRequestId(Aws::String &&value)
GetBucketLifecycleConfigurationResult & WithRules(const Aws::Vector< LifecycleRule > &value)
const TransitionDefaultMinimumObjectSize & GetTransitionDefaultMinimumObjectSize() const
GetBucketLifecycleConfigurationResult & WithTransitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize &&value)
GetBucketLifecycleConfigurationResult & AddRules(const LifecycleRule &value)
AWS_S3CRT_API GetBucketLifecycleConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketLifecycleConfigurationResult & AddRules(LifecycleRule &&value)
AWS_S3CRT_API GetBucketLifecycleConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetTransitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize &&value)
GetBucketLifecycleConfigurationResult & WithTransitionDefaultMinimumObjectSize(const TransitionDefaultMinimumObjectSize &value)
GetBucketLifecycleConfigurationResult & WithRequestId(const Aws::String &value)
GetBucketLifecycleConfigurationResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument