AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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