/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SMS { namespace Model { /** *

Represents a connector.

See Also:

AWS API * Reference

*/ class Connector { public: AWS_SMS_API Connector(); AWS_SMS_API Connector(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API Connector& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the connector.

*/ inline const Aws::String& GetConnectorId() const{ return m_connectorId; } /** *

The ID of the connector.

*/ inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; } /** *

The ID of the connector.

*/ inline void SetConnectorId(const Aws::String& value) { m_connectorIdHasBeenSet = true; m_connectorId = value; } /** *

The ID of the connector.

*/ inline void SetConnectorId(Aws::String&& value) { m_connectorIdHasBeenSet = true; m_connectorId = std::move(value); } /** *

The ID of the connector.

*/ inline void SetConnectorId(const char* value) { m_connectorIdHasBeenSet = true; m_connectorId.assign(value); } /** *

The ID of the connector.

*/ inline Connector& WithConnectorId(const Aws::String& value) { SetConnectorId(value); return *this;} /** *

The ID of the connector.

*/ inline Connector& WithConnectorId(Aws::String&& value) { SetConnectorId(std::move(value)); return *this;} /** *

The ID of the connector.

*/ inline Connector& WithConnectorId(const char* value) { SetConnectorId(value); return *this;} /** *

The connector version.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

The connector version.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

The connector version.

*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *

The connector version.

*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *

The connector version.

*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *

The connector version.

*/ inline Connector& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

The connector version.

*/ inline Connector& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

The connector version.

*/ inline Connector& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

The status of the connector.

*/ inline const ConnectorStatus& GetStatus() const{ return m_status; } /** *

The status of the connector.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the connector.

*/ inline void SetStatus(const ConnectorStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the connector.

*/ inline void SetStatus(ConnectorStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the connector.

*/ inline Connector& WithStatus(const ConnectorStatus& value) { SetStatus(value); return *this;} /** *

The status of the connector.

*/ inline Connector& WithStatus(ConnectorStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The capabilities of the connector.

*/ inline const Aws::Vector& GetCapabilityList() const{ return m_capabilityList; } /** *

The capabilities of the connector.

*/ inline bool CapabilityListHasBeenSet() const { return m_capabilityListHasBeenSet; } /** *

The capabilities of the connector.

*/ inline void SetCapabilityList(const Aws::Vector& value) { m_capabilityListHasBeenSet = true; m_capabilityList = value; } /** *

The capabilities of the connector.

*/ inline void SetCapabilityList(Aws::Vector&& value) { m_capabilityListHasBeenSet = true; m_capabilityList = std::move(value); } /** *

The capabilities of the connector.

*/ inline Connector& WithCapabilityList(const Aws::Vector& value) { SetCapabilityList(value); return *this;} /** *

The capabilities of the connector.

*/ inline Connector& WithCapabilityList(Aws::Vector&& value) { SetCapabilityList(std::move(value)); return *this;} /** *

The capabilities of the connector.

*/ inline Connector& AddCapabilityList(const ConnectorCapability& value) { m_capabilityListHasBeenSet = true; m_capabilityList.push_back(value); return *this; } /** *

The capabilities of the connector.

*/ inline Connector& AddCapabilityList(ConnectorCapability&& value) { m_capabilityListHasBeenSet = true; m_capabilityList.push_back(std::move(value)); return *this; } /** *

The name of the VM manager.

*/ inline const Aws::String& GetVmManagerName() const{ return m_vmManagerName; } /** *

The name of the VM manager.

*/ inline bool VmManagerNameHasBeenSet() const { return m_vmManagerNameHasBeenSet; } /** *

The name of the VM manager.

*/ inline void SetVmManagerName(const Aws::String& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = value; } /** *

The name of the VM manager.

*/ inline void SetVmManagerName(Aws::String&& value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName = std::move(value); } /** *

The name of the VM manager.

*/ inline void SetVmManagerName(const char* value) { m_vmManagerNameHasBeenSet = true; m_vmManagerName.assign(value); } /** *

The name of the VM manager.

*/ inline Connector& WithVmManagerName(const Aws::String& value) { SetVmManagerName(value); return *this;} /** *

The name of the VM manager.

*/ inline Connector& WithVmManagerName(Aws::String&& value) { SetVmManagerName(std::move(value)); return *this;} /** *

The name of the VM manager.

*/ inline Connector& WithVmManagerName(const char* value) { SetVmManagerName(value); return *this;} /** *

The VM management product.

*/ inline const VmManagerType& GetVmManagerType() const{ return m_vmManagerType; } /** *

The VM management product.

*/ inline bool VmManagerTypeHasBeenSet() const { return m_vmManagerTypeHasBeenSet; } /** *

The VM management product.

*/ inline void SetVmManagerType(const VmManagerType& value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = value; } /** *

The VM management product.

*/ inline void SetVmManagerType(VmManagerType&& value) { m_vmManagerTypeHasBeenSet = true; m_vmManagerType = std::move(value); } /** *

The VM management product.

*/ inline Connector& WithVmManagerType(const VmManagerType& value) { SetVmManagerType(value); return *this;} /** *

The VM management product.

*/ inline Connector& WithVmManagerType(VmManagerType&& value) { SetVmManagerType(std::move(value)); return *this;} /** *

The ID of the VM manager.

*/ inline const Aws::String& GetVmManagerId() const{ return m_vmManagerId; } /** *

The ID of the VM manager.

*/ inline bool VmManagerIdHasBeenSet() const { return m_vmManagerIdHasBeenSet; } /** *

The ID of the VM manager.

*/ inline void SetVmManagerId(const Aws::String& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = value; } /** *

The ID of the VM manager.

*/ inline void SetVmManagerId(Aws::String&& value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId = std::move(value); } /** *

The ID of the VM manager.

*/ inline void SetVmManagerId(const char* value) { m_vmManagerIdHasBeenSet = true; m_vmManagerId.assign(value); } /** *

The ID of the VM manager.

*/ inline Connector& WithVmManagerId(const Aws::String& value) { SetVmManagerId(value); return *this;} /** *

The ID of the VM manager.

*/ inline Connector& WithVmManagerId(Aws::String&& value) { SetVmManagerId(std::move(value)); return *this;} /** *

The ID of the VM manager.

*/ inline Connector& WithVmManagerId(const char* value) { SetVmManagerId(value); return *this;} /** *

The IP address of the connector.

*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *

The IP address of the connector.

*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *

The IP address of the connector.

*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *

The IP address of the connector.

*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *

The IP address of the connector.

*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *

The IP address of the connector.

*/ inline Connector& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *

The IP address of the connector.

*/ inline Connector& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *

The IP address of the connector.

*/ inline Connector& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *

The MAC address of the connector.

*/ inline const Aws::String& GetMacAddress() const{ return m_macAddress; } /** *

The MAC address of the connector.

*/ inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; } /** *

The MAC address of the connector.

*/ inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; } /** *

The MAC address of the connector.

*/ inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); } /** *

The MAC address of the connector.

*/ inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); } /** *

The MAC address of the connector.

*/ inline Connector& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} /** *

The MAC address of the connector.

*/ inline Connector& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} /** *

The MAC address of the connector.

*/ inline Connector& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} /** *

The time the connector was associated.

*/ inline const Aws::Utils::DateTime& GetAssociatedOn() const{ return m_associatedOn; } /** *

The time the connector was associated.

*/ inline bool AssociatedOnHasBeenSet() const { return m_associatedOnHasBeenSet; } /** *

The time the connector was associated.

*/ inline void SetAssociatedOn(const Aws::Utils::DateTime& value) { m_associatedOnHasBeenSet = true; m_associatedOn = value; } /** *

The time the connector was associated.

*/ inline void SetAssociatedOn(Aws::Utils::DateTime&& value) { m_associatedOnHasBeenSet = true; m_associatedOn = std::move(value); } /** *

The time the connector was associated.

*/ inline Connector& WithAssociatedOn(const Aws::Utils::DateTime& value) { SetAssociatedOn(value); return *this;} /** *

The time the connector was associated.

*/ inline Connector& WithAssociatedOn(Aws::Utils::DateTime&& value) { SetAssociatedOn(std::move(value)); return *this;} private: Aws::String m_connectorId; bool m_connectorIdHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; ConnectorStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector m_capabilityList; bool m_capabilityListHasBeenSet = false; Aws::String m_vmManagerName; bool m_vmManagerNameHasBeenSet = false; VmManagerType m_vmManagerType; bool m_vmManagerTypeHasBeenSet = false; Aws::String m_vmManagerId; bool m_vmManagerIdHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; Aws::String m_macAddress; bool m_macAddressHasBeenSet = false; Aws::Utils::DateTime m_associatedOn; bool m_associatedOnHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws