39 template <
typename DomainArnT = Aws::String>
41 m_domainArnHasBeenSet =
true;
42 m_domainArn = std::forward<DomainArnT>(value);
44 template <
typename DomainArnT = Aws::String>
58 m_roleHasBeenSet =
true;
73 template <
typename PeersT = Aws::Vector<ReplicationPeer>>
75 m_peersHasBeenSet =
true;
76 m_peers = std::forward<PeersT>(value);
78 template <
typename PeersT = Aws::Vector<ReplicationPeer>>
80 SetPeers(std::forward<PeersT>(value));
83 template <
typename PeersT = ReplicationPeer>
85 m_peersHasBeenSet =
true;
86 m_peers.emplace_back(std::forward<PeersT>(value));
94 template <
typename RequestIdT = Aws::String>
96 m_requestIdHasBeenSet =
true;
97 m_requestId = std::forward<RequestIdT>(value);
99 template <
typename RequestIdT = Aws::String>
116 bool m_domainArnHasBeenSet =
false;
117 bool m_roleHasBeenSet =
false;
118 bool m_peersHasBeenSet =
false;
119 bool m_requestIdHasBeenSet =
false;
DescribeDomainReplicationResult & WithPeers(PeersT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDomainReplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ReplicationPeer > & GetPeers() const
DescribeDomainReplicationResult & AddPeers(PeersT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDomainReplicationResult()=default
const Aws::String & GetDomainArn() const
const Aws::String & GetRequestId() const
DescribeDomainReplicationResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeDomainReplicationResult & WithDomainArn(DomainArnT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDomainReplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDomainReplicationResult & WithRole(ReplicationRole value)