AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Product.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/IntegrationType.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 SecurityHub
24{
25namespace Model
26{
27
33 class Product
34 {
35 public:
36 AWS_SECURITYHUB_API Product();
37 AWS_SECURITYHUB_API Product(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Product& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetProductArn() const{ return m_productArn; }
47 inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
48 inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
49 inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
50 inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
51 inline Product& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
52 inline Product& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
53 inline Product& WithProductArn(const char* value) { SetProductArn(value); return *this;}
55
57
60 inline const Aws::String& GetProductName() const{ return m_productName; }
61 inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
62 inline void SetProductName(const Aws::String& value) { m_productNameHasBeenSet = true; m_productName = value; }
63 inline void SetProductName(Aws::String&& value) { m_productNameHasBeenSet = true; m_productName = std::move(value); }
64 inline void SetProductName(const char* value) { m_productNameHasBeenSet = true; m_productName.assign(value); }
65 inline Product& WithProductName(const Aws::String& value) { SetProductName(value); return *this;}
66 inline Product& WithProductName(Aws::String&& value) { SetProductName(std::move(value)); return *this;}
67 inline Product& WithProductName(const char* value) { SetProductName(value); return *this;}
69
71
74 inline const Aws::String& GetCompanyName() const{ return m_companyName; }
75 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
76 inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; }
77 inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); }
78 inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); }
79 inline Product& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;}
80 inline Product& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;}
81 inline Product& WithCompanyName(const char* value) { SetCompanyName(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline Product& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline Product& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline Product& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
102 inline const Aws::Vector<Aws::String>& GetCategories() const{ return m_categories; }
103 inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; }
104 inline void SetCategories(const Aws::Vector<Aws::String>& value) { m_categoriesHasBeenSet = true; m_categories = value; }
105 inline void SetCategories(Aws::Vector<Aws::String>&& value) { m_categoriesHasBeenSet = true; m_categories = std::move(value); }
106 inline Product& WithCategories(const Aws::Vector<Aws::String>& value) { SetCategories(value); return *this;}
107 inline Product& WithCategories(Aws::Vector<Aws::String>&& value) { SetCategories(std::move(value)); return *this;}
108 inline Product& AddCategories(const Aws::String& value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; }
109 inline Product& AddCategories(Aws::String&& value) { m_categoriesHasBeenSet = true; m_categories.push_back(std::move(value)); return *this; }
110 inline Product& AddCategories(const char* value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; }
112
114
124 inline const Aws::Vector<IntegrationType>& GetIntegrationTypes() const{ return m_integrationTypes; }
125 inline bool IntegrationTypesHasBeenSet() const { return m_integrationTypesHasBeenSet; }
126 inline void SetIntegrationTypes(const Aws::Vector<IntegrationType>& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes = value; }
127 inline void SetIntegrationTypes(Aws::Vector<IntegrationType>&& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes = std::move(value); }
129 inline Product& WithIntegrationTypes(Aws::Vector<IntegrationType>&& value) { SetIntegrationTypes(std::move(value)); return *this;}
130 inline Product& AddIntegrationTypes(const IntegrationType& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes.push_back(value); return *this; }
131 inline Product& AddIntegrationTypes(IntegrationType&& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes.push_back(std::move(value)); return *this; }
133
135
141 inline const Aws::String& GetMarketplaceUrl() const{ return m_marketplaceUrl; }
142 inline bool MarketplaceUrlHasBeenSet() const { return m_marketplaceUrlHasBeenSet; }
143 inline void SetMarketplaceUrl(const Aws::String& value) { m_marketplaceUrlHasBeenSet = true; m_marketplaceUrl = value; }
144 inline void SetMarketplaceUrl(Aws::String&& value) { m_marketplaceUrlHasBeenSet = true; m_marketplaceUrl = std::move(value); }
145 inline void SetMarketplaceUrl(const char* value) { m_marketplaceUrlHasBeenSet = true; m_marketplaceUrl.assign(value); }
146 inline Product& WithMarketplaceUrl(const Aws::String& value) { SetMarketplaceUrl(value); return *this;}
147 inline Product& WithMarketplaceUrl(Aws::String&& value) { SetMarketplaceUrl(std::move(value)); return *this;}
148 inline Product& WithMarketplaceUrl(const char* value) { SetMarketplaceUrl(value); return *this;}
150
152
156 inline const Aws::String& GetActivationUrl() const{ return m_activationUrl; }
157 inline bool ActivationUrlHasBeenSet() const { return m_activationUrlHasBeenSet; }
158 inline void SetActivationUrl(const Aws::String& value) { m_activationUrlHasBeenSet = true; m_activationUrl = value; }
159 inline void SetActivationUrl(Aws::String&& value) { m_activationUrlHasBeenSet = true; m_activationUrl = std::move(value); }
160 inline void SetActivationUrl(const char* value) { m_activationUrlHasBeenSet = true; m_activationUrl.assign(value); }
161 inline Product& WithActivationUrl(const Aws::String& value) { SetActivationUrl(value); return *this;}
162 inline Product& WithActivationUrl(Aws::String&& value) { SetActivationUrl(std::move(value)); return *this;}
163 inline Product& WithActivationUrl(const char* value) { SetActivationUrl(value); return *this;}
165
167
170 inline const Aws::String& GetProductSubscriptionResourcePolicy() const{ return m_productSubscriptionResourcePolicy; }
171 inline bool ProductSubscriptionResourcePolicyHasBeenSet() const { return m_productSubscriptionResourcePolicyHasBeenSet; }
172 inline void SetProductSubscriptionResourcePolicy(const Aws::String& value) { m_productSubscriptionResourcePolicyHasBeenSet = true; m_productSubscriptionResourcePolicy = value; }
173 inline void SetProductSubscriptionResourcePolicy(Aws::String&& value) { m_productSubscriptionResourcePolicyHasBeenSet = true; m_productSubscriptionResourcePolicy = std::move(value); }
174 inline void SetProductSubscriptionResourcePolicy(const char* value) { m_productSubscriptionResourcePolicyHasBeenSet = true; m_productSubscriptionResourcePolicy.assign(value); }
179 private:
180
181 Aws::String m_productArn;
182 bool m_productArnHasBeenSet = false;
183
184 Aws::String m_productName;
185 bool m_productNameHasBeenSet = false;
186
187 Aws::String m_companyName;
188 bool m_companyNameHasBeenSet = false;
189
190 Aws::String m_description;
191 bool m_descriptionHasBeenSet = false;
192
193 Aws::Vector<Aws::String> m_categories;
194 bool m_categoriesHasBeenSet = false;
195
196 Aws::Vector<IntegrationType> m_integrationTypes;
197 bool m_integrationTypesHasBeenSet = false;
198
199 Aws::String m_marketplaceUrl;
200 bool m_marketplaceUrlHasBeenSet = false;
201
202 Aws::String m_activationUrl;
203 bool m_activationUrlHasBeenSet = false;
204
205 Aws::String m_productSubscriptionResourcePolicy;
206 bool m_productSubscriptionResourcePolicyHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace SecurityHub
211} // namespace Aws
void SetIntegrationTypes(const Aws::Vector< IntegrationType > &value)
Definition Product.h:126
bool ProductArnHasBeenSet() const
Definition Product.h:47
void SetMarketplaceUrl(const char *value)
Definition Product.h:145
Product & AddCategories(const char *value)
Definition Product.h:110
Product & WithIntegrationTypes(const Aws::Vector< IntegrationType > &value)
Definition Product.h:128
Product & WithDescription(Aws::String &&value)
Definition Product.h:94
void SetIntegrationTypes(Aws::Vector< IntegrationType > &&value)
Definition Product.h:127
Product & WithCompanyName(const Aws::String &value)
Definition Product.h:79
const Aws::String & GetProductName() const
Definition Product.h:60
Product & WithProductName(const char *value)
Definition Product.h:67
void SetProductSubscriptionResourcePolicy(const char *value)
Definition Product.h:174
void SetProductName(Aws::String &&value)
Definition Product.h:63
Product & WithDescription(const Aws::String &value)
Definition Product.h:93
bool CompanyNameHasBeenSet() const
Definition Product.h:75
void SetActivationUrl(Aws::String &&value)
Definition Product.h:159
Product & WithProductName(const Aws::String &value)
Definition Product.h:65
const Aws::Vector< IntegrationType > & GetIntegrationTypes() const
Definition Product.h:124
void SetDescription(const Aws::String &value)
Definition Product.h:90
void SetActivationUrl(const char *value)
Definition Product.h:160
Product & WithProductArn(const char *value)
Definition Product.h:53
void SetProductName(const Aws::String &value)
Definition Product.h:62
bool ProductNameHasBeenSet() const
Definition Product.h:61
void SetProductArn(const char *value)
Definition Product.h:50
const Aws::String & GetActivationUrl() const
Definition Product.h:156
AWS_SECURITYHUB_API Product()
void SetCompanyName(const Aws::String &value)
Definition Product.h:76
bool ActivationUrlHasBeenSet() const
Definition Product.h:157
Product & WithActivationUrl(const Aws::String &value)
Definition Product.h:161
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Product & WithActivationUrl(Aws::String &&value)
Definition Product.h:162
const Aws::String & GetMarketplaceUrl() const
Definition Product.h:141
Product & WithCategories(Aws::Vector< Aws::String > &&value)
Definition Product.h:107
AWS_SECURITYHUB_API Product & operator=(Aws::Utils::Json::JsonView jsonValue)
Product & AddIntegrationTypes(const IntegrationType &value)
Definition Product.h:130
void SetCompanyName(const char *value)
Definition Product.h:78
void SetProductSubscriptionResourcePolicy(const Aws::String &value)
Definition Product.h:172
const Aws::String & GetProductSubscriptionResourcePolicy() const
Definition Product.h:170
Product & WithDescription(const char *value)
Definition Product.h:95
Product & WithCompanyName(const char *value)
Definition Product.h:81
Product & AddIntegrationTypes(IntegrationType &&value)
Definition Product.h:131
Product & WithProductArn(const Aws::String &value)
Definition Product.h:51
bool IntegrationTypesHasBeenSet() const
Definition Product.h:125
Product & AddCategories(const Aws::String &value)
Definition Product.h:108
bool ProductSubscriptionResourcePolicyHasBeenSet() const
Definition Product.h:171
void SetProductArn(Aws::String &&value)
Definition Product.h:49
void SetCategories(const Aws::Vector< Aws::String > &value)
Definition Product.h:104
bool DescriptionHasBeenSet() const
Definition Product.h:89
void SetDescription(const char *value)
Definition Product.h:92
void SetCategories(Aws::Vector< Aws::String > &&value)
Definition Product.h:105
Product & WithActivationUrl(const char *value)
Definition Product.h:163
Product & WithCategories(const Aws::Vector< Aws::String > &value)
Definition Product.h:106
Product & WithCompanyName(Aws::String &&value)
Definition Product.h:80
Product & WithProductSubscriptionResourcePolicy(const char *value)
Definition Product.h:177
void SetMarketplaceUrl(Aws::String &&value)
Definition Product.h:144
Product & WithIntegrationTypes(Aws::Vector< IntegrationType > &&value)
Definition Product.h:129
AWS_SECURITYHUB_API Product(Aws::Utils::Json::JsonView jsonValue)
void SetProductSubscriptionResourcePolicy(Aws::String &&value)
Definition Product.h:173
Product & WithProductName(Aws::String &&value)
Definition Product.h:66
Product & WithMarketplaceUrl(Aws::String &&value)
Definition Product.h:147
void SetMarketplaceUrl(const Aws::String &value)
Definition Product.h:143
void SetActivationUrl(const Aws::String &value)
Definition Product.h:158
void SetProductArn(const Aws::String &value)
Definition Product.h:48
Product & WithProductSubscriptionResourcePolicy(const Aws::String &value)
Definition Product.h:175
void SetCompanyName(Aws::String &&value)
Definition Product.h:77
Product & WithProductArn(Aws::String &&value)
Definition Product.h:52
void SetProductName(const char *value)
Definition Product.h:64
Product & WithMarketplaceUrl(const char *value)
Definition Product.h:148
const Aws::Vector< Aws::String > & GetCategories() const
Definition Product.h:102
const Aws::String & GetDescription() const
Definition Product.h:88
bool MarketplaceUrlHasBeenSet() const
Definition Product.h:142
void SetDescription(Aws::String &&value)
Definition Product.h:91
const Aws::String & GetCompanyName() const
Definition Product.h:74
Product & WithProductSubscriptionResourcePolicy(Aws::String &&value)
Definition Product.h:176
const Aws::String & GetProductArn() const
Definition Product.h:46
Product & AddCategories(Aws::String &&value)
Definition Product.h:109
Product & WithMarketplaceUrl(const Aws::String &value)
Definition Product.h:146
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue