/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IoTTwinMaker { namespace Model { /** */ class UpdatePricingPlanRequest : public IoTTwinMakerRequest { public: AWS_IOTTWINMAKER_API UpdatePricingPlanRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdatePricingPlan"; } AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override; /** *

The pricing mode.

*/ inline const PricingMode& GetPricingMode() const{ return m_pricingMode; } /** *

The pricing mode.

*/ inline bool PricingModeHasBeenSet() const { return m_pricingModeHasBeenSet; } /** *

The pricing mode.

*/ inline void SetPricingMode(const PricingMode& value) { m_pricingModeHasBeenSet = true; m_pricingMode = value; } /** *

The pricing mode.

*/ inline void SetPricingMode(PricingMode&& value) { m_pricingModeHasBeenSet = true; m_pricingMode = std::move(value); } /** *

The pricing mode.

*/ inline UpdatePricingPlanRequest& WithPricingMode(const PricingMode& value) { SetPricingMode(value); return *this;} /** *

The pricing mode.

*/ inline UpdatePricingPlanRequest& WithPricingMode(PricingMode&& value) { SetPricingMode(std::move(value)); return *this;} /** *

The bundle names.

*/ inline const Aws::Vector& GetBundleNames() const{ return m_bundleNames; } /** *

The bundle names.

*/ inline bool BundleNamesHasBeenSet() const { return m_bundleNamesHasBeenSet; } /** *

The bundle names.

*/ inline void SetBundleNames(const Aws::Vector& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = value; } /** *

The bundle names.

*/ inline void SetBundleNames(Aws::Vector&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = std::move(value); } /** *

The bundle names.

*/ inline UpdatePricingPlanRequest& WithBundleNames(const Aws::Vector& value) { SetBundleNames(value); return *this;} /** *

The bundle names.

*/ inline UpdatePricingPlanRequest& WithBundleNames(Aws::Vector&& value) { SetBundleNames(std::move(value)); return *this;} /** *

The bundle names.

*/ inline UpdatePricingPlanRequest& AddBundleNames(const Aws::String& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(value); return *this; } /** *

The bundle names.

*/ inline UpdatePricingPlanRequest& AddBundleNames(Aws::String&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(std::move(value)); return *this; } /** *

The bundle names.

*/ inline UpdatePricingPlanRequest& AddBundleNames(const char* value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(value); return *this; } private: PricingMode m_pricingMode; bool m_pricingModeHasBeenSet = false; Aws::Vector m_bundleNames; bool m_bundleNamesHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws