AWS SDK for C++  1.9.127
AWS SDK for C++
Product.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SecurityHub
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetProductArn() const{ return m_productArn; }
46 
50  inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
51 
55  inline void SetProductArn(const Aws::String& value) { m_productArnHasBeenSet = true; m_productArn = value; }
56 
60  inline void SetProductArn(Aws::String&& value) { m_productArnHasBeenSet = true; m_productArn = std::move(value); }
61 
65  inline void SetProductArn(const char* value) { m_productArnHasBeenSet = true; m_productArn.assign(value); }
66 
70  inline Product& WithProductArn(const Aws::String& value) { SetProductArn(value); return *this;}
71 
75  inline Product& WithProductArn(Aws::String&& value) { SetProductArn(std::move(value)); return *this;}
76 
80  inline Product& WithProductArn(const char* value) { SetProductArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetProductName() const{ return m_productName; }
87 
91  inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
92 
96  inline void SetProductName(const Aws::String& value) { m_productNameHasBeenSet = true; m_productName = value; }
97 
101  inline void SetProductName(Aws::String&& value) { m_productNameHasBeenSet = true; m_productName = std::move(value); }
102 
106  inline void SetProductName(const char* value) { m_productNameHasBeenSet = true; m_productName.assign(value); }
107 
111  inline Product& WithProductName(const Aws::String& value) { SetProductName(value); return *this;}
112 
116  inline Product& WithProductName(Aws::String&& value) { SetProductName(std::move(value)); return *this;}
117 
121  inline Product& WithProductName(const char* value) { SetProductName(value); return *this;}
122 
123 
127  inline const Aws::String& GetCompanyName() const{ return m_companyName; }
128 
132  inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
133 
137  inline void SetCompanyName(const Aws::String& value) { m_companyNameHasBeenSet = true; m_companyName = value; }
138 
142  inline void SetCompanyName(Aws::String&& value) { m_companyNameHasBeenSet = true; m_companyName = std::move(value); }
143 
147  inline void SetCompanyName(const char* value) { m_companyNameHasBeenSet = true; m_companyName.assign(value); }
148 
152  inline Product& WithCompanyName(const Aws::String& value) { SetCompanyName(value); return *this;}
153 
157  inline Product& WithCompanyName(Aws::String&& value) { SetCompanyName(std::move(value)); return *this;}
158 
162  inline Product& WithCompanyName(const char* value) { SetCompanyName(value); return *this;}
163 
164 
168  inline const Aws::String& GetDescription() const{ return m_description; }
169 
173  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
174 
178  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
179 
183  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
184 
188  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
189 
193  inline Product& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
194 
198  inline Product& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
199 
203  inline Product& WithDescription(const char* value) { SetDescription(value); return *this;}
204 
205 
209  inline const Aws::Vector<Aws::String>& GetCategories() const{ return m_categories; }
210 
214  inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; }
215 
219  inline void SetCategories(const Aws::Vector<Aws::String>& value) { m_categoriesHasBeenSet = true; m_categories = value; }
220 
224  inline void SetCategories(Aws::Vector<Aws::String>&& value) { m_categoriesHasBeenSet = true; m_categories = std::move(value); }
225 
229  inline Product& WithCategories(const Aws::Vector<Aws::String>& value) { SetCategories(value); return *this;}
230 
234  inline Product& WithCategories(Aws::Vector<Aws::String>&& value) { SetCategories(std::move(value)); return *this;}
235 
239  inline Product& AddCategories(const Aws::String& value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; }
240 
244  inline Product& AddCategories(Aws::String&& value) { m_categoriesHasBeenSet = true; m_categories.push_back(std::move(value)); return *this; }
245 
249  inline Product& AddCategories(const char* value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; }
250 
251 
262  inline const Aws::Vector<IntegrationType>& GetIntegrationTypes() const{ return m_integrationTypes; }
263 
274  inline bool IntegrationTypesHasBeenSet() const { return m_integrationTypesHasBeenSet; }
275 
286  inline void SetIntegrationTypes(const Aws::Vector<IntegrationType>& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes = value; }
287 
298  inline void SetIntegrationTypes(Aws::Vector<IntegrationType>&& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes = std::move(value); }
299 
310  inline Product& WithIntegrationTypes(const Aws::Vector<IntegrationType>& value) { SetIntegrationTypes(value); return *this;}
311 
322  inline Product& WithIntegrationTypes(Aws::Vector<IntegrationType>&& value) { SetIntegrationTypes(std::move(value)); return *this;}
323 
334  inline Product& AddIntegrationTypes(const IntegrationType& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes.push_back(value); return *this; }
335 
346  inline Product& AddIntegrationTypes(IntegrationType&& value) { m_integrationTypesHasBeenSet = true; m_integrationTypes.push_back(std::move(value)); return *this; }
347 
348 
355  inline const Aws::String& GetMarketplaceUrl() const{ return m_marketplaceUrl; }
356 
363  inline bool MarketplaceUrlHasBeenSet() const { return m_marketplaceUrlHasBeenSet; }
364 
371  inline void SetMarketplaceUrl(const Aws::String& value) { m_marketplaceUrlHasBeenSet = true; m_marketplaceUrl = value; }
372 
379  inline void SetMarketplaceUrl(Aws::String&& value) { m_marketplaceUrlHasBeenSet = true; m_marketplaceUrl = std::move(value); }
380 
387  inline void SetMarketplaceUrl(const char* value) { m_marketplaceUrlHasBeenSet = true; m_marketplaceUrl.assign(value); }
388 
395  inline Product& WithMarketplaceUrl(const Aws::String& value) { SetMarketplaceUrl(value); return *this;}
396 
403  inline Product& WithMarketplaceUrl(Aws::String&& value) { SetMarketplaceUrl(std::move(value)); return *this;}
404 
411  inline Product& WithMarketplaceUrl(const char* value) { SetMarketplaceUrl(value); return *this;}
412 
413 
418  inline const Aws::String& GetActivationUrl() const{ return m_activationUrl; }
419 
424  inline bool ActivationUrlHasBeenSet() const { return m_activationUrlHasBeenSet; }
425 
430  inline void SetActivationUrl(const Aws::String& value) { m_activationUrlHasBeenSet = true; m_activationUrl = value; }
431 
436  inline void SetActivationUrl(Aws::String&& value) { m_activationUrlHasBeenSet = true; m_activationUrl = std::move(value); }
437 
442  inline void SetActivationUrl(const char* value) { m_activationUrlHasBeenSet = true; m_activationUrl.assign(value); }
443 
448  inline Product& WithActivationUrl(const Aws::String& value) { SetActivationUrl(value); return *this;}
449 
454  inline Product& WithActivationUrl(Aws::String&& value) { SetActivationUrl(std::move(value)); return *this;}
455 
460  inline Product& WithActivationUrl(const char* value) { SetActivationUrl(value); return *this;}
461 
462 
466  inline const Aws::String& GetProductSubscriptionResourcePolicy() const{ return m_productSubscriptionResourcePolicy; }
467 
471  inline bool ProductSubscriptionResourcePolicyHasBeenSet() const { return m_productSubscriptionResourcePolicyHasBeenSet; }
472 
476  inline void SetProductSubscriptionResourcePolicy(const Aws::String& value) { m_productSubscriptionResourcePolicyHasBeenSet = true; m_productSubscriptionResourcePolicy = value; }
477 
481  inline void SetProductSubscriptionResourcePolicy(Aws::String&& value) { m_productSubscriptionResourcePolicyHasBeenSet = true; m_productSubscriptionResourcePolicy = std::move(value); }
482 
486  inline void SetProductSubscriptionResourcePolicy(const char* value) { m_productSubscriptionResourcePolicyHasBeenSet = true; m_productSubscriptionResourcePolicy.assign(value); }
487 
491  inline Product& WithProductSubscriptionResourcePolicy(const Aws::String& value) { SetProductSubscriptionResourcePolicy(value); return *this;}
492 
496  inline Product& WithProductSubscriptionResourcePolicy(Aws::String&& value) { SetProductSubscriptionResourcePolicy(std::move(value)); return *this;}
497 
501  inline Product& WithProductSubscriptionResourcePolicy(const char* value) { SetProductSubscriptionResourcePolicy(value); return *this;}
502 
503  private:
504 
505  Aws::String m_productArn;
506  bool m_productArnHasBeenSet;
507 
508  Aws::String m_productName;
509  bool m_productNameHasBeenSet;
510 
511  Aws::String m_companyName;
512  bool m_companyNameHasBeenSet;
513 
514  Aws::String m_description;
515  bool m_descriptionHasBeenSet;
516 
517  Aws::Vector<Aws::String> m_categories;
518  bool m_categoriesHasBeenSet;
519 
520  Aws::Vector<IntegrationType> m_integrationTypes;
521  bool m_integrationTypesHasBeenSet;
522 
523  Aws::String m_marketplaceUrl;
524  bool m_marketplaceUrlHasBeenSet;
525 
526  Aws::String m_activationUrl;
527  bool m_activationUrlHasBeenSet;
528 
529  Aws::String m_productSubscriptionResourcePolicy;
530  bool m_productSubscriptionResourcePolicyHasBeenSet;
531  };
532 
533 } // namespace Model
534 } // namespace SecurityHub
535 } // namespace Aws
Aws::SecurityHub::Model::Product::SetProductName
void SetProductName(const Aws::String &value)
Definition: Product.h:96
Aws::SecurityHub::Model::Product::SetMarketplaceUrl
void SetMarketplaceUrl(const Aws::String &value)
Definition: Product.h:371
Aws::SecurityHub::Model::Product::WithDescription
Product & WithDescription(Aws::String &&value)
Definition: Product.h:198
Aws::SecurityHub::Model::Product::SetIntegrationTypes
void SetIntegrationTypes(const Aws::Vector< IntegrationType > &value)
Definition: Product.h:286
Aws::SecurityHub::Model::Product::ProductArnHasBeenSet
bool ProductArnHasBeenSet() const
Definition: Product.h:50
Aws::SecurityHub::Model::Product::GetDescription
const Aws::String & GetDescription() const
Definition: Product.h:168
Aws::SecurityHub::Model::Product::SetCompanyName
void SetCompanyName(const char *value)
Definition: Product.h:147
Aws::SecurityHub::Model::Product::WithDescription
Product & WithDescription(const Aws::String &value)
Definition: Product.h:193
Aws::SecurityHub::Model::Product::SetProductName
void SetProductName(Aws::String &&value)
Definition: Product.h:101
Aws::SecurityHub::Model::Product::SetCompanyName
void SetCompanyName(const Aws::String &value)
Definition: Product.h:137
Aws::SecurityHub::Model::Product::WithDescription
Product & WithDescription(const char *value)
Definition: Product.h:203
Aws::SecurityHub::Model::Product::WithIntegrationTypes
Product & WithIntegrationTypes(const Aws::Vector< IntegrationType > &value)
Definition: Product.h:310
Aws::SecurityHub::Model::Product::GetProductSubscriptionResourcePolicy
const Aws::String & GetProductSubscriptionResourcePolicy() const
Definition: Product.h:466
Aws::SecurityHub::Model::Product::WithCompanyName
Product & WithCompanyName(Aws::String &&value)
Definition: Product.h:157
Aws::SecurityHub::Model::Product::ActivationUrlHasBeenSet
bool ActivationUrlHasBeenSet() const
Definition: Product.h:424
Aws::SecurityHub::Model::Product::SetMarketplaceUrl
void SetMarketplaceUrl(Aws::String &&value)
Definition: Product.h:379
Aws::SecurityHub::Model::Product::IntegrationTypesHasBeenSet
bool IntegrationTypesHasBeenSet() const
Definition: Product.h:274
Aws::SecurityHub::Model::Product::SetDescription
void SetDescription(const Aws::String &value)
Definition: Product.h:178
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::Product::WithProductName
Product & WithProductName(const char *value)
Definition: Product.h:121
Aws::SecurityHub::Model::Product::WithCategories
Product & WithCategories(const Aws::Vector< Aws::String > &value)
Definition: Product.h:229
Aws::SecurityHub::Model::Product::MarketplaceUrlHasBeenSet
bool MarketplaceUrlHasBeenSet() const
Definition: Product.h:363
AWSVector.h
Aws::SecurityHub::Model::Product::WithProductSubscriptionResourcePolicy
Product & WithProductSubscriptionResourcePolicy(const char *value)
Definition: Product.h:501
Aws::SecurityHub::Model::Product::SetProductArn
void SetProductArn(Aws::String &&value)
Definition: Product.h:60
Aws::SecurityHub::Model::Product::SetIntegrationTypes
void SetIntegrationTypes(Aws::Vector< IntegrationType > &&value)
Definition: Product.h:298
Aws::SecurityHub::Model::Product::WithProductName
Product & WithProductName(const Aws::String &value)
Definition: Product.h:111
Aws::SecurityHub::Model::Product::SetActivationUrl
void SetActivationUrl(const char *value)
Definition: Product.h:442
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::Product::Product
Product(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Product
Definition: Product.h:34
Aws::SecurityHub::Model::Product::WithMarketplaceUrl
Product & WithMarketplaceUrl(const char *value)
Definition: Product.h:411
Aws::SecurityHub::Model::Product::WithActivationUrl
Product & WithActivationUrl(const Aws::String &value)
Definition: Product.h:448
Aws::SecurityHub::Model::Product::GetProductName
const Aws::String & GetProductName() const
Definition: Product.h:86
Aws::SecurityHub::Model::Product::GetMarketplaceUrl
const Aws::String & GetMarketplaceUrl() const
Definition: Product.h:355
Aws::SecurityHub::Model::Product::WithProductArn
Product & WithProductArn(Aws::String &&value)
Definition: Product.h:75
Aws::SecurityHub::Model::Product::AddCategories
Product & AddCategories(const Aws::String &value)
Definition: Product.h:239
Aws::SecurityHub::Model::Product::operator=
Product & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Product::AddCategories
Product & AddCategories(const char *value)
Definition: Product.h:249
Aws::SecurityHub::Model::Product::SetProductSubscriptionResourcePolicy
void SetProductSubscriptionResourcePolicy(const Aws::String &value)
Definition: Product.h:476
Aws::SecurityHub::Model::Product::ProductSubscriptionResourcePolicyHasBeenSet
bool ProductSubscriptionResourcePolicyHasBeenSet() const
Definition: Product.h:471
IntegrationType.h
Aws::SecurityHub::Model::Product::WithMarketplaceUrl
Product & WithMarketplaceUrl(Aws::String &&value)
Definition: Product.h:403
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SecurityHub::Model::Product::GetIntegrationTypes
const Aws::Vector< IntegrationType > & GetIntegrationTypes() const
Definition: Product.h:262
Aws::SecurityHub::Model::Product::WithCategories
Product & WithCategories(Aws::Vector< Aws::String > &&value)
Definition: Product.h:234
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::Product::CategoriesHasBeenSet
bool CategoriesHasBeenSet() const
Definition: Product.h:214
Aws::SecurityHub::Model::Product::WithCompanyName
Product & WithCompanyName(const Aws::String &value)
Definition: Product.h:152
Aws::SecurityHub::Model::Product::SetCategories
void SetCategories(Aws::Vector< Aws::String > &&value)
Definition: Product.h:224
Aws::SecurityHub::Model::Product::WithProductArn
Product & WithProductArn(const Aws::String &value)
Definition: Product.h:70
Aws::SecurityHub::Model::Product::WithActivationUrl
Product & WithActivationUrl(const char *value)
Definition: Product.h:460
Aws::SecurityHub::Model::Product::SetMarketplaceUrl
void SetMarketplaceUrl(const char *value)
Definition: Product.h:387
Aws::SecurityHub::Model::Product::SetProductName
void SetProductName(const char *value)
Definition: Product.h:106
Aws::SecurityHub::Model::Product::AddIntegrationTypes
Product & AddIntegrationTypes(IntegrationType &&value)
Definition: Product.h:346
Aws::SecurityHub::Model::Product::WithProductArn
Product & WithProductArn(const char *value)
Definition: Product.h:80
Aws::SecurityHub::Model::Product::GetProductArn
const Aws::String & GetProductArn() const
Definition: Product.h:45
Aws::SecurityHub::Model::Product::GetCategories
const Aws::Vector< Aws::String > & GetCategories() const
Definition: Product.h:209
Aws::SecurityHub::Model::Product::CompanyNameHasBeenSet
bool CompanyNameHasBeenSet() const
Definition: Product.h:132
Aws::SecurityHub::Model::Product::GetActivationUrl
const Aws::String & GetActivationUrl() const
Definition: Product.h:418
Aws::SecurityHub::Model::Product::AddIntegrationTypes
Product & AddIntegrationTypes(const IntegrationType &value)
Definition: Product.h:334
Aws::SecurityHub::Model::Product::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Product.h:173
Aws::SecurityHub::Model::Product::SetDescription
void SetDescription(const char *value)
Definition: Product.h:188
Aws::SecurityHub::Model::Product::ProductNameHasBeenSet
bool ProductNameHasBeenSet() const
Definition: Product.h:91
Aws::SecurityHub::Model::Product::SetProductSubscriptionResourcePolicy
void SetProductSubscriptionResourcePolicy(Aws::String &&value)
Definition: Product.h:481
Aws::SecurityHub::Model::Product::SetProductArn
void SetProductArn(const Aws::String &value)
Definition: Product.h:55
Aws::SecurityHub::Model::Product::WithCompanyName
Product & WithCompanyName(const char *value)
Definition: Product.h:162
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::Product::SetProductSubscriptionResourcePolicy
void SetProductSubscriptionResourcePolicy(const char *value)
Definition: Product.h:486
Aws::SecurityHub::Model::Product::SetProductArn
void SetProductArn(const char *value)
Definition: Product.h:65
Aws::SecurityHub::Model::IntegrationType
IntegrationType
Definition: IntegrationType.h:17
Aws::SecurityHub::Model::Product::WithProductSubscriptionResourcePolicy
Product & WithProductSubscriptionResourcePolicy(Aws::String &&value)
Definition: Product.h:496
Aws::SecurityHub::Model::Product::Product
Product()
Aws::SecurityHub::Model::Product::SetActivationUrl
void SetActivationUrl(const Aws::String &value)
Definition: Product.h:430
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::Product::WithIntegrationTypes
Product & WithIntegrationTypes(Aws::Vector< IntegrationType > &&value)
Definition: Product.h:322
Aws::SecurityHub::Model::Product::WithActivationUrl
Product & WithActivationUrl(Aws::String &&value)
Definition: Product.h:454
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::Product::SetActivationUrl
void SetActivationUrl(Aws::String &&value)
Definition: Product.h:436
Aws::SecurityHub::Model::Product::WithMarketplaceUrl
Product & WithMarketplaceUrl(const Aws::String &value)
Definition: Product.h:395
Aws::SecurityHub::Model::Product::AddCategories
Product & AddCategories(Aws::String &&value)
Definition: Product.h:244
Aws::SecurityHub::Model::Product::WithProductName
Product & WithProductName(Aws::String &&value)
Definition: Product.h:116
Aws::SecurityHub::Model::Product::SetDescription
void SetDescription(Aws::String &&value)
Definition: Product.h:183
Aws::SecurityHub::Model::Product::GetCompanyName
const Aws::String & GetCompanyName() const
Definition: Product.h:127
Aws::SecurityHub::Model::Product::SetCategories
void SetCategories(const Aws::Vector< Aws::String > &value)
Definition: Product.h:219
Aws::SecurityHub::Model::Product::WithProductSubscriptionResourcePolicy
Product & WithProductSubscriptionResourcePolicy(const Aws::String &value)
Definition: Product.h:491
Aws::SecurityHub::Model::Product::SetCompanyName
void SetCompanyName(Aws::String &&value)
Definition: Product.h:142
Aws::SecurityHub::Model::Product::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const