AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketVersioningResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/BucketVersioningStatus.h>
9#include <aws/s3control/model/MFADeleteStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace S3Control
26{
27namespace Model
28{
30 {
31 public:
32 AWS_S3CONTROL_API GetBucketVersioningResult();
35
36
38
41 inline const BucketVersioningStatus& GetStatus() const{ return m_status; }
42 inline void SetStatus(const BucketVersioningStatus& value) { m_status = value; }
43 inline void SetStatus(BucketVersioningStatus&& value) { m_status = std::move(value); }
44 inline GetBucketVersioningResult& WithStatus(const BucketVersioningStatus& value) { SetStatus(value); return *this;}
45 inline GetBucketVersioningResult& WithStatus(BucketVersioningStatus&& value) { SetStatus(std::move(value)); return *this;}
47
49
55 inline const MFADeleteStatus& GetMFADelete() const{ return m_mFADelete; }
56 inline void SetMFADelete(const MFADeleteStatus& value) { m_mFADelete = value; }
57 inline void SetMFADelete(MFADeleteStatus&& value) { m_mFADelete = std::move(value); }
58 inline GetBucketVersioningResult& WithMFADelete(const MFADeleteStatus& value) { SetMFADelete(value); return *this;}
59 inline GetBucketVersioningResult& WithMFADelete(MFADeleteStatus&& value) { SetMFADelete(std::move(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline GetBucketVersioningResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline GetBucketVersioningResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline GetBucketVersioningResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
75
76 MFADeleteStatus m_mFADelete;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace S3Control
83} // namespace Aws
GetBucketVersioningResult & WithMFADelete(const MFADeleteStatus &value)
GetBucketVersioningResult & WithMFADelete(MFADeleteStatus &&value)
GetBucketVersioningResult & WithStatus(const BucketVersioningStatus &value)
void SetStatus(const BucketVersioningStatus &value)
GetBucketVersioningResult & WithRequestId(const char *value)
GetBucketVersioningResult & WithRequestId(Aws::String &&value)
AWS_S3CONTROL_API GetBucketVersioningResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API GetBucketVersioningResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketVersioningResult & WithStatus(BucketVersioningStatus &&value)
GetBucketVersioningResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument