AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBundleNames(const Aws::Vector<Aws::String>& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = value; }
49 inline void SetBundleNames(Aws::Vector<Aws::String>&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames = std::move(value); }
50 inline BundleInformation& WithBundleNames(const Aws::Vector<Aws::String>& value) { SetBundleNames(value); return *this;}
51 inline BundleInformation& WithBundleNames(Aws::Vector<Aws::String>&& value) { SetBundleNames(std::move(value)); return *this;}
52 inline BundleInformation& AddBundleNames(const Aws::String& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(value); return *this; }
53 inline BundleInformation& AddBundleNames(Aws::String&& value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(std::move(value)); return *this; }
54 inline BundleInformation& AddBundleNames(const char* value) { m_bundleNamesHasBeenSet = true; m_bundleNames.push_back(value); return *this; }
56
58
61 inline const PricingTier& GetPricingTier() const{ return m_pricingTier; }
62 inline bool PricingTierHasBeenSet() const { return m_pricingTierHasBeenSet; }
63 inline void SetPricingTier(const PricingTier& value) { m_pricingTierHasBeenSet = true; m_pricingTier = value; }
64 inline void SetPricingTier(PricingTier&& value) { m_pricingTierHasBeenSet = true; m_pricingTier = std::move(value); }
65 inline BundleInformation& WithPricingTier(const PricingTier& value) { SetPricingTier(value); return *this;}
66 inline BundleInformation& WithPricingTier(PricingTier&& value) { SetPricingTier(std::move(value)); return *this;}
68 private:
69
70 Aws::Vector<Aws::String> m_bundleNames;
71 bool m_bundleNamesHasBeenSet = false;
72
73 PricingTier m_pricingTier;
74 bool m_pricingTierHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTTwinMaker
79} // namespace Aws
BundleInformation & WithBundleNames(Aws::Vector< Aws::String > &&value)
BundleInformation & WithBundleNames(const Aws::Vector< Aws::String > &value)
AWS_IOTTWINMAKER_API BundleInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPricingTier(const PricingTier &value)
BundleInformation & WithPricingTier(const PricingTier &value)
BundleInformation & AddBundleNames(const char *value)
const Aws::Vector< Aws::String > & GetBundleNames() const
BundleInformation & AddBundleNames(Aws::String &&value)
BundleInformation & WithPricingTier(PricingTier &&value)
BundleInformation & AddBundleNames(const Aws::String &value)
void SetBundleNames(Aws::Vector< Aws::String > &&value)
void SetBundleNames(const Aws::Vector< Aws::String > &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API BundleInformation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue