AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProductInformation.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/license-manager/model/ProductInformationFilter.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 LicenseManager
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LICENSEMANAGER_API ProductInformation();
38 AWS_LICENSEMANAGER_API ProductInformation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGER_API ProductInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
49 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
50 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
51 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
52 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
53 inline ProductInformation& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
54 inline ProductInformation& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
55 inline ProductInformation& WithResourceType(const char* value) { SetResourceType(value); return *this;}
57
59
99 inline const Aws::Vector<ProductInformationFilter>& GetProductInformationFilterList() const{ return m_productInformationFilterList; }
100 inline bool ProductInformationFilterListHasBeenSet() const { return m_productInformationFilterListHasBeenSet; }
101 inline void SetProductInformationFilterList(const Aws::Vector<ProductInformationFilter>& value) { m_productInformationFilterListHasBeenSet = true; m_productInformationFilterList = value; }
102 inline void SetProductInformationFilterList(Aws::Vector<ProductInformationFilter>&& value) { m_productInformationFilterListHasBeenSet = true; m_productInformationFilterList = std::move(value); }
105 inline ProductInformation& AddProductInformationFilterList(const ProductInformationFilter& value) { m_productInformationFilterListHasBeenSet = true; m_productInformationFilterList.push_back(value); return *this; }
106 inline ProductInformation& AddProductInformationFilterList(ProductInformationFilter&& value) { m_productInformationFilterListHasBeenSet = true; m_productInformationFilterList.push_back(std::move(value)); return *this; }
108 private:
109
110 Aws::String m_resourceType;
111 bool m_resourceTypeHasBeenSet = false;
112
113 Aws::Vector<ProductInformationFilter> m_productInformationFilterList;
114 bool m_productInformationFilterListHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace LicenseManager
119} // namespace Aws
ProductInformation & WithResourceType(Aws::String &&value)
ProductInformation & WithResourceType(const Aws::String &value)
ProductInformation & WithProductInformationFilterList(const Aws::Vector< ProductInformationFilter > &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API ProductInformation(Aws::Utils::Json::JsonView jsonValue)
void SetProductInformationFilterList(Aws::Vector< ProductInformationFilter > &&value)
void SetProductInformationFilterList(const Aws::Vector< ProductInformationFilter > &value)
ProductInformation & AddProductInformationFilterList(ProductInformationFilter &&value)
ProductInformation & WithProductInformationFilterList(Aws::Vector< ProductInformationFilter > &&value)
ProductInformation & WithResourceType(const char *value)
AWS_LICENSEMANAGER_API ProductInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ProductInformationFilter > & GetProductInformationFilterList() const
ProductInformation & AddProductInformationFilterList(const ProductInformationFilter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue