AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeReplicationConfigsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
11#include <aws/dms/model/ReplicationConfig.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService {
25namespace Model {
32 public:
33 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationConfigsResult() = default;
35 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationConfigsResult& operator=(
37
39
44 inline const Aws::String& GetMarker() const { return m_marker; }
45 template <typename MarkerT = Aws::String>
46 void SetMarker(MarkerT&& value) {
47 m_markerHasBeenSet = true;
48 m_marker = std::forward<MarkerT>(value);
49 }
50 template <typename MarkerT = Aws::String>
52 SetMarker(std::forward<MarkerT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<ReplicationConfig>& GetReplicationConfigs() const { return m_replicationConfigs; }
63 template <typename ReplicationConfigsT = Aws::Vector<ReplicationConfig>>
64 void SetReplicationConfigs(ReplicationConfigsT&& value) {
65 m_replicationConfigsHasBeenSet = true;
66 m_replicationConfigs = std::forward<ReplicationConfigsT>(value);
67 }
68 template <typename ReplicationConfigsT = Aws::Vector<ReplicationConfig>>
70 SetReplicationConfigs(std::forward<ReplicationConfigsT>(value));
71 return *this;
72 }
73 template <typename ReplicationConfigsT = ReplicationConfig>
75 m_replicationConfigsHasBeenSet = true;
76 m_replicationConfigs.emplace_back(std::forward<ReplicationConfigsT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_marker;
99
100 Aws::Vector<ReplicationConfig> m_replicationConfigs;
101
102 Aws::String m_requestId;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_markerHasBeenSet = false;
105 bool m_replicationConfigsHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace DatabaseMigrationService
111} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplicationConfigsResult & WithReplicationConfigs(ReplicationConfigsT &&value)
DescribeReplicationConfigsResult & AddReplicationConfigs(ReplicationConfigsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationConfigsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue