7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/ControlStatus.h>
11#include <aws/securityhub/model/ParameterConfiguration.h>
12#include <aws/securityhub/model/SecurityControlsProvider.h>
13#include <aws/securityhub/model/SeverityRating.h>
14#include <aws/securityhub/model/UpdateStatus.h>
49 template <
typename SecurityControlIdT = Aws::String>
51 m_securityControlIdHasBeenSet =
true;
52 m_securityControlId = std::forward<SecurityControlIdT>(value);
54 template <
typename SecurityControlIdT = Aws::String>
70 template <
typename SecurityControlArnT = Aws::String>
72 m_securityControlArnHasBeenSet =
true;
73 m_securityControlArn = std::forward<SecurityControlArnT>(value);
75 template <
typename SecurityControlArnT = Aws::String>
88 template <
typename TitleT = Aws::String>
90 m_titleHasBeenSet =
true;
91 m_title = std::forward<TitleT>(value);
93 template <
typename TitleT = Aws::String>
95 SetTitle(std::forward<TitleT>(value));
109 template <
typename DescriptionT = Aws::String>
111 m_descriptionHasBeenSet =
true;
112 m_description = std::forward<DescriptionT>(value);
114 template <
typename DescriptionT = Aws::String>
128 template <
typename RemediationUrlT = Aws::String>
130 m_remediationUrlHasBeenSet =
true;
131 m_remediationUrl = std::forward<RemediationUrlT>(value);
133 template <
typename RemediationUrlT = Aws::String>
151 m_severityRatingHasBeenSet =
true;
152 m_severityRating = value;
167 m_securityControlStatusHasBeenSet =
true;
168 m_securityControlStatus = value;
188 m_updateStatusHasBeenSet =
true;
189 m_updateStatus = value;
204 template <
typename ParametersT = Aws::Map<Aws::String, ParameterConfiguration>>
206 m_parametersHasBeenSet =
true;
207 m_parameters = std::forward<ParametersT>(value);
209 template <
typename ParametersT = Aws::Map<Aws::String, ParameterConfiguration>>
214 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = ParameterConfiguration>
216 m_parametersHasBeenSet =
true;
217 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
235 template <
typename LastUpdateReasonT = Aws::String>
237 m_lastUpdateReasonHasBeenSet =
true;
238 m_lastUpdateReason = std::forward<LastUpdateReasonT>(value);
240 template <
typename LastUpdateReasonT = Aws::String>
255 m_providerHasBeenSet =
true;
285 bool m_securityControlIdHasBeenSet =
false;
286 bool m_securityControlArnHasBeenSet =
false;
287 bool m_titleHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
289 bool m_remediationUrlHasBeenSet =
false;
290 bool m_severityRatingHasBeenSet =
false;
291 bool m_securityControlStatusHasBeenSet =
false;
292 bool m_updateStatusHasBeenSet =
false;
293 bool m_parametersHasBeenSet =
false;
294 bool m_lastUpdateReasonHasBeenSet =
false;
295 bool m_providerHasBeenSet =
false;
SecurityControl & WithDescription(DescriptionT &&value)
bool RemediationUrlHasBeenSet() const
bool ProviderHasBeenSet() const
SecurityControl & WithLastUpdateReason(LastUpdateReasonT &&value)
bool SecurityControlStatusHasBeenSet() const
void SetUpdateStatus(UpdateStatus value)
void SetTitle(TitleT &&value)
SecurityControl & WithProvider(SecurityControlsProvider value)
const Aws::Map< Aws::String, ParameterConfiguration > & GetParameters() const
void SetSecurityControlArn(SecurityControlArnT &&value)
SecurityControl & WithSecurityControlStatus(ControlStatus value)
SeverityRating GetSeverityRating() const
bool SecurityControlIdHasBeenSet() const
SecurityControl & WithTitle(TitleT &&value)
SecurityControl & WithSecurityControlArn(SecurityControlArnT &&value)
bool DescriptionHasBeenSet() const
SecurityControl & WithRemediationUrl(RemediationUrlT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateStatus GetUpdateStatus() const
SecurityControl & WithSecurityControlId(SecurityControlIdT &&value)
AWS_SECURITYHUB_API SecurityControl & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SecurityControlArnHasBeenSet() const
bool UpdateStatusHasBeenSet() const
bool LastUpdateReasonHasBeenSet() const
SecurityControl & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetRemediationUrl(RemediationUrlT &&value)
SecurityControl & WithSeverityRating(SeverityRating value)
AWS_SECURITYHUB_API SecurityControl(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
SecurityControlsProvider GetProvider() const
void SetParameters(ParametersT &&value)
void SetProvider(SecurityControlsProvider value)
const Aws::String & GetLastUpdateReason() const
void SetSecurityControlId(SecurityControlIdT &&value)
AWS_SECURITYHUB_API SecurityControl()=default
void SetLastUpdateReason(LastUpdateReasonT &&value)
bool SeverityRatingHasBeenSet() const
const Aws::String & GetSecurityControlArn() const
SecurityControl & WithUpdateStatus(UpdateStatus value)
const Aws::String & GetDescription() const
const Aws::String & GetTitle() const
void SetSecurityControlStatus(ControlStatus value)
const Aws::String & GetSecurityControlId() const
SecurityControl & WithParameters(ParametersT &&value)
ControlStatus GetSecurityControlStatus() const
void SetSeverityRating(SeverityRating value)
bool TitleHasBeenSet() const
bool ParametersHasBeenSet() const
const Aws::String & GetRemediationUrl() const
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
Aws::Utils::Json::JsonValue JsonValue