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

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 UpdateSolFunctionPackageResult& WithOperationalState(const OperationalState& value) { SetOperationalState(value); return *this;} /** *

Operational state of the function package.

*/ inline UpdateSolFunctionPackageResult& WithOperationalState(OperationalState&& value) { SetOperationalState(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 UpdateSolFunctionPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateSolFunctionPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateSolFunctionPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: OperationalState m_operationalState; Aws::String m_requestId; }; } // namespace Model } // namespace tnb } // namespace Aws