AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const PricingMode& GetPricingMode() const{ return m_pricingMode; }
42 inline bool PricingModeHasBeenSet() const { return m_pricingModeHasBeenSet; }
43 inline void SetPricingMode(const PricingMode& value) { m_pricingModeHasBeenSet = true; m_pricingMode = value; }
44 inline void SetPricingMode(PricingMode&& value) { m_pricingModeHasBeenSet = true; m_pricingMode = std::move(value); }
45 inline UpdatePricingPlanRequest& WithPricingMode(const PricingMode& value) { SetPricingMode(value); return *this;}
46 inline UpdatePricingPlanRequest& WithPricingMode(PricingMode&& value) { SetPricingMode(std::move(value)); return *this;}
48
50
53 inline const Aws::Vector<Aws::String>& GetBundleNames() const{ return m_bundleNames; }
54 inline bool BundleNamesHasBeenSet() const { return m_bundleNamesHasBeenSet; }
55 inline void SetBundleNames(const Aws::Vector<Aws::String>& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = value; }
56 inline void SetBundleNames(Aws::Vector<Aws::String>&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = std::move(value); }
58 inline UpdatePricingPlanRequest& WithBundleNames(Aws::Vector<Aws::String>&& value) { SetBundleNames(std::move(value)); return *this;}
59 inline UpdatePricingPlanRequest& AddBundleNames(const Aws::String& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(value); return *this; }
60 inline UpdatePricingPlanRequest& AddBundleNames(Aws::String&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(std::move(value)); return *this; }
61 inline UpdatePricingPlanRequest& AddBundleNames(const char* value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(value); return *this; }
63 private:
64
65 PricingMode m_pricingMode;
66 bool m_pricingModeHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_bundleNames;
69 bool m_bundleNamesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTTwinMaker
74} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetBundleNames(Aws::Vector< Aws::String > &&value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
UpdatePricingPlanRequest & WithPricingMode(const PricingMode &value)
UpdatePricingPlanRequest & AddBundleNames(const Aws::String &value)
UpdatePricingPlanRequest & AddBundleNames(Aws::String &&value)
UpdatePricingPlanRequest & WithBundleNames(Aws::Vector< Aws::String > &&value)
void SetBundleNames(const Aws::Vector< Aws::String > &value)
UpdatePricingPlanRequest & WithPricingMode(PricingMode &&value)
const Aws::Vector< Aws::String > & GetBundleNames() const
UpdatePricingPlanRequest & AddBundleNames(const char *value)
UpdatePricingPlanRequest & WithBundleNames(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector