/** * 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 CreateSolFunctionPackageResult { public: AWS_TNB_API CreateSolFunctionPackageResult(); AWS_TNB_API CreateSolFunctionPackageResult(const Aws::AmazonWebServiceResult& result); AWS_TNB_API CreateSolFunctionPackageResult& 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 CreateSolFunctionPackageResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

Function package ARN.

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

Function package ARN.

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

ID of the function package.

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

ID of the function package.

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

ID of the function package.

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

ID of the function package.

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

ID of the function package.

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

ID of the function package.

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

ID of the function package.

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

Onboarding state of the function package.

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

Onboarding state of the function package.

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

Onboarding state of the function package.

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

Onboarding state of the function package.

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

Onboarding state of the function package.

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

Operational state of the function package.

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

Operational state of the function package.

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

Operational state of the function package.

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

Operational state of the function package.

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

Operational state of the function package.

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

Usage state of the function package.

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

Usage state of the function package.

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

Usage state of the function package.

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

Usage state of the function package.

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

Usage state of the function package.

*/ inline CreateSolFunctionPackageResult& WithUsageState(UsageState&& value) { SetUsageState(std::move(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 CreateSolFunctionPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateSolFunctionPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateSolFunctionPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; OnboardingState m_onboardingState; OperationalState m_operationalState; Aws::Map m_tags; UsageState m_usageState; Aws::String m_requestId; }; } // namespace Model } // namespace tnb } // namespace Aws