AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetBucketReplicationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3Crt_EXPORTS.h>
10#include <aws/s3-crt/model/ReplicationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace S3Crt {
24namespace Model {
26 public:
27 AWS_S3CRT_API GetBucketReplicationResult() = default;
30
32
33 inline const ReplicationConfiguration& GetReplicationConfiguration() const { return m_replicationConfiguration; }
34 template <typename ReplicationConfigurationT = ReplicationConfiguration>
35 void SetReplicationConfiguration(ReplicationConfigurationT&& value) {
36 m_replicationConfigurationHasBeenSet = true;
37 m_replicationConfiguration = std::forward<ReplicationConfigurationT>(value);
38 }
39 template <typename ReplicationConfigurationT = ReplicationConfiguration>
40 GetBucketReplicationResult& WithReplicationConfiguration(ReplicationConfigurationT&& value) {
41 SetReplicationConfiguration(std::forward<ReplicationConfigurationT>(value));
42 return *this;
43 }
45
47
48 inline const Aws::String& GetRequestId() const { return m_requestId; }
49 template <typename RequestIdT = Aws::String>
50 void SetRequestId(RequestIdT&& value) {
51 m_requestIdHasBeenSet = true;
52 m_requestId = std::forward<RequestIdT>(value);
53 }
54 template <typename RequestIdT = Aws::String>
56 SetRequestId(std::forward<RequestIdT>(value));
57 return *this;
58 }
60 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
61
62 private:
63 ReplicationConfiguration m_replicationConfiguration;
64
65 Aws::String m_requestId;
66 Aws::Http::HttpResponseCode m_HttpResponseCode;
67 bool m_replicationConfigurationHasBeenSet = false;
68 bool m_requestIdHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace S3Crt
73} // namespace Aws
AWS_S3CRT_API GetBucketReplicationResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetReplicationConfiguration(ReplicationConfigurationT &&value)
GetBucketReplicationResult & WithReplicationConfiguration(ReplicationConfigurationT &&value)
GetBucketReplicationResult & WithRequestId(RequestIdT &&value)
AWS_S3CRT_API GetBucketReplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ReplicationConfiguration & GetReplicationConfiguration() const
AWS_S3CRT_API GetBucketReplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument