/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace tnb { namespace Model { class GetSolFunctionPackageResult { public: AWS_TNB_API GetSolFunctionPackageResult(); AWS_TNB_API GetSolFunctionPackageResult(const Aws::AmazonWebServiceResult& result); AWS_TNB_API GetSolFunctionPackageResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Function package ARN.

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

Function package ARN.

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

Function package ARN.

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

Function package ARN.

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

Function package ARN.

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

Function package ARN.

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

Function package ARN.

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

Function package ID.

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

Function package ID.

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

Function package ID.

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

Function package ID.

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

Function package ID.

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

Function package ID.

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

Function package ID.

*/ inline GetSolFunctionPackageResult& WithId(const char* value) { SetId(value); return *this;} inline const GetSolFunctionPackageMetadata& GetMetadata() const{ return m_metadata; } inline void SetMetadata(const GetSolFunctionPackageMetadata& value) { m_metadata = value; } inline void SetMetadata(GetSolFunctionPackageMetadata&& value) { m_metadata = std::move(value); } inline GetSolFunctionPackageResult& WithMetadata(const GetSolFunctionPackageMetadata& value) { SetMetadata(value); return *this;} inline GetSolFunctionPackageResult& WithMetadata(GetSolFunctionPackageMetadata&& value) { SetMetadata(std::move(value)); return *this;} /** *

Function package onboarding state.

*/ inline const OnboardingState& GetOnboardingState() const{ return m_onboardingState; } /** *

Function package onboarding state.

*/ inline void SetOnboardingState(const OnboardingState& value) { m_onboardingState = value; } /** *

Function package onboarding state.

*/ inline void SetOnboardingState(OnboardingState&& value) { m_onboardingState = std::move(value); } /** *

Function package onboarding state.

*/ inline GetSolFunctionPackageResult& WithOnboardingState(const OnboardingState& value) { SetOnboardingState(value); return *this;} /** *

Function package onboarding state.

*/ inline GetSolFunctionPackageResult& WithOnboardingState(OnboardingState&& value) { SetOnboardingState(std::move(value)); return *this;} /** *

Function package operational state.

*/ inline const OperationalState& GetOperationalState() const{ return m_operationalState; } /** *

Function package operational state.

*/ inline void SetOperationalState(const OperationalState& value) { m_operationalState = value; } /** *

Function package operational state.

*/ inline void SetOperationalState(OperationalState&& value) { m_operationalState = std::move(value); } /** *

Function package operational state.

*/ inline GetSolFunctionPackageResult& WithOperationalState(const OperationalState& value) { SetOperationalState(value); return *this;} /** *

Function package operational state.

*/ inline GetSolFunctionPackageResult& WithOperationalState(OperationalState&& value) { SetOperationalState(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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& 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 GetSolFunctionPackageResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

Function package usage state.

*/ inline const UsageState& GetUsageState() const{ return m_usageState; } /** *

Function package usage state.

*/ inline void SetUsageState(const UsageState& value) { m_usageState = value; } /** *

Function package usage state.

*/ inline void SetUsageState(UsageState&& value) { m_usageState = std::move(value); } /** *

Function package usage state.

*/ inline GetSolFunctionPackageResult& WithUsageState(const UsageState& value) { SetUsageState(value); return *this;} /** *

Function package usage state.

*/ inline GetSolFunctionPackageResult& WithUsageState(UsageState&& value) { SetUsageState(std::move(value)); return *this;} /** *

Network function product name.

*/ inline const Aws::String& GetVnfProductName() const{ return m_vnfProductName; } /** *

Network function product name.

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

Network function product name.

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

Network function product name.

*/ inline void SetVnfProductName(const char* value) { m_vnfProductName.assign(value); } /** *

Network function product name.

*/ inline GetSolFunctionPackageResult& WithVnfProductName(const Aws::String& value) { SetVnfProductName(value); return *this;} /** *

Network function product name.

*/ inline GetSolFunctionPackageResult& WithVnfProductName(Aws::String&& value) { SetVnfProductName(std::move(value)); return *this;} /** *

Network function product name.

*/ inline GetSolFunctionPackageResult& WithVnfProductName(const char* value) { SetVnfProductName(value); return *this;} /** *

Network function provider.

*/ inline const Aws::String& GetVnfProvider() const{ return m_vnfProvider; } /** *

Network function provider.

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

Network function provider.

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

Network function provider.

*/ inline void SetVnfProvider(const char* value) { m_vnfProvider.assign(value); } /** *

Network function provider.

*/ inline GetSolFunctionPackageResult& WithVnfProvider(const Aws::String& value) { SetVnfProvider(value); return *this;} /** *

Network function provider.

*/ inline GetSolFunctionPackageResult& WithVnfProvider(Aws::String&& value) { SetVnfProvider(std::move(value)); return *this;} /** *

Network function provider.

*/ inline GetSolFunctionPackageResult& WithVnfProvider(const char* value) { SetVnfProvider(value); return *this;} /** *

Function package descriptor ID.

*/ inline const Aws::String& GetVnfdId() const{ return m_vnfdId; } /** *

Function package descriptor ID.

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

Function package descriptor ID.

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

Function package descriptor ID.

*/ inline void SetVnfdId(const char* value) { m_vnfdId.assign(value); } /** *

Function package descriptor ID.

*/ inline GetSolFunctionPackageResult& WithVnfdId(const Aws::String& value) { SetVnfdId(value); return *this;} /** *

Function package descriptor ID.

*/ inline GetSolFunctionPackageResult& WithVnfdId(Aws::String&& value) { SetVnfdId(std::move(value)); return *this;} /** *

Function package descriptor ID.

*/ inline GetSolFunctionPackageResult& WithVnfdId(const char* value) { SetVnfdId(value); return *this;} /** *

Function package descriptor version.

*/ inline const Aws::String& GetVnfdVersion() const{ return m_vnfdVersion; } /** *

Function package descriptor version.

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

Function package descriptor version.

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

Function package descriptor version.

*/ inline void SetVnfdVersion(const char* value) { m_vnfdVersion.assign(value); } /** *

Function package descriptor version.

*/ inline GetSolFunctionPackageResult& WithVnfdVersion(const Aws::String& value) { SetVnfdVersion(value); return *this;} /** *

Function package descriptor version.

*/ inline GetSolFunctionPackageResult& WithVnfdVersion(Aws::String&& value) { SetVnfdVersion(std::move(value)); return *this;} /** *

Function package descriptor version.

*/ inline GetSolFunctionPackageResult& WithVnfdVersion(const char* value) { SetVnfdVersion(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 GetSolFunctionPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSolFunctionPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSolFunctionPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; GetSolFunctionPackageMetadata m_metadata; OnboardingState m_onboardingState; OperationalState m_operationalState; Aws::Map m_tags; UsageState m_usageState; Aws::String m_vnfProductName; Aws::String m_vnfProvider; Aws::String m_vnfdId; Aws::String m_vnfdVersion; Aws::String m_requestId; }; } // namespace Model } // namespace tnb } // namespace Aws