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

Update the current pricing plan.

*/ inline const PricingPlan& GetCurrentPricingPlan() const{ return m_currentPricingPlan; } /** *

Update the current pricing plan.

*/ inline void SetCurrentPricingPlan(const PricingPlan& value) { m_currentPricingPlan = value; } /** *

Update the current pricing plan.

*/ inline void SetCurrentPricingPlan(PricingPlan&& value) { m_currentPricingPlan = std::move(value); } /** *

Update the current pricing plan.

*/ inline UpdatePricingPlanResult& WithCurrentPricingPlan(const PricingPlan& value) { SetCurrentPricingPlan(value); return *this;} /** *

Update the current pricing plan.

*/ inline UpdatePricingPlanResult& WithCurrentPricingPlan(PricingPlan&& value) { SetCurrentPricingPlan(std::move(value)); return *this;} /** *

Update the pending pricing plan.

*/ inline const PricingPlan& GetPendingPricingPlan() const{ return m_pendingPricingPlan; } /** *

Update the pending pricing plan.

*/ inline void SetPendingPricingPlan(const PricingPlan& value) { m_pendingPricingPlan = value; } /** *

Update the pending pricing plan.

*/ inline void SetPendingPricingPlan(PricingPlan&& value) { m_pendingPricingPlan = std::move(value); } /** *

Update the pending pricing plan.

*/ inline UpdatePricingPlanResult& WithPendingPricingPlan(const PricingPlan& value) { SetPendingPricingPlan(value); return *this;} /** *

Update the pending pricing plan.

*/ inline UpdatePricingPlanResult& WithPendingPricingPlan(PricingPlan&& value) { SetPendingPricingPlan(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 UpdatePricingPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdatePricingPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdatePricingPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: PricingPlan m_currentPricingPlan; PricingPlan m_pendingPricingPlan; Aws::String m_requestId; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws