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

Network package ARN.

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

Network package ARN.

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

Network package ARN.

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

Network package ARN.

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

Network package ARN.

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

Network package ARN.

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

Network package ARN.

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

ID of the network package.

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

ID of the network package.

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

ID of the network package.

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

ID of the network package.

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

ID of the network package.

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

ID of the network package.

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

ID of the network package.

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

Onboarding state of the network service descriptor in the network * package.

*/ inline const NsdOnboardingState& GetNsdOnboardingState() const{ return m_nsdOnboardingState; } /** *

Onboarding state of the network service descriptor in the network * package.

*/ inline void SetNsdOnboardingState(const NsdOnboardingState& value) { m_nsdOnboardingState = value; } /** *

Onboarding state of the network service descriptor in the network * package.

*/ inline void SetNsdOnboardingState(NsdOnboardingState&& value) { m_nsdOnboardingState = std::move(value); } /** *

Onboarding state of the network service descriptor in the network * package.

*/ inline CreateSolNetworkPackageResult& WithNsdOnboardingState(const NsdOnboardingState& value) { SetNsdOnboardingState(value); return *this;} /** *

Onboarding state of the network service descriptor in the network * package.

*/ inline CreateSolNetworkPackageResult& WithNsdOnboardingState(NsdOnboardingState&& value) { SetNsdOnboardingState(std::move(value)); return *this;} /** *

Operational state of the network service descriptor in the network * package.

*/ inline const NsdOperationalState& GetNsdOperationalState() const{ return m_nsdOperationalState; } /** *

Operational state of the network service descriptor in the network * package.

*/ inline void SetNsdOperationalState(const NsdOperationalState& value) { m_nsdOperationalState = value; } /** *

Operational state of the network service descriptor in the network * package.

*/ inline void SetNsdOperationalState(NsdOperationalState&& value) { m_nsdOperationalState = std::move(value); } /** *

Operational state of the network service descriptor in the network * package.

*/ inline CreateSolNetworkPackageResult& WithNsdOperationalState(const NsdOperationalState& value) { SetNsdOperationalState(value); return *this;} /** *

Operational state of the network service descriptor in the network * package.

*/ inline CreateSolNetworkPackageResult& WithNsdOperationalState(NsdOperationalState&& value) { SetNsdOperationalState(std::move(value)); return *this;} /** *

Usage state of the network service descriptor in the network package.

*/ inline const NsdUsageState& GetNsdUsageState() const{ return m_nsdUsageState; } /** *

Usage state of the network service descriptor in the network package.

*/ inline void SetNsdUsageState(const NsdUsageState& value) { m_nsdUsageState = value; } /** *

Usage state of the network service descriptor in the network package.

*/ inline void SetNsdUsageState(NsdUsageState&& value) { m_nsdUsageState = std::move(value); } /** *

Usage state of the network service descriptor in the network package.

*/ inline CreateSolNetworkPackageResult& WithNsdUsageState(const NsdUsageState& value) { SetNsdUsageState(value); return *this;} /** *

Usage state of the network service descriptor in the network package.

*/ inline CreateSolNetworkPackageResult& WithNsdUsageState(NsdUsageState&& value) { SetNsdUsageState(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 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& 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 CreateSolNetworkPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateSolNetworkPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateSolNetworkPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; NsdOnboardingState m_nsdOnboardingState; NsdOperationalState m_nsdOperationalState; NsdUsageState m_nsdUsageState; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace tnb } // namespace Aws