AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeReplicationSubnetGroupsResult.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/ReplicationSubnetGroup.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 DescribeReplicationSubnetGroupsResult() = default;
33 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationSubnetGroupsResult(
35 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationSubnetGroupsResult& 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
61 inline const Aws::Vector<ReplicationSubnetGroup>& GetReplicationSubnetGroups() const { return m_replicationSubnetGroups; }
62 template <typename ReplicationSubnetGroupsT = Aws::Vector<ReplicationSubnetGroup>>
63 void SetReplicationSubnetGroups(ReplicationSubnetGroupsT&& value) {
64 m_replicationSubnetGroupsHasBeenSet = true;
65 m_replicationSubnetGroups = std::forward<ReplicationSubnetGroupsT>(value);
66 }
67 template <typename ReplicationSubnetGroupsT = Aws::Vector<ReplicationSubnetGroup>>
69 SetReplicationSubnetGroups(std::forward<ReplicationSubnetGroupsT>(value));
70 return *this;
71 }
72 template <typename ReplicationSubnetGroupsT = ReplicationSubnetGroup>
74 m_replicationSubnetGroupsHasBeenSet = true;
75 m_replicationSubnetGroups.emplace_back(std::forward<ReplicationSubnetGroupsT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_marker;
96
97 Aws::Vector<ReplicationSubnetGroup> m_replicationSubnetGroups;
98
99 Aws::String m_requestId;
100 bool m_markerHasBeenSet = false;
101 bool m_replicationSubnetGroupsHasBeenSet = false;
102 bool m_requestIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace DatabaseMigrationService
107} // 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