AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityControlDefinition.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/SeverityRating.h>
10#include <aws/securityhub/model/RegionAvailabilityStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/securityhub/model/SecurityControlProperty.h>
14#include <aws/securityhub/model/ParameterDefinition.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SecurityHub
28{
29namespace Model
30{
31
41 {
42 public:
43 AWS_SECURITYHUB_API SecurityControlDefinition();
46 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
59 inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; }
60 inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; }
61 inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; }
62 inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); }
63 inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); }
65 inline SecurityControlDefinition& WithSecurityControlId(Aws::String&& value) { SetSecurityControlId(std::move(value)); return *this;}
66 inline SecurityControlDefinition& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;}
68
70
73 inline const Aws::String& GetTitle() const{ return m_title; }
74 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
75 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
76 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
77 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
78 inline SecurityControlDefinition& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
79 inline SecurityControlDefinition& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
80 inline SecurityControlDefinition& WithTitle(const char* value) { SetTitle(value); return *this;}
82
84
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
95 inline SecurityControlDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline SecurityControlDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline SecurityControlDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
99
101
105 inline const Aws::String& GetRemediationUrl() const{ return m_remediationUrl; }
106 inline bool RemediationUrlHasBeenSet() const { return m_remediationUrlHasBeenSet; }
107 inline void SetRemediationUrl(const Aws::String& value) { m_remediationUrlHasBeenSet = true; m_remediationUrl = value; }
108 inline void SetRemediationUrl(Aws::String&& value) { m_remediationUrlHasBeenSet = true; m_remediationUrl = std::move(value); }
109 inline void SetRemediationUrl(const char* value) { m_remediationUrlHasBeenSet = true; m_remediationUrl.assign(value); }
110 inline SecurityControlDefinition& WithRemediationUrl(const Aws::String& value) { SetRemediationUrl(value); return *this;}
111 inline SecurityControlDefinition& WithRemediationUrl(Aws::String&& value) { SetRemediationUrl(std::move(value)); return *this;}
112 inline SecurityControlDefinition& WithRemediationUrl(const char* value) { SetRemediationUrl(value); return *this;}
114
116
122 inline const SeverityRating& GetSeverityRating() const{ return m_severityRating; }
123 inline bool SeverityRatingHasBeenSet() const { return m_severityRatingHasBeenSet; }
124 inline void SetSeverityRating(const SeverityRating& value) { m_severityRatingHasBeenSet = true; m_severityRating = value; }
125 inline void SetSeverityRating(SeverityRating&& value) { m_severityRatingHasBeenSet = true; m_severityRating = std::move(value); }
127 inline SecurityControlDefinition& WithSeverityRating(SeverityRating&& value) { SetSeverityRating(std::move(value)); return *this;}
129
131
135 inline const RegionAvailabilityStatus& GetCurrentRegionAvailability() const{ return m_currentRegionAvailability; }
136 inline bool CurrentRegionAvailabilityHasBeenSet() const { return m_currentRegionAvailabilityHasBeenSet; }
137 inline void SetCurrentRegionAvailability(const RegionAvailabilityStatus& value) { m_currentRegionAvailabilityHasBeenSet = true; m_currentRegionAvailability = value; }
138 inline void SetCurrentRegionAvailability(RegionAvailabilityStatus&& value) { m_currentRegionAvailabilityHasBeenSet = true; m_currentRegionAvailability = std::move(value); }
142
144
149 inline const Aws::Vector<SecurityControlProperty>& GetCustomizableProperties() const{ return m_customizableProperties; }
150 inline bool CustomizablePropertiesHasBeenSet() const { return m_customizablePropertiesHasBeenSet; }
151 inline void SetCustomizableProperties(const Aws::Vector<SecurityControlProperty>& value) { m_customizablePropertiesHasBeenSet = true; m_customizableProperties = value; }
152 inline void SetCustomizableProperties(Aws::Vector<SecurityControlProperty>&& value) { m_customizablePropertiesHasBeenSet = true; m_customizableProperties = std::move(value); }
155 inline SecurityControlDefinition& AddCustomizableProperties(const SecurityControlProperty& value) { m_customizablePropertiesHasBeenSet = true; m_customizableProperties.push_back(value); return *this; }
156 inline SecurityControlDefinition& AddCustomizableProperties(SecurityControlProperty&& value) { m_customizablePropertiesHasBeenSet = true; m_customizableProperties.push_back(std::move(value)); return *this; }
158
160
165 inline const Aws::Map<Aws::String, ParameterDefinition>& GetParameterDefinitions() const{ return m_parameterDefinitions; }
166 inline bool ParameterDefinitionsHasBeenSet() const { return m_parameterDefinitionsHasBeenSet; }
167 inline void SetParameterDefinitions(const Aws::Map<Aws::String, ParameterDefinition>& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions = value; }
168 inline void SetParameterDefinitions(Aws::Map<Aws::String, ParameterDefinition>&& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions = std::move(value); }
171 inline SecurityControlDefinition& AddParameterDefinitions(const Aws::String& key, const ParameterDefinition& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions.emplace(key, value); return *this; }
172 inline SecurityControlDefinition& AddParameterDefinitions(Aws::String&& key, const ParameterDefinition& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions.emplace(std::move(key), value); return *this; }
173 inline SecurityControlDefinition& AddParameterDefinitions(const Aws::String& key, ParameterDefinition&& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions.emplace(key, std::move(value)); return *this; }
174 inline SecurityControlDefinition& AddParameterDefinitions(Aws::String&& key, ParameterDefinition&& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions.emplace(std::move(key), std::move(value)); return *this; }
175 inline SecurityControlDefinition& AddParameterDefinitions(const char* key, ParameterDefinition&& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions.emplace(key, std::move(value)); return *this; }
176 inline SecurityControlDefinition& AddParameterDefinitions(const char* key, const ParameterDefinition& value) { m_parameterDefinitionsHasBeenSet = true; m_parameterDefinitions.emplace(key, value); return *this; }
178 private:
179
180 Aws::String m_securityControlId;
181 bool m_securityControlIdHasBeenSet = false;
182
183 Aws::String m_title;
184 bool m_titleHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_remediationUrl;
190 bool m_remediationUrlHasBeenSet = false;
191
192 SeverityRating m_severityRating;
193 bool m_severityRatingHasBeenSet = false;
194
195 RegionAvailabilityStatus m_currentRegionAvailability;
196 bool m_currentRegionAvailabilityHasBeenSet = false;
197
198 Aws::Vector<SecurityControlProperty> m_customizableProperties;
199 bool m_customizablePropertiesHasBeenSet = false;
200
201 Aws::Map<Aws::String, ParameterDefinition> m_parameterDefinitions;
202 bool m_parameterDefinitionsHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace SecurityHub
207} // namespace Aws
SecurityControlDefinition & AddParameterDefinitions(const char *key, const ParameterDefinition &value)
SecurityControlDefinition & WithTitle(const char *value)
const Aws::Map< Aws::String, ParameterDefinition > & GetParameterDefinitions() const
const RegionAvailabilityStatus & GetCurrentRegionAvailability() const
void SetParameterDefinitions(Aws::Map< Aws::String, ParameterDefinition > &&value)
AWS_SECURITYHUB_API SecurityControlDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityControlDefinition & AddParameterDefinitions(Aws::String &&key, ParameterDefinition &&value)
AWS_SECURITYHUB_API SecurityControlDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetParameterDefinitions(const Aws::Map< Aws::String, ParameterDefinition > &value)
SecurityControlDefinition & WithSeverityRating(const SeverityRating &value)
SecurityControlDefinition & WithDescription(Aws::String &&value)
SecurityControlDefinition & AddParameterDefinitions(Aws::String &&key, const ParameterDefinition &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityControlDefinition & WithCurrentRegionAvailability(RegionAvailabilityStatus &&value)
SecurityControlDefinition & AddParameterDefinitions(const char *key, ParameterDefinition &&value)
const Aws::Vector< SecurityControlProperty > & GetCustomizableProperties() const
void SetCustomizableProperties(const Aws::Vector< SecurityControlProperty > &value)
SecurityControlDefinition & WithDescription(const Aws::String &value)
SecurityControlDefinition & WithSecurityControlId(const char *value)
void SetCurrentRegionAvailability(const RegionAvailabilityStatus &value)
SecurityControlDefinition & AddCustomizableProperties(SecurityControlProperty &&value)
SecurityControlDefinition & AddCustomizableProperties(const SecurityControlProperty &value)
SecurityControlDefinition & WithRemediationUrl(const Aws::String &value)
SecurityControlDefinition & WithTitle(const Aws::String &value)
SecurityControlDefinition & WithParameterDefinitions(const Aws::Map< Aws::String, ParameterDefinition > &value)
SecurityControlDefinition & WithSecurityControlId(const Aws::String &value)
SecurityControlDefinition & WithCurrentRegionAvailability(const RegionAvailabilityStatus &value)
SecurityControlDefinition & WithRemediationUrl(const char *value)
void SetCurrentRegionAvailability(RegionAvailabilityStatus &&value)
SecurityControlDefinition & WithRemediationUrl(Aws::String &&value)
SecurityControlDefinition & AddParameterDefinitions(const Aws::String &key, ParameterDefinition &&value)
void SetCustomizableProperties(Aws::Vector< SecurityControlProperty > &&value)
SecurityControlDefinition & WithCustomizableProperties(const Aws::Vector< SecurityControlProperty > &value)
SecurityControlDefinition & WithDescription(const char *value)
SecurityControlDefinition & WithSeverityRating(SeverityRating &&value)
SecurityControlDefinition & WithCustomizableProperties(Aws::Vector< SecurityControlProperty > &&value)
SecurityControlDefinition & WithTitle(Aws::String &&value)
SecurityControlDefinition & WithParameterDefinitions(Aws::Map< Aws::String, ParameterDefinition > &&value)
SecurityControlDefinition & WithSecurityControlId(Aws::String &&value)
SecurityControlDefinition & AddParameterDefinitions(const Aws::String &key, const ParameterDefinition &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue