AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BundleInformation.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/model/PricingTier.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTTwinMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTTWINMAKER_API BundleInformation() = default;
37 AWS_IOTTWINMAKER_API BundleInformation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API BundleInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetBundleNames() const { return m_bundleNames; }
47 inline bool BundleNamesHasBeenSet() const { return m_bundleNamesHasBeenSet; }
48 template<typename BundleNamesT = Aws::Vector<Aws::String>>
49 void SetBundleNames(BundleNamesT&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = std::forward<BundleNamesT>(value); }
50 template<typename BundleNamesT = Aws::Vector<Aws::String>>
51 BundleInformation& WithBundleNames(BundleNamesT&& value) { SetBundleNames(std::forward<BundleNamesT>(value)); return *this;}
52 template<typename BundleNamesT = Aws::String>
53 BundleInformation& AddBundleNames(BundleNamesT&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.emplace_back(std::forward<BundleNamesT>(value)); return *this; }
55
57
60 inline PricingTier GetPricingTier() const { return m_pricingTier; }
61 inline bool PricingTierHasBeenSet() const { return m_pricingTierHasBeenSet; }
62 inline void SetPricingTier(PricingTier value) { m_pricingTierHasBeenSet = true; m_pricingTier = value; }
63 inline BundleInformation& WithPricingTier(PricingTier value) { SetPricingTier(value); return *this;}
65 private:
66
67 Aws::Vector<Aws::String> m_bundleNames;
68 bool m_bundleNamesHasBeenSet = false;
69
70 PricingTier m_pricingTier{PricingTier::NOT_SET};
71 bool m_pricingTierHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoTTwinMaker
76} // namespace Aws
AWS_IOTTWINMAKER_API BundleInformation()=default
AWS_IOTTWINMAKER_API BundleInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetBundleNames() const
BundleInformation & WithBundleNames(BundleNamesT &&value)
BundleInformation & AddBundleNames(BundleNamesT &&value)
BundleInformation & WithPricingTier(PricingTier value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API BundleInformation(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue