AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
BundleInformation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10#include <aws/iottwinmaker/model/PricingTier.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTTwinMaker {
22namespace Model {
23
30 public:
31 AWS_IOTTWINMAKER_API BundleInformation() = default;
32 AWS_IOTTWINMAKER_API BundleInformation(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTTWINMAKER_API BundleInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetBundleNames() const { return m_bundleNames; }
41 inline bool BundleNamesHasBeenSet() const { return m_bundleNamesHasBeenSet; }
42 template <typename BundleNamesT = Aws::Vector<Aws::String>>
43 void SetBundleNames(BundleNamesT&& value) {
44 m_bundleNamesHasBeenSet = true;
45 m_bundleNames = std::forward<BundleNamesT>(value);
46 }
47 template <typename BundleNamesT = Aws::Vector<Aws::String>>
48 BundleInformation& WithBundleNames(BundleNamesT&& value) {
49 SetBundleNames(std::forward<BundleNamesT>(value));
50 return *this;
51 }
52 template <typename BundleNamesT = Aws::String>
53 BundleInformation& AddBundleNames(BundleNamesT&& value) {
54 m_bundleNamesHasBeenSet = true;
55 m_bundleNames.emplace_back(std::forward<BundleNamesT>(value));
56 return *this;
57 }
59
61
64 inline PricingTier GetPricingTier() const { return m_pricingTier; }
65 inline bool PricingTierHasBeenSet() const { return m_pricingTierHasBeenSet; }
66 inline void SetPricingTier(PricingTier value) {
67 m_pricingTierHasBeenSet = true;
68 m_pricingTier = value;
69 }
71 SetPricingTier(value);
72 return *this;
73 }
75 private:
76 Aws::Vector<Aws::String> m_bundleNames;
77
78 PricingTier m_pricingTier{PricingTier::NOT_SET};
79 bool m_bundleNamesHasBeenSet = false;
80 bool m_pricingTierHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace IoTTwinMaker
85} // 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