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>
18#include <aws/securityagent/model/TestScope.h>
23template <
typename RESULT_TYPE>
24class AmazonWebServiceResult;
31namespace SecurityAgent {
49 template <
typename PentestIdT = Aws::String>
51 m_pentestIdHasBeenSet =
true;
52 m_pentestId = std::forward<PentestIdT>(value);
54 template <
typename PentestIdT = Aws::String>
66 template <
typename TitleT = Aws::String>
68 m_titleHasBeenSet =
true;
69 m_title = std::forward<TitleT>(value);
71 template <
typename TitleT = Aws::String>
73 SetTitle(std::forward<TitleT>(value));
83 template <
typename CreatedAtT = Aws::Utils::DateTime>
85 m_createdAtHasBeenSet =
true;
86 m_createdAt = std::forward<CreatedAtT>(value);
88 template <
typename CreatedAtT = Aws::Utils::DateTime>
100 template <
typename UpdatedAtT = Aws::Utils::DateTime>
102 m_updatedAtHasBeenSet =
true;
103 m_updatedAt = std::forward<UpdatedAtT>(value);
105 template <
typename UpdatedAtT = Aws::Utils::DateTime>
117 template <
typename AssetsT = Assets>
119 m_assetsHasBeenSet =
true;
120 m_assets = std::forward<AssetsT>(value);
122 template <
typename AssetsT = Assets>
134 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
136 m_excludeRiskTypesHasBeenSet =
true;
137 m_excludeRiskTypes = std::forward<ExcludeRiskTypesT>(value);
139 template <
typename ExcludeRiskTypesT = Aws::Vector<RiskType>>
145 m_excludeRiskTypesHasBeenSet =
true;
146 m_excludeRiskTypes.push_back(value);
156 template <
typename ServiceRoleT = Aws::String>
158 m_serviceRoleHasBeenSet =
true;
159 m_serviceRole = std::forward<ServiceRoleT>(value);
161 template <
typename ServiceRoleT = Aws::String>
173 template <
typename LogConfigT = CloudWatchLog>
175 m_logConfigHasBeenSet =
true;
176 m_logConfig = std::forward<LogConfigT>(value);
178 template <
typename LogConfigT = CloudWatchLog>
190 template <
typename AgentSpaceIdT = Aws::String>
192 m_agentSpaceIdHasBeenSet =
true;
193 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
195 template <
typename AgentSpaceIdT = Aws::String>
208 template <
typename ReportDestinationT = ReportDestination>
210 m_reportDestinationHasBeenSet =
true;
211 m_reportDestination = std::forward<ReportDestinationT>(value);
213 template <
typename ReportDestinationT = ReportDestination>
225 template <
typename ReportFiltersT = ReportFilters>
227 m_reportFiltersHasBeenSet =
true;
228 m_reportFilters = std::forward<ReportFiltersT>(value);
230 template <
typename ReportFiltersT = ReportFilters>
242 template <
typename CicdConfigurationT = CiCdConfiguration>
244 m_cicdConfigurationHasBeenSet =
true;
245 m_cicdConfiguration = std::forward<CicdConfigurationT>(value);
247 template <
typename CicdConfigurationT = CiCdConfiguration>
257 template <
typename TestScopeT = TestScope>
259 m_testScopeHasBeenSet =
true;
260 m_testScope = std::forward<TestScopeT>(value);
262 template <
typename TestScopeT = TestScope>
272 template <
typename RequestIdT = Aws::String>
274 m_requestIdHasBeenSet =
true;
275 m_requestId = std::forward<RequestIdT>(value);
277 template <
typename RequestIdT = Aws::String>
300 CloudWatchLog m_logConfig;
304 ReportDestination m_reportDestination;
306 ReportFilters m_reportFilters;
308 CiCdConfiguration m_cicdConfiguration;
310 TestScope m_testScope;
314 bool m_pentestIdHasBeenSet =
false;
315 bool m_titleHasBeenSet =
false;
316 bool m_createdAtHasBeenSet =
false;
317 bool m_updatedAtHasBeenSet =
false;
318 bool m_assetsHasBeenSet =
false;
319 bool m_excludeRiskTypesHasBeenSet =
false;
320 bool m_serviceRoleHasBeenSet =
false;
321 bool m_logConfigHasBeenSet =
false;
322 bool m_agentSpaceIdHasBeenSet =
false;
323 bool m_reportDestinationHasBeenSet =
false;
324 bool m_reportFiltersHasBeenSet =
false;
325 bool m_cicdConfigurationHasBeenSet =
false;
326 bool m_testScopeHasBeenSet =
false;
327 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)
const TestScope & GetTestScope() const
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)
void SetTestScope(TestScopeT &&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)
CreatePentestResult & WithTestScope(TestScopeT &&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