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/ControlStatus.h>
11#include <aws/securityhub/model/UpdateStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/securityhub/model/ParameterConfiguration.h>
54 template<
typename SecurityControlIdT = Aws::String>
55 void SetSecurityControlId(SecurityControlIdT&& value) { m_securityControlIdHasBeenSet =
true; m_securityControlId = std::forward<SecurityControlIdT>(value); }
56 template<
typename SecurityControlIdT = Aws::String>
69 template<
typename SecurityControlArnT = Aws::String>
70 void SetSecurityControlArn(SecurityControlArnT&& value) { m_securityControlArnHasBeenSet =
true; m_securityControlArn = std::forward<SecurityControlArnT>(value); }
71 template<
typename SecurityControlArnT = Aws::String>
81 template<
typename TitleT = Aws::String>
82 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
83 template<
typename TitleT = Aws::String>
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
109 template<
typename RemediationUrlT = Aws::String>
110 void SetRemediationUrl(RemediationUrlT&& value) { m_remediationUrlHasBeenSet =
true; m_remediationUrl = std::forward<RemediationUrlT>(value); }
111 template<
typename RemediationUrlT = Aws::String>
159 template<
typename ParametersT = Aws::Map<Aws::String, ParameterConfiguration>>
160 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
161 template<
typename ParametersT = Aws::Map<Aws::String, ParameterConfiguration>>
163 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = ParameterConfiguration>
165 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
182 template<
typename LastUpdateReasonT = Aws::String>
183 void SetLastUpdateReason(LastUpdateReasonT&& value) { m_lastUpdateReasonHasBeenSet =
true; m_lastUpdateReason = std::forward<LastUpdateReasonT>(value); }
184 template<
typename LastUpdateReasonT = Aws::String>
190 bool m_securityControlIdHasBeenSet =
false;
193 bool m_securityControlArnHasBeenSet =
false;
196 bool m_titleHasBeenSet =
false;
199 bool m_descriptionHasBeenSet =
false;
202 bool m_remediationUrlHasBeenSet =
false;
205 bool m_severityRatingHasBeenSet =
false;
208 bool m_securityControlStatusHasBeenSet =
false;
211 bool m_updateStatusHasBeenSet =
false;
214 bool m_parametersHasBeenSet =
false;
217 bool m_lastUpdateReasonHasBeenSet =
false;
SecurityControl & WithDescription(DescriptionT &&value)
bool RemediationUrlHasBeenSet() const
SecurityControl & WithLastUpdateReason(LastUpdateReasonT &&value)
bool SecurityControlStatusHasBeenSet() const
void SetUpdateStatus(UpdateStatus value)
void SetTitle(TitleT &&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)
void SetParameters(ParametersT &&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