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

Contains a summary of a gateway capability configuration.

See * Also:

AWS * API Reference

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

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline const Aws::String& GetCapabilityNamespace() const{ return m_capabilityNamespace; } /** *

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline bool CapabilityNamespaceHasBeenSet() const { return m_capabilityNamespaceHasBeenSet; } /** *

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline void SetCapabilityNamespace(const Aws::String& value) { m_capabilityNamespaceHasBeenSet = true; m_capabilityNamespace = value; } /** *

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline void SetCapabilityNamespace(Aws::String&& value) { m_capabilityNamespaceHasBeenSet = true; m_capabilityNamespace = std::move(value); } /** *

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline void SetCapabilityNamespace(const char* value) { m_capabilityNamespaceHasBeenSet = true; m_capabilityNamespace.assign(value); } /** *

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline GatewayCapabilitySummary& WithCapabilityNamespace(const Aws::String& value) { SetCapabilityNamespace(value); return *this;} /** *

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline GatewayCapabilitySummary& WithCapabilityNamespace(Aws::String&& value) { SetCapabilityNamespace(std::move(value)); return *this;} /** *

The namespace of the capability configuration. For example, if you configure * OPC-UA sources from the IoT SiteWise console, your OPC-UA capability * configuration has the namespace iotsitewise:opcuacollector:version, * where version is a number such as 1.

*/ inline GatewayCapabilitySummary& WithCapabilityNamespace(const char* value) { SetCapabilityNamespace(value); return *this;} /** *

The synchronization status of the capability configuration. The sync status * can be one of the following:

  • IN_SYNC – The * gateway is running the capability configuration.

  • * OUT_OF_SYNC – The gateway hasn't received the capability * configuration.

  • SYNC_FAILED – The gateway * rejected the capability configuration.

*/ inline const CapabilitySyncStatus& GetCapabilitySyncStatus() const{ return m_capabilitySyncStatus; } /** *

The synchronization status of the capability configuration. The sync status * can be one of the following:

  • IN_SYNC – The * gateway is running the capability configuration.

  • * OUT_OF_SYNC – The gateway hasn't received the capability * configuration.

  • SYNC_FAILED – The gateway * rejected the capability configuration.

*/ inline bool CapabilitySyncStatusHasBeenSet() const { return m_capabilitySyncStatusHasBeenSet; } /** *

The synchronization status of the capability configuration. The sync status * can be one of the following:

  • IN_SYNC – The * gateway is running the capability configuration.

  • * OUT_OF_SYNC – The gateway hasn't received the capability * configuration.

  • SYNC_FAILED – The gateway * rejected the capability configuration.

*/ inline void SetCapabilitySyncStatus(const CapabilitySyncStatus& value) { m_capabilitySyncStatusHasBeenSet = true; m_capabilitySyncStatus = value; } /** *

The synchronization status of the capability configuration. The sync status * can be one of the following:

  • IN_SYNC – The * gateway is running the capability configuration.

  • * OUT_OF_SYNC – The gateway hasn't received the capability * configuration.

  • SYNC_FAILED – The gateway * rejected the capability configuration.

*/ inline void SetCapabilitySyncStatus(CapabilitySyncStatus&& value) { m_capabilitySyncStatusHasBeenSet = true; m_capabilitySyncStatus = std::move(value); } /** *

The synchronization status of the capability configuration. The sync status * can be one of the following:

  • IN_SYNC – The * gateway is running the capability configuration.

  • * OUT_OF_SYNC – The gateway hasn't received the capability * configuration.

  • SYNC_FAILED – The gateway * rejected the capability configuration.

*/ inline GatewayCapabilitySummary& WithCapabilitySyncStatus(const CapabilitySyncStatus& value) { SetCapabilitySyncStatus(value); return *this;} /** *

The synchronization status of the capability configuration. The sync status * can be one of the following:

  • IN_SYNC – The * gateway is running the capability configuration.

  • * OUT_OF_SYNC – The gateway hasn't received the capability * configuration.

  • SYNC_FAILED – The gateway * rejected the capability configuration.

*/ inline GatewayCapabilitySummary& WithCapabilitySyncStatus(CapabilitySyncStatus&& value) { SetCapabilitySyncStatus(std::move(value)); return *this;} private: Aws::String m_capabilityNamespace; bool m_capabilityNamespaceHasBeenSet = false; CapabilitySyncStatus m_capabilitySyncStatus; bool m_capabilitySyncStatusHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws