AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeReplicationSubnetGroupsResult.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/ReplicationSubnetGroup.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 DescribeReplicationSubnetGroupsResult() = default;
40
41
43
48 inline const Aws::String& GetMarker() const { return m_marker; }
49 template<typename MarkerT = Aws::String>
50 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
51 template<typename MarkerT = Aws::String>
52 DescribeReplicationSubnetGroupsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
54
56
59 inline const Aws::Vector<ReplicationSubnetGroup>& GetReplicationSubnetGroups() const { return m_replicationSubnetGroups; }
60 template<typename ReplicationSubnetGroupsT = Aws::Vector<ReplicationSubnetGroup>>
61 void SetReplicationSubnetGroups(ReplicationSubnetGroupsT&& value) { m_replicationSubnetGroupsHasBeenSet = true; m_replicationSubnetGroups = std::forward<ReplicationSubnetGroupsT>(value); }
62 template<typename ReplicationSubnetGroupsT = Aws::Vector<ReplicationSubnetGroup>>
63 DescribeReplicationSubnetGroupsResult& WithReplicationSubnetGroups(ReplicationSubnetGroupsT&& value) { SetReplicationSubnetGroups(std::forward<ReplicationSubnetGroupsT>(value)); return *this;}
64 template<typename ReplicationSubnetGroupsT = ReplicationSubnetGroup>
65 DescribeReplicationSubnetGroupsResult& AddReplicationSubnetGroups(ReplicationSubnetGroupsT&& value) { m_replicationSubnetGroupsHasBeenSet = true; m_replicationSubnetGroups.emplace_back(std::forward<ReplicationSubnetGroupsT>(value)); return *this; }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 DescribeReplicationSubnetGroupsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_marker;
79 bool m_markerHasBeenSet = false;
80
81 Aws::Vector<ReplicationSubnetGroup> m_replicationSubnetGroups;
82 bool m_replicationSubnetGroupsHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DatabaseMigrationService
90} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationSubnetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeReplicationSubnetGroupsResult & AddReplicationSubnetGroups(ReplicationSubnetGroupsT &&value)
DescribeReplicationSubnetGroupsResult & WithReplicationSubnetGroups(ReplicationSubnetGroupsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationSubnetGroupsResult()=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