AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
StandardsManagedBy.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API StandardsManagedBy() = default;
31 AWS_SECURITYHUB_API StandardsManagedBy(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetCompany() const { return m_company; }
41 inline bool CompanyHasBeenSet() const { return m_companyHasBeenSet; }
42 template <typename CompanyT = Aws::String>
43 void SetCompany(CompanyT&& value) {
44 m_companyHasBeenSet = true;
45 m_company = std::forward<CompanyT>(value);
46 }
47 template <typename CompanyT = Aws::String>
48 StandardsManagedBy& WithCompany(CompanyT&& value) {
49 SetCompany(std::forward<CompanyT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetProduct() const { return m_product; }
61 inline bool ProductHasBeenSet() const { return m_productHasBeenSet; }
62 template <typename ProductT = Aws::String>
63 void SetProduct(ProductT&& value) {
64 m_productHasBeenSet = true;
65 m_product = std::forward<ProductT>(value);
66 }
67 template <typename ProductT = Aws::String>
68 StandardsManagedBy& WithProduct(ProductT&& value) {
69 SetProduct(std::forward<ProductT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_company;
75
76 Aws::String m_product;
77 bool m_companyHasBeenSet = false;
78 bool m_productHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SecurityHub
83} // namespace Aws
AWS_SECURITYHUB_API StandardsManagedBy()=default
AWS_SECURITYHUB_API StandardsManagedBy(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API StandardsManagedBy & operator=(Aws::Utils::Json::JsonView jsonValue)
StandardsManagedBy & WithProduct(ProductT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
StandardsManagedBy & WithCompany(CompanyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue