/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a server.See Also:
AWS API
* Reference
The ID of the server.
*/ inline const Aws::String& GetServerId() const{ return m_serverId; } /** *The ID of the server.
*/ inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; } /** *The ID of the server.
*/ inline void SetServerId(const Aws::String& value) { m_serverIdHasBeenSet = true; m_serverId = value; } /** *The ID of the server.
*/ inline void SetServerId(Aws::String&& value) { m_serverIdHasBeenSet = true; m_serverId = std::move(value); } /** *The ID of the server.
*/ inline void SetServerId(const char* value) { m_serverIdHasBeenSet = true; m_serverId.assign(value); } /** *The ID of the server.
*/ inline Server& WithServerId(const Aws::String& value) { SetServerId(value); return *this;} /** *The ID of the server.
*/ inline Server& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;} /** *The ID of the server.
*/ inline Server& WithServerId(const char* value) { SetServerId(value); return *this;} /** *The type of server.
*/ inline const ServerType& GetServerType() const{ return m_serverType; } /** *The type of server.
*/ inline bool ServerTypeHasBeenSet() const { return m_serverTypeHasBeenSet; } /** *The type of server.
*/ inline void SetServerType(const ServerType& value) { m_serverTypeHasBeenSet = true; m_serverType = value; } /** *The type of server.
*/ inline void SetServerType(ServerType&& value) { m_serverTypeHasBeenSet = true; m_serverType = std::move(value); } /** *The type of server.
*/ inline Server& WithServerType(const ServerType& value) { SetServerType(value); return *this;} /** *The type of server.
*/ inline Server& WithServerType(ServerType&& value) { SetServerType(std::move(value)); return *this;} /** *Information about the VM server.
*/ inline const VmServer& GetVmServer() const{ return m_vmServer; } /** *Information about the VM server.
*/ inline bool VmServerHasBeenSet() const { return m_vmServerHasBeenSet; } /** *Information about the VM server.
*/ inline void SetVmServer(const VmServer& value) { m_vmServerHasBeenSet = true; m_vmServer = value; } /** *Information about the VM server.
*/ inline void SetVmServer(VmServer&& value) { m_vmServerHasBeenSet = true; m_vmServer = std::move(value); } /** *Information about the VM server.
*/ inline Server& WithVmServer(const VmServer& value) { SetVmServer(value); return *this;} /** *Information about the VM server.
*/ inline Server& WithVmServer(VmServer&& value) { SetVmServer(std::move(value)); return *this;} /** *The ID of the replication job.
*/ inline const Aws::String& GetReplicationJobId() const{ return m_replicationJobId; } /** *The ID of the replication job.
*/ inline bool ReplicationJobIdHasBeenSet() const { return m_replicationJobIdHasBeenSet; } /** *The ID of the replication job.
*/ inline void SetReplicationJobId(const Aws::String& value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId = value; } /** *The ID of the replication job.
*/ inline void SetReplicationJobId(Aws::String&& value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId = std::move(value); } /** *The ID of the replication job.
*/ inline void SetReplicationJobId(const char* value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId.assign(value); } /** *The ID of the replication job.
*/ inline Server& WithReplicationJobId(const Aws::String& value) { SetReplicationJobId(value); return *this;} /** *The ID of the replication job.
*/ inline Server& WithReplicationJobId(Aws::String&& value) { SetReplicationJobId(std::move(value)); return *this;} /** *The ID of the replication job.
*/ inline Server& WithReplicationJobId(const char* value) { SetReplicationJobId(value); return *this;} /** *Indicates whether the replication job is deleted or failed.
*/ inline bool GetReplicationJobTerminated() const{ return m_replicationJobTerminated; } /** *Indicates whether the replication job is deleted or failed.
*/ inline bool ReplicationJobTerminatedHasBeenSet() const { return m_replicationJobTerminatedHasBeenSet; } /** *Indicates whether the replication job is deleted or failed.
*/ inline void SetReplicationJobTerminated(bool value) { m_replicationJobTerminatedHasBeenSet = true; m_replicationJobTerminated = value; } /** *Indicates whether the replication job is deleted or failed.
*/ inline Server& WithReplicationJobTerminated(bool value) { SetReplicationJobTerminated(value); return *this;} private: Aws::String m_serverId; bool m_serverIdHasBeenSet = false; ServerType m_serverType; bool m_serverTypeHasBeenSet = false; VmServer m_vmServer; bool m_vmServerHasBeenSet = false; Aws::String m_replicationJobId; bool m_replicationJobIdHasBeenSet = false; bool m_replicationJobTerminated; bool m_replicationJobTerminatedHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws