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

An object that represents a virtual gateway returned by a describe * operation.

See Also:

AWS * API Reference

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

The name of the service mesh that the virtual gateway resides in.

*/ inline const Aws::String& GetMeshName() const{ return m_meshName; } /** *

The name of the service mesh that the virtual gateway resides in.

*/ inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; } /** *

The name of the service mesh that the virtual gateway resides in.

*/ inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; } /** *

The name of the service mesh that the virtual gateway resides in.

*/ inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); } /** *

The name of the service mesh that the virtual gateway resides in.

*/ inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); } /** *

The name of the service mesh that the virtual gateway resides in.

*/ inline VirtualGatewayData& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;} /** *

The name of the service mesh that the virtual gateway resides in.

*/ inline VirtualGatewayData& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;} /** *

The name of the service mesh that the virtual gateway resides in.

*/ inline VirtualGatewayData& WithMeshName(const char* value) { SetMeshName(value); return *this;} inline const ResourceMetadata& GetMetadata() const{ return m_metadata; } inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } inline void SetMetadata(const ResourceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } inline void SetMetadata(ResourceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } inline VirtualGatewayData& WithMetadata(const ResourceMetadata& value) { SetMetadata(value); return *this;} inline VirtualGatewayData& WithMetadata(ResourceMetadata&& value) { SetMetadata(std::move(value)); return *this;} /** *

The specifications of the virtual gateway.

*/ inline const VirtualGatewaySpec& GetSpec() const{ return m_spec; } /** *

The specifications of the virtual gateway.

*/ inline bool SpecHasBeenSet() const { return m_specHasBeenSet; } /** *

The specifications of the virtual gateway.

*/ inline void SetSpec(const VirtualGatewaySpec& value) { m_specHasBeenSet = true; m_spec = value; } /** *

The specifications of the virtual gateway.

*/ inline void SetSpec(VirtualGatewaySpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); } /** *

The specifications of the virtual gateway.

*/ inline VirtualGatewayData& WithSpec(const VirtualGatewaySpec& value) { SetSpec(value); return *this;} /** *

The specifications of the virtual gateway.

*/ inline VirtualGatewayData& WithSpec(VirtualGatewaySpec&& value) { SetSpec(std::move(value)); return *this;} /** *

The current status of the virtual gateway.

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

The current status of the virtual gateway.

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

The current status of the virtual gateway.

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

The current status of the virtual gateway.

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

The current status of the virtual gateway.

*/ inline VirtualGatewayData& WithStatus(const VirtualGatewayStatus& value) { SetStatus(value); return *this;} /** *

The current status of the virtual gateway.

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

The name of the virtual gateway.

*/ inline const Aws::String& GetVirtualGatewayName() const{ return m_virtualGatewayName; } /** *

The name of the virtual gateway.

*/ inline bool VirtualGatewayNameHasBeenSet() const { return m_virtualGatewayNameHasBeenSet; } /** *

The name of the virtual gateway.

*/ inline void SetVirtualGatewayName(const Aws::String& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = value; } /** *

The name of the virtual gateway.

*/ inline void SetVirtualGatewayName(Aws::String&& value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName = std::move(value); } /** *

The name of the virtual gateway.

*/ inline void SetVirtualGatewayName(const char* value) { m_virtualGatewayNameHasBeenSet = true; m_virtualGatewayName.assign(value); } /** *

The name of the virtual gateway.

*/ inline VirtualGatewayData& WithVirtualGatewayName(const Aws::String& value) { SetVirtualGatewayName(value); return *this;} /** *

The name of the virtual gateway.

*/ inline VirtualGatewayData& WithVirtualGatewayName(Aws::String&& value) { SetVirtualGatewayName(std::move(value)); return *this;} /** *

The name of the virtual gateway.

*/ inline VirtualGatewayData& WithVirtualGatewayName(const char* value) { SetVirtualGatewayName(value); return *this;} private: Aws::String m_meshName; bool m_meshNameHasBeenSet = false; ResourceMetadata m_metadata; bool m_metadataHasBeenSet = false; VirtualGatewaySpec m_spec; bool m_specHasBeenSet = false; VirtualGatewayStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_virtualGatewayName; bool m_virtualGatewayNameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws