AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CONTROL_API GetBucketResult();
34
35
37
40 inline const Aws::String& GetBucket() const{ return m_bucket; }
41 inline void SetBucket(const Aws::String& value) { m_bucket = value; }
42 inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
43 inline void SetBucket(const char* value) { m_bucket.assign(value); }
44 inline GetBucketResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
45 inline GetBucketResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
46 inline GetBucketResult& WithBucket(const char* value) { SetBucket(value); return *this;}
48
50
53 inline bool GetPublicAccessBlockEnabled() const{ return m_publicAccessBlockEnabled; }
54 inline void SetPublicAccessBlockEnabled(bool value) { m_publicAccessBlockEnabled = value; }
57
59
62 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
63 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
64 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
65 inline GetBucketResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
66 inline GetBucketResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline GetBucketResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline GetBucketResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline GetBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 Aws::String m_bucket;
82
83 bool m_publicAccessBlockEnabled;
84
85 Aws::Utils::DateTime m_creationDate;
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace S3Control
92} // namespace Aws
AWS_S3CONTROL_API GetBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketResult & WithRequestId(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
GetBucketResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetBucketResult & WithRequestId(Aws::String &&value)
const Aws::String & GetBucket() const
GetBucketResult & WithPublicAccessBlockEnabled(bool value)
GetBucketResult & WithBucket(const char *value)
AWS_S3CONTROL_API GetBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketResult & WithBucket(Aws::String &&value)
void SetBucket(const Aws::String &value)
void SetBucket(Aws::String &&value)
GetBucketResult & WithRequestId(const Aws::String &value)
GetBucketResult & WithCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
GetBucketResult & WithBucket(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument