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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ARN.

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

Network instance ID.

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

Network instance ID.

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

Network instance ID.

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

Network instance ID.

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

Network instance ID.

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

Network instance ID.

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

Network instance ID.

*/ inline GetSolNetworkInstanceResult& WithId(const char* value) { SetId(value); return *this;} inline const LcmOperationInfo& GetLcmOpInfo() const{ return m_lcmOpInfo; } inline void SetLcmOpInfo(const LcmOperationInfo& value) { m_lcmOpInfo = value; } inline void SetLcmOpInfo(LcmOperationInfo&& value) { m_lcmOpInfo = std::move(value); } inline GetSolNetworkInstanceResult& WithLcmOpInfo(const LcmOperationInfo& value) { SetLcmOpInfo(value); return *this;} inline GetSolNetworkInstanceResult& WithLcmOpInfo(LcmOperationInfo&& value) { SetLcmOpInfo(std::move(value)); return *this;} inline const GetSolNetworkInstanceMetadata& GetMetadata() const{ return m_metadata; } inline void SetMetadata(const GetSolNetworkInstanceMetadata& value) { m_metadata = value; } inline void SetMetadata(GetSolNetworkInstanceMetadata&& value) { m_metadata = std::move(value); } inline GetSolNetworkInstanceResult& WithMetadata(const GetSolNetworkInstanceMetadata& value) { SetMetadata(value); return *this;} inline GetSolNetworkInstanceResult& WithMetadata(GetSolNetworkInstanceMetadata&& value) { SetMetadata(std::move(value)); return *this;} /** *

Network instance description.

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

Network instance description.

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

Network instance description.

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

Network instance description.

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

Network instance description.

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

Network instance description.

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

Network instance description.

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

Network instance name.

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

Network instance name.

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

Network instance name.

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

Network instance name.

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

Network instance name.

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

Network instance name.

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

Network instance name.

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

Network instance state.

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

Network instance state.

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

Network instance state.

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

Network instance state.

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

Network instance state.

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

Network service descriptor ID.

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

Network service descriptor ID.

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

Network service descriptor ID.

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

Network service descriptor ID.

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

Network service descriptor ID.

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

Network service descriptor ID.

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

Network service descriptor ID.

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

Network service descriptor info ID.

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

Network service descriptor info ID.

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

Network service descriptor info ID.

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

Network service descriptor info ID.

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

Network service descriptor info ID.

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

Network service descriptor info ID.

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

Network service descriptor info ID.

*/ inline GetSolNetworkInstanceResult& WithNsdInfoId(const char* value) { SetNsdInfoId(value); return *this;} /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. You can use tags to search and filter * your resources or track your Amazon Web Services costs.

*/ inline GetSolNetworkInstanceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 GetSolNetworkInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSolNetworkInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSolNetworkInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; LcmOperationInfo m_lcmOpInfo; GetSolNetworkInstanceMetadata m_metadata; Aws::String m_nsInstanceDescription; Aws::String m_nsInstanceName; NsState m_nsState; Aws::String m_nsdId; Aws::String m_nsdInfoId; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace tnb } // namespace Aws