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

Info about the specific network instance.

A network instance is a * single network created in Amazon Web Services TNB that can be deployed and on * which life-cycle operations (like terminate, update, and delete) can be * performed.

See Also:

AWS * API Reference

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

ID of the network instance.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

ID of the network instance.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

ID of the network instance.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

ID of the network instance.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

ID of the network instance.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

ID of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

ID of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

ID of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithId(const char* value) { SetId(value); return *this;} /** *

The metadata of the network instance.

*/ inline const ListSolNetworkInstanceMetadata& GetMetadata() const{ return m_metadata; } /** *

The metadata of the network instance.

*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *

The metadata of the network instance.

*/ inline void SetMetadata(const ListSolNetworkInstanceMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** *

The metadata of the network instance.

*/ inline void SetMetadata(ListSolNetworkInstanceMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } /** *

The metadata of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithMetadata(const ListSolNetworkInstanceMetadata& value) { SetMetadata(value); return *this;} /** *

The metadata of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithMetadata(ListSolNetworkInstanceMetadata&& value) { SetMetadata(std::move(value)); return *this;} /** *

Human-readable description of the network instance.

*/ inline const Aws::String& GetNsInstanceDescription() const{ return m_nsInstanceDescription; } /** *

Human-readable description of the network instance.

*/ inline bool NsInstanceDescriptionHasBeenSet() const { return m_nsInstanceDescriptionHasBeenSet; } /** *

Human-readable description of the network instance.

*/ inline void SetNsInstanceDescription(const Aws::String& value) { m_nsInstanceDescriptionHasBeenSet = true; m_nsInstanceDescription = value; } /** *

Human-readable description of the network instance.

*/ inline void SetNsInstanceDescription(Aws::String&& value) { m_nsInstanceDescriptionHasBeenSet = true; m_nsInstanceDescription = std::move(value); } /** *

Human-readable description of the network instance.

*/ inline void SetNsInstanceDescription(const char* value) { m_nsInstanceDescriptionHasBeenSet = true; m_nsInstanceDescription.assign(value); } /** *

Human-readable description of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsInstanceDescription(const Aws::String& value) { SetNsInstanceDescription(value); return *this;} /** *

Human-readable description of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsInstanceDescription(Aws::String&& value) { SetNsInstanceDescription(std::move(value)); return *this;} /** *

Human-readable description of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsInstanceDescription(const char* value) { SetNsInstanceDescription(value); return *this;} /** *

Human-readable name of the network instance.

*/ inline const Aws::String& GetNsInstanceName() const{ return m_nsInstanceName; } /** *

Human-readable name of the network instance.

*/ inline bool NsInstanceNameHasBeenSet() const { return m_nsInstanceNameHasBeenSet; } /** *

Human-readable name of the network instance.

*/ inline void SetNsInstanceName(const Aws::String& value) { m_nsInstanceNameHasBeenSet = true; m_nsInstanceName = value; } /** *

Human-readable name of the network instance.

*/ inline void SetNsInstanceName(Aws::String&& value) { m_nsInstanceNameHasBeenSet = true; m_nsInstanceName = std::move(value); } /** *

Human-readable name of the network instance.

*/ inline void SetNsInstanceName(const char* value) { m_nsInstanceNameHasBeenSet = true; m_nsInstanceName.assign(value); } /** *

Human-readable name of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsInstanceName(const Aws::String& value) { SetNsInstanceName(value); return *this;} /** *

Human-readable name of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsInstanceName(Aws::String&& value) { SetNsInstanceName(std::move(value)); return *this;} /** *

Human-readable name of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsInstanceName(const char* value) { SetNsInstanceName(value); return *this;} /** *

The state of the network instance.

*/ inline const NsState& GetNsState() const{ return m_nsState; } /** *

The state of the network instance.

*/ inline bool NsStateHasBeenSet() const { return m_nsStateHasBeenSet; } /** *

The state of the network instance.

*/ inline void SetNsState(const NsState& value) { m_nsStateHasBeenSet = true; m_nsState = value; } /** *

The state of the network instance.

*/ inline void SetNsState(NsState&& value) { m_nsStateHasBeenSet = true; m_nsState = std::move(value); } /** *

The state of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsState(const NsState& value) { SetNsState(value); return *this;} /** *

The state of the network instance.

*/ inline ListSolNetworkInstanceInfo& WithNsState(NsState&& value) { SetNsState(std::move(value)); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline const Aws::String& GetNsdId() const{ return m_nsdId; } /** *

ID of the network service descriptor in the network package.

*/ inline bool NsdIdHasBeenSet() const { return m_nsdIdHasBeenSet; } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdId(const Aws::String& value) { m_nsdIdHasBeenSet = true; m_nsdId = value; } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdId(Aws::String&& value) { m_nsdIdHasBeenSet = true; m_nsdId = std::move(value); } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdId(const char* value) { m_nsdIdHasBeenSet = true; m_nsdId.assign(value); } /** *

ID of the network service descriptor in the network package.

*/ inline ListSolNetworkInstanceInfo& WithNsdId(const Aws::String& value) { SetNsdId(value); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline ListSolNetworkInstanceInfo& WithNsdId(Aws::String&& value) { SetNsdId(std::move(value)); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline ListSolNetworkInstanceInfo& WithNsdId(const char* value) { SetNsdId(value); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline const Aws::String& GetNsdInfoId() const{ return m_nsdInfoId; } /** *

ID of the network service descriptor in the network package.

*/ inline bool NsdInfoIdHasBeenSet() const { return m_nsdInfoIdHasBeenSet; } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdInfoId(const Aws::String& value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId = value; } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdInfoId(Aws::String&& value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId = std::move(value); } /** *

ID of the network service descriptor in the network package.

*/ inline void SetNsdInfoId(const char* value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId.assign(value); } /** *

ID of the network service descriptor in the network package.

*/ inline ListSolNetworkInstanceInfo& WithNsdInfoId(const Aws::String& value) { SetNsdInfoId(value); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline ListSolNetworkInstanceInfo& WithNsdInfoId(Aws::String&& value) { SetNsdInfoId(std::move(value)); return *this;} /** *

ID of the network service descriptor in the network package.

*/ inline ListSolNetworkInstanceInfo& WithNsdInfoId(const char* value) { SetNsdInfoId(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; ListSolNetworkInstanceMetadata m_metadata; bool m_metadataHasBeenSet = false; Aws::String m_nsInstanceDescription; bool m_nsInstanceDescriptionHasBeenSet = false; Aws::String m_nsInstanceName; bool m_nsInstanceNameHasBeenSet = false; NsState m_nsState; bool m_nsStateHasBeenSet = false; Aws::String m_nsdId; bool m_nsdIdHasBeenSet = false; Aws::String m_nsdInfoId; bool m_nsdInfoIdHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws