AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReplicationsResult.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/model/Replication.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DatabaseMigrationService
26{
27namespace Model
28{
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult();
40
41
43
48 inline const Aws::String& GetMarker() const{ return m_marker; }
49 inline void SetMarker(const Aws::String& value) { m_marker = value; }
50 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
51 inline void SetMarker(const char* value) { m_marker.assign(value); }
52 inline DescribeReplicationsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
53 inline DescribeReplicationsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
54 inline DescribeReplicationsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
56
58
61 inline const Aws::Vector<Replication>& GetReplications() const{ return m_replications; }
62 inline void SetReplications(const Aws::Vector<Replication>& value) { m_replications = value; }
63 inline void SetReplications(Aws::Vector<Replication>&& value) { m_replications = std::move(value); }
65 inline DescribeReplicationsResult& WithReplications(Aws::Vector<Replication>&& value) { SetReplications(std::move(value)); return *this;}
66 inline DescribeReplicationsResult& AddReplications(const Replication& value) { m_replications.push_back(value); return *this; }
67 inline DescribeReplicationsResult& AddReplications(Replication&& value) { m_replications.push_back(std::move(value)); return *this; }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline DescribeReplicationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline DescribeReplicationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline DescribeReplicationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_marker;
83
84 Aws::Vector<Replication> m_replications;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace DatabaseMigrationService
91} // namespace Aws
DescribeReplicationsResult & WithRequestId(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplicationsResult & WithRequestId(Aws::String &&value)
DescribeReplicationsResult & WithReplications(Aws::Vector< Replication > &&value)
DescribeReplicationsResult & WithReplications(const Aws::Vector< Replication > &value)
DescribeReplicationsResult & WithMarker(const Aws::String &value)
DescribeReplicationsResult & AddReplications(Replication &&value)
DescribeReplicationsResult & AddReplications(const Replication &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