/** * 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 tnb { namespace Model { class TerminateSolNetworkInstanceResult { public: AWS_TNB_API TerminateSolNetworkInstanceResult(); AWS_TNB_API TerminateSolNetworkInstanceResult(const Aws::AmazonWebServiceResult& result); AWS_TNB_API TerminateSolNetworkInstanceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the network operation.

*/ inline const Aws::String& GetNsLcmOpOccId() const{ return m_nsLcmOpOccId; } /** *

The identifier of the network operation.

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

The identifier of the network operation.

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

The identifier of the network operation.

*/ inline void SetNsLcmOpOccId(const char* value) { m_nsLcmOpOccId.assign(value); } /** *

The identifier of the network operation.

*/ inline TerminateSolNetworkInstanceResult& WithNsLcmOpOccId(const Aws::String& value) { SetNsLcmOpOccId(value); return *this;} /** *

The identifier of the network operation.

*/ inline TerminateSolNetworkInstanceResult& WithNsLcmOpOccId(Aws::String&& value) { SetNsLcmOpOccId(std::move(value)); return *this;} /** *

The identifier of the network operation.

*/ inline TerminateSolNetworkInstanceResult& WithNsLcmOpOccId(const char* value) { SetNsLcmOpOccId(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. When you use this API, the tags are * transferred to the network operation that is created. 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. When you use this API, the tags are * transferred to the network operation that is created. 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. When you use this API, the tags are * transferred to the network operation that is created. 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline TerminateSolNetworkInstanceResult& 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 TerminateSolNetworkInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline TerminateSolNetworkInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline TerminateSolNetworkInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nsLcmOpOccId; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace tnb } // namespace Aws