7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/DocumentInfo.h>
12#include <aws/securityagent/model/ErrorInformation.h>
13#include <aws/securityagent/model/IntegratedRepository.h>
14#include <aws/securityagent/model/JobStatus.h>
15#include <aws/securityagent/model/ReportDestination.h>
16#include <aws/securityagent/model/SourceCodeRepository.h>
27namespace SecurityAgent {
49 template <
typename ThreatModelJobIdT = Aws::String>
51 m_threatModelJobIdHasBeenSet =
true;
52 m_threatModelJobId = std::forward<ThreatModelJobIdT>(value);
54 template <
typename ThreatModelJobIdT = Aws::String>
67 template <
typename ThreatModelIdT = Aws::String>
69 m_threatModelIdHasBeenSet =
true;
70 m_threatModelId = std::forward<ThreatModelIdT>(value);
72 template <
typename ThreatModelIdT = Aws::String>
85 template <
typename AgentSpaceIdT = Aws::String>
87 m_agentSpaceIdHasBeenSet =
true;
88 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
90 template <
typename AgentSpaceIdT = Aws::String>
103 template <
typename TitleT = Aws::String>
105 m_titleHasBeenSet =
true;
106 m_title = std::forward<TitleT>(value);
108 template <
typename TitleT = Aws::String>
110 SetTitle(std::forward<TitleT>(value));
122 m_statusHasBeenSet =
true;
137 template <
typename CreatedAtT = Aws::Utils::DateTime>
139 m_createdAtHasBeenSet =
true;
140 m_createdAt = std::forward<CreatedAtT>(value);
142 template <
typename CreatedAtT = Aws::Utils::DateTime>
155 template <
typename UpdatedAtT = Aws::Utils::DateTime>
157 m_updatedAtHasBeenSet =
true;
158 m_updatedAt = std::forward<UpdatedAtT>(value);
160 template <
typename UpdatedAtT = Aws::Utils::DateTime>
173 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
175 m_executionStartTimeHasBeenSet =
true;
176 m_executionStartTime = std::forward<ExecutionStartTimeT>(value);
178 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
191 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
193 m_executionEndTimeHasBeenSet =
true;
194 m_executionEndTime = std::forward<ExecutionEndTimeT>(value);
196 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
209 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
211 m_sourceCodeHasBeenSet =
true;
212 m_sourceCode = std::forward<SourceCodeT>(value);
214 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
219 template <
typename SourceCodeT = SourceCodeRepository>
221 m_sourceCodeHasBeenSet =
true;
222 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
233 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
235 m_integratedRepositoriesHasBeenSet =
true;
236 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
238 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
243 template <
typename IntegratedRepositoriesT = IntegratedRepository>
245 m_integratedRepositoriesHasBeenSet =
true;
246 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
257 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
259 m_documentsHasBeenSet =
true;
260 m_documents = std::forward<DocumentsT>(value);
262 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
267 template <
typename DocumentsT = DocumentInfo>
269 m_documentsHasBeenSet =
true;
270 m_documents.emplace_back(std::forward<DocumentsT>(value));
281 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
283 m_scopeDocsHasBeenSet =
true;
284 m_scopeDocs = std::forward<ScopeDocsT>(value);
286 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
291 template <
typename ScopeDocsT = DocumentInfo>
293 m_scopeDocsHasBeenSet =
true;
294 m_scopeDocs.emplace_back(std::forward<ScopeDocsT>(value));
305 template <
typename ErrorInformationT = ErrorInformation>
307 m_errorInformationHasBeenSet =
true;
308 m_errorInformation = std::forward<ErrorInformationT>(value);
310 template <
typename ErrorInformationT = ErrorInformation>
323 template <
typename SystemOverviewT = Aws::String>
325 m_systemOverviewHasBeenSet =
true;
326 m_systemOverview = std::forward<SystemOverviewT>(value);
328 template <
typename SystemOverviewT = Aws::String>
342 template <
typename ReportDestinationT = ReportDestination>
344 m_reportDestinationHasBeenSet =
true;
345 m_reportDestination = std::forward<ReportDestinationT>(value);
347 template <
typename ReportDestinationT = ReportDestination>
380 ErrorInformation m_errorInformation;
384 ReportDestination m_reportDestination;
385 bool m_threatModelJobIdHasBeenSet =
false;
386 bool m_threatModelIdHasBeenSet =
false;
387 bool m_agentSpaceIdHasBeenSet =
false;
388 bool m_titleHasBeenSet =
false;
389 bool m_statusHasBeenSet =
false;
390 bool m_createdAtHasBeenSet =
false;
391 bool m_updatedAtHasBeenSet =
false;
392 bool m_executionStartTimeHasBeenSet =
false;
393 bool m_executionEndTimeHasBeenSet =
false;
394 bool m_sourceCodeHasBeenSet =
false;
395 bool m_integratedRepositoriesHasBeenSet =
false;
396 bool m_documentsHasBeenSet =
false;
397 bool m_scopeDocsHasBeenSet =
false;
398 bool m_errorInformationHasBeenSet =
false;
399 bool m_systemOverviewHasBeenSet =
false;
400 bool m_reportDestinationHasBeenSet =
false;
bool ExecutionEndTimeHasBeenSet() const
const Aws::String & GetTitle() const
ThreatModelJob & WithThreatModelId(ThreatModelIdT &&value)
bool ScopeDocsHasBeenSet() const
bool TitleHasBeenSet() const
ThreatModelJob & WithTitle(TitleT &&value)
bool IntegratedRepositoriesHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetExecutionEndTime(ExecutionEndTimeT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
AWS_SECURITYAGENT_API ThreatModelJob()=default
bool AgentSpaceIdHasBeenSet() const
ThreatModelJob & WithSourceCode(SourceCodeT &&value)
void SetStatus(JobStatus value)
ThreatModelJob & AddDocuments(DocumentsT &&value)
bool StatusHasBeenSet() const
const Aws::Vector< DocumentInfo > & GetDocuments() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetErrorInformation(ErrorInformationT &&value)
void SetTitle(TitleT &&value)
bool ReportDestinationHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetScopeDocs(ScopeDocsT &&value)
ThreatModelJob & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
const Aws::String & GetSystemOverview() const
void SetSystemOverview(SystemOverviewT &&value)
const Aws::Vector< IntegratedRepository > & GetIntegratedRepositories() const
bool ErrorInformationHasBeenSet() const
AWS_SECURITYAGENT_API ThreatModelJob(Aws::Utils::Json::JsonView jsonValue)
bool ThreatModelIdHasBeenSet() const
const Aws::String & GetThreatModelId() const
ThreatModelJob & WithExecutionEndTime(ExecutionEndTimeT &&value)
void SetReportDestination(ReportDestinationT &&value)
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
ThreatModelJob & WithUpdatedAt(UpdatedAtT &&value)
void SetDocuments(DocumentsT &&value)
void SetThreatModelId(ThreatModelIdT &&value)
const Aws::Vector< DocumentInfo > & GetScopeDocs() const
const Aws::String & GetThreatModelJobId() const
ThreatModelJob & WithThreatModelJobId(ThreatModelJobIdT &&value)
ThreatModelJob & WithCreatedAt(CreatedAtT &&value)
ThreatModelJob & WithReportDestination(ReportDestinationT &&value)
bool UpdatedAtHasBeenSet() const
void SetExecutionStartTime(ExecutionStartTimeT &&value)
AWS_SECURITYAGENT_API ThreatModelJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceCode(SourceCodeT &&value)
bool ThreatModelJobIdHasBeenSet() const
void SetThreatModelJobId(ThreatModelJobIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool SystemOverviewHasBeenSet() const
const ErrorInformation & GetErrorInformation() const
ThreatModelJob & AddSourceCode(SourceCodeT &&value)
ThreatModelJob & AddScopeDocs(ScopeDocsT &&value)
const Aws::Utils::DateTime & GetExecutionEndTime() const
ThreatModelJob & WithStatus(JobStatus value)
ThreatModelJob & WithErrorInformation(ErrorInformationT &&value)
bool SourceCodeHasBeenSet() const
JobStatus GetStatus() const
const ReportDestination & GetReportDestination() const
ThreatModelJob & WithDocuments(DocumentsT &&value)
const Aws::Vector< SourceCodeRepository > & GetSourceCode() const
bool DocumentsHasBeenSet() const
const Aws::String & GetAgentSpaceId() const
ThreatModelJob & WithExecutionStartTime(ExecutionStartTimeT &&value)
ThreatModelJob & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
ThreatModelJob & WithSystemOverview(SystemOverviewT &&value)
const Aws::Utils::DateTime & GetExecutionStartTime() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ThreatModelJob & WithAgentSpaceId(AgentSpaceIdT &&value)
bool ExecutionStartTimeHasBeenSet() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ThreatModelJob & WithScopeDocs(ScopeDocsT &&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