AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdatePricingPlanRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/iottwinmaker/model/PricingMode.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTTwinMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTTWINMAKER_API UpdatePricingPlanRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdatePricingPlan"; }
33
34 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
35
36
38
41 inline PricingMode GetPricingMode() const { return m_pricingMode; }
42 inline bool PricingModeHasBeenSet() const { return m_pricingModeHasBeenSet; }
43 inline void SetPricingMode(PricingMode value) { m_pricingModeHasBeenSet = true; m_pricingMode = value; }
46
48
51 inline const Aws::Vector<Aws::String>& GetBundleNames() const { return m_bundleNames; }
52 inline bool BundleNamesHasBeenSet() const { return m_bundleNamesHasBeenSet; }
53 template<typename BundleNamesT = Aws::Vector<Aws::String>>
54 void SetBundleNames(BundleNamesT&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = std::forward<BundleNamesT>(value); }
55 template<typename BundleNamesT = Aws::Vector<Aws::String>>
56 UpdatePricingPlanRequest& WithBundleNames(BundleNamesT&& value) { SetBundleNames(std::forward<BundleNamesT>(value)); return *this;}
57 template<typename BundleNamesT = Aws::String>
58 UpdatePricingPlanRequest& AddBundleNames(BundleNamesT&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.emplace_back(std::forward<BundleNamesT>(value)); return *this; }
60 private:
61
62 PricingMode m_pricingMode{PricingMode::NOT_SET};
63 bool m_pricingModeHasBeenSet = false;
64
65 Aws::Vector<Aws::String> m_bundleNames;
66 bool m_bundleNamesHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace IoTTwinMaker
71} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
UpdatePricingPlanRequest & AddBundleNames(BundleNamesT &&value)
AWS_IOTTWINMAKER_API UpdatePricingPlanRequest()=default
const Aws::Vector< Aws::String > & GetBundleNames() const
UpdatePricingPlanRequest & WithPricingMode(PricingMode value)
UpdatePricingPlanRequest & WithBundleNames(BundleNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector