/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { class UpdateGatewayCapabilityConfigurationResult { public: AWS_IOTSITEWISE_API UpdateGatewayCapabilityConfigurationResult(); AWS_IOTSITEWISE_API UpdateGatewayCapabilityConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_IOTSITEWISE_API UpdateGatewayCapabilityConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The namespace of the gateway capability.

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

The namespace of the gateway capability.

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

The namespace of the gateway capability.

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

The namespace of the gateway capability.

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

The namespace of the gateway capability.

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

The namespace of the gateway capability.

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

The namespace of the gateway capability.

*/ inline UpdateGatewayCapabilityConfigurationResult& 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.

After you update a * capability configuration, its sync status is OUT_OF_SYNC until the * gateway receives and applies or rejects the updated 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.

After you update a * capability configuration, its sync status is OUT_OF_SYNC until the * gateway receives and applies or rejects the updated configuration.

*/ inline void SetCapabilitySyncStatus(const CapabilitySyncStatus& value) { 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.

After you update a * capability configuration, its sync status is OUT_OF_SYNC until the * gateway receives and applies or rejects the updated configuration.

*/ inline void SetCapabilitySyncStatus(CapabilitySyncStatus&& value) { 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.

After you update a * capability configuration, its sync status is OUT_OF_SYNC until the * gateway receives and applies or rejects the updated configuration.

*/ inline UpdateGatewayCapabilityConfigurationResult& 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.

After you update a * capability configuration, its sync status is OUT_OF_SYNC until the * gateway receives and applies or rejects the updated configuration.

*/ inline UpdateGatewayCapabilityConfigurationResult& WithCapabilitySyncStatus(CapabilitySyncStatus&& value) { SetCapabilitySyncStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateGatewayCapabilityConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateGatewayCapabilityConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateGatewayCapabilityConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_capabilityNamespace; CapabilitySyncStatus m_capabilitySyncStatus; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws