/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Replication configuration of a server.See Also:
AWS
* API Reference
The ID of the server with which this replication configuration is * associated.
*/ inline const Server& GetServer() const{ return m_server; } /** *The ID of the server with which this replication configuration is * associated.
*/ inline bool ServerHasBeenSet() const { return m_serverHasBeenSet; } /** *The ID of the server with which this replication configuration is * associated.
*/ inline void SetServer(const Server& value) { m_serverHasBeenSet = true; m_server = value; } /** *The ID of the server with which this replication configuration is * associated.
*/ inline void SetServer(Server&& value) { m_serverHasBeenSet = true; m_server = std::move(value); } /** *The ID of the server with which this replication configuration is * associated.
*/ inline ServerReplicationConfiguration& WithServer(const Server& value) { SetServer(value); return *this;} /** *The ID of the server with which this replication configuration is * associated.
*/ inline ServerReplicationConfiguration& WithServer(Server&& value) { SetServer(std::move(value)); return *this;} /** *The parameters for replicating the server.
*/ inline const ServerReplicationParameters& GetServerReplicationParameters() const{ return m_serverReplicationParameters; } /** *The parameters for replicating the server.
*/ inline bool ServerReplicationParametersHasBeenSet() const { return m_serverReplicationParametersHasBeenSet; } /** *The parameters for replicating the server.
*/ inline void SetServerReplicationParameters(const ServerReplicationParameters& value) { m_serverReplicationParametersHasBeenSet = true; m_serverReplicationParameters = value; } /** *The parameters for replicating the server.
*/ inline void SetServerReplicationParameters(ServerReplicationParameters&& value) { m_serverReplicationParametersHasBeenSet = true; m_serverReplicationParameters = std::move(value); } /** *The parameters for replicating the server.
*/ inline ServerReplicationConfiguration& WithServerReplicationParameters(const ServerReplicationParameters& value) { SetServerReplicationParameters(value); return *this;} /** *The parameters for replicating the server.
*/ inline ServerReplicationConfiguration& WithServerReplicationParameters(ServerReplicationParameters&& value) { SetServerReplicationParameters(std::move(value)); return *this;} private: Server m_server; bool m_serverHasBeenSet = false; ServerReplicationParameters m_serverReplicationParameters; bool m_serverReplicationParametersHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws