AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeReplicationsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10#include <aws/dms/model/Replication.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService {
24namespace Model {
31 public:
32 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult() = default;
34 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult& operator=(
36
38
43 inline const Aws::String& GetMarker() const { return m_marker; }
44 template <typename MarkerT = Aws::String>
45 void SetMarker(MarkerT&& value) {
46 m_markerHasBeenSet = true;
47 m_marker = std::forward<MarkerT>(value);
48 }
49 template <typename MarkerT = Aws::String>
51 SetMarker(std::forward<MarkerT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<Replication>& GetReplications() const { return m_replications; }
61 template <typename ReplicationsT = Aws::Vector<Replication>>
62 void SetReplications(ReplicationsT&& value) {
63 m_replicationsHasBeenSet = true;
64 m_replications = std::forward<ReplicationsT>(value);
65 }
66 template <typename ReplicationsT = Aws::Vector<Replication>>
68 SetReplications(std::forward<ReplicationsT>(value));
69 return *this;
70 }
71 template <typename ReplicationsT = Replication>
73 m_replicationsHasBeenSet = true;
74 m_replications.emplace_back(std::forward<ReplicationsT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_marker;
95
96 Aws::Vector<Replication> m_replications;
97
98 Aws::String m_requestId;
99 bool m_markerHasBeenSet = false;
100 bool m_replicationsHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace DatabaseMigrationService
106} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplicationsResult & WithReplications(ReplicationsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult()=default
DescribeReplicationsResult & AddReplications(ReplicationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue