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

The summary of a gateway.

See Also:

AWS * API Reference

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

The ARN of the gateway.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the gateway.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the gateway.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the gateway.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the gateway.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the gateway.

*/ inline GatewaySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the gateway.

*/ inline GatewaySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the gateway.

*/ inline GatewaySummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the gateway.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the gateway.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the gateway.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the gateway.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the gateway.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the gateway.

*/ inline GatewaySummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the gateway.

*/ inline GatewaySummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the gateway.

*/ inline GatewaySummary& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the gateway.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the gateway.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the gateway.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the gateway.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the gateway.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the gateway.

*/ inline GatewaySummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the gateway.

*/ inline GatewaySummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the gateway.

*/ inline GatewaySummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline const Aws::String& GetGatewayGroupArn() const{ return m_gatewayGroupArn; } /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline bool GatewayGroupArnHasBeenSet() const { return m_gatewayGroupArnHasBeenSet; } /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline void SetGatewayGroupArn(const Aws::String& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = value; } /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline void SetGatewayGroupArn(Aws::String&& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = std::move(value); } /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline void SetGatewayGroupArn(const char* value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn.assign(value); } /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline GatewaySummary& WithGatewayGroupArn(const Aws::String& value) { SetGatewayGroupArn(value); return *this;} /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline GatewaySummary& WithGatewayGroupArn(Aws::String&& value) { SetGatewayGroupArn(std::move(value)); return *this;} /** *

The ARN of the gateway group that the gateway is associated to.

*/ inline GatewaySummary& WithGatewayGroupArn(const char* value) { SetGatewayGroupArn(value); return *this;} /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline const Aws::String& GetSoftwareVersion() const{ return m_softwareVersion; } /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline bool SoftwareVersionHasBeenSet() const { return m_softwareVersionHasBeenSet; } /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline void SetSoftwareVersion(const Aws::String& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = value; } /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline void SetSoftwareVersion(Aws::String&& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = std::move(value); } /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline void SetSoftwareVersion(const char* value) { m_softwareVersionHasBeenSet = true; m_softwareVersion.assign(value); } /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline GatewaySummary& WithSoftwareVersion(const Aws::String& value) { SetSoftwareVersion(value); return *this;} /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline GatewaySummary& WithSoftwareVersion(Aws::String&& value) { SetSoftwareVersion(std::move(value)); return *this;} /** *

The software version of the gateway. The gateway automatically updates its * software version during normal operation.

*/ inline GatewaySummary& WithSoftwareVersion(const char* value) { SetSoftwareVersion(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_gatewayGroupArn; bool m_gatewayGroupArnHasBeenSet = false; Aws::String m_softwareVersion; bool m_softwareVersionHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws