7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityagent/SecurityAgent_EXPORTS.h>
12#include <aws/securityagent/model/Assets.h>
13#include <aws/securityagent/model/CiCdConfiguration.h>
14#include <aws/securityagent/model/CloudWatchLog.h>
15#include <aws/securityagent/model/ReportDestination.h>
16#include <aws/securityagent/model/ReportFilters.h>
17#include <aws/securityagent/model/RiskType.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace SecurityAgent {
48 template <
typename PentestIdT = Aws::String>
50 m_pentestIdHasBeenSet =
true;
51 m_pentestId = std::forward<PentestIdT>(value);
53 template <
typename PentestIdT = Aws::String>
65 template <
typename TitleT = Aws::String>
67 m_titleHasBeenSet =
true;
68 m_title = std::forward<TitleT>(value);
70 template <
typename TitleT = Aws::String>
72 SetTitle(std::forward<TitleT>(value));
82 template <
typename CreatedAtT = Aws::Utils::DateTime>
84 m_createdAtHasBeenSet =
true;
85 m_createdAt = std::forward<CreatedAtT>(value);
87 template <
typename CreatedAtT = Aws::Utils::DateTime>
99 template <
typename UpdatedAtT = Aws::Utils::DateTime>
101 m_updatedAtHasBeenSet =
true;
102 m_updatedAt = std::forward<UpdatedAtT>(value);
104 template <
typename UpdatedAtT = Aws::Utils::DateTime>
116 template <
typename AssetsT = Assets>
118 m_assetsHasBeenSet =
true;
119 m_assets = std::forward<AssetsT>(value);
121 template <
typename AssetsT = Assets>
133 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
135 m_excludeRiskTypesHasBeenSet =
true;
136 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
138 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
144 m_excludeRiskTypesHasBeenSet =
true;
145 m_excludeRiskTypes.push_back(value);
155 template <
typename ServiceRoleT = Aws::String>
157 m_serviceRoleHasBeenSet =
true;
158 m_serviceRole = std::forward<ServiceRoleT>(value);
160 template <
typename ServiceRoleT = Aws::String>
172 template <
typename LogConfigT = CloudWatchLog>
174 m_logConfigHasBeenSet =
true;
175 m_logConfig = std::forward<LogConfigT>(value);
177 template <
typename LogConfigT = CloudWatchLog>
189 template <
typename AgentSpaceIdT = Aws::String>
191 m_agentSpaceIdHasBeenSet =
true;
192 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
194 template <
typename AgentSpaceIdT = Aws::String>
207 template <
typename ReportDestinationT = ReportDestination>
209 m_reportDestinationHasBeenSet =
true;
210 m_reportDestination = std::forward<ReportDestinationT>(value);
212 template <
typename ReportDestinationT = ReportDestination>
224 template <
typename ReportFiltersT = ReportFilters>
226 m_reportFiltersHasBeenSet =
true;
227 m_reportFilters = std::forward<ReportFiltersT>(value);
229 template <
typename ReportFiltersT = ReportFilters>
241 template <
typename CicdConfigurationT = CiCdConfiguration>
243 m_cicdConfigurationHasBeenSet =
true;
244 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
246 template <
typename CicdConfigurationT = CiCdConfiguration>
256 template <
typename RequestIdT = Aws::String>
258 m_requestIdHasBeenSet =
true;
259 m_requestId = std::forward<RequestIdT>(value);
261 template <
typename RequestIdT = Aws::String>
284 CloudWatchLog m_logConfig;
288 ReportDestination m_reportDestination;
290 ReportFilters m_reportFilters;
292 CiCdConfiguration m_cicdConfiguration;
296 bool m_pentestIdHasBeenSet =
false;
297 bool m_titleHasBeenSet =
false;
298 bool m_createdAtHasBeenSet =
false;
299 bool m_updatedAtHasBeenSet =
false;
300 bool m_assetsHasBeenSet =
false;
301 bool m_excludeRiskTypesHasBeenSet =
false;
302 bool m_serviceRoleHasBeenSet =
false;
303 bool m_logConfigHasBeenSet =
false;
304 bool m_agentSpaceIdHasBeenSet =
false;
305 bool m_reportDestinationHasBeenSet =
false;
306 bool m_reportFiltersHasBeenSet =
false;
307 bool m_cicdConfigurationHasBeenSet =
false;
308 bool m_requestIdHasBeenSet =
false;
AWS_SECURITYAGENT_API CreatePentestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYAGENT_API CreatePentestResult()=default
const Aws::String & GetRequestId() const
const Assets & GetAssets() const
CreatePentestResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetServiceRole() const
CreatePentestResult & WithPentestId(PentestIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
CreatePentestResult & WithLogConfig(LogConfigT &&value)
void SetReportFilters(ReportFiltersT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetTitle() const
void SetLogConfig(LogConfigT &&value)
CreatePentestResult & WithRequestId(RequestIdT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
const Aws::String & GetAgentSpaceId() const
void SetPentestId(PentestIdT &&value)
void SetTitle(TitleT &&value)
const ReportDestination & GetReportDestination() const
void SetReportDestination(ReportDestinationT &&value)
const Aws::Vector< RiskType > & GetExcludeRiskTypes() const
CreatePentestResult & WithServiceRole(ServiceRoleT &&value)
CreatePentestResult & WithExcludeRiskTypes(ExcludeRiskTypesT &&value)
void SetCicdConfiguration(CicdConfigurationT &&value)
CreatePentestResult & WithReportDestination(ReportDestinationT &&value)
CreatePentestResult & WithAgentSpaceId(AgentSpaceIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetExcludeRiskTypes(ExcludeRiskTypesT &&value)
CreatePentestResult & WithCicdConfiguration(CicdConfigurationT &&value)
const CloudWatchLog & GetLogConfig() const
void SetAssets(AssetsT &&value)
const Aws::String & GetPentestId() const
void SetServiceRole(ServiceRoleT &&value)
CreatePentestResult & WithReportFilters(ReportFiltersT &&value)
void SetRequestId(RequestIdT &&value)
AWS_SECURITYAGENT_API CreatePentestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ReportFilters & GetReportFilters() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreatePentestResult & AddExcludeRiskTypes(RiskType value)
CreatePentestResult & WithAssets(AssetsT &&value)
CreatePentestResult & WithUpdatedAt(UpdatedAtT &&value)
const CiCdConfiguration & GetCicdConfiguration() const
CreatePentestResult & WithTitle(TitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue