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/SourceCodeRepository.h>
26namespace SecurityAgent {
48 template <
typename ThreatModelJobIdT = Aws::String>
50 m_threatModelJobIdHasBeenSet =
true;
51 m_threatModelJobId = std::forward<ThreatModelJobIdT>(value);
53 template <
typename ThreatModelJobIdT = Aws::String>
66 template <
typename ThreatModelIdT = Aws::String>
68 m_threatModelIdHasBeenSet =
true;
69 m_threatModelId = std::forward<ThreatModelIdT>(value);
71 template <
typename ThreatModelIdT = Aws::String>
84 template <
typename AgentSpaceIdT = Aws::String>
86 m_agentSpaceIdHasBeenSet =
true;
87 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
89 template <
typename AgentSpaceIdT = Aws::String>
102 template <
typename TitleT = Aws::String>
104 m_titleHasBeenSet =
true;
105 m_title = std::forward<TitleT>(value);
107 template <
typename TitleT = Aws::String>
109 SetTitle(std::forward<TitleT>(value));
121 m_statusHasBeenSet =
true;
136 template <
typename CreatedAtT = Aws::Utils::DateTime>
138 m_createdAtHasBeenSet =
true;
139 m_createdAt = std::forward<CreatedAtT>(value);
141 template <
typename CreatedAtT = Aws::Utils::DateTime>
154 template <
typename UpdatedAtT = Aws::Utils::DateTime>
156 m_updatedAtHasBeenSet =
true;
157 m_updatedAt = std::forward<UpdatedAtT>(value);
159 template <
typename UpdatedAtT = Aws::Utils::DateTime>
172 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
174 m_executionStartTimeHasBeenSet =
true;
175 m_executionStartTime = std::forward<ExecutionStartTimeT>(value);
177 template <
typename ExecutionStartTimeT = Aws::Utils::DateTime>
190 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
192 m_executionEndTimeHasBeenSet =
true;
193 m_executionEndTime = std::forward<ExecutionEndTimeT>(value);
195 template <
typename ExecutionEndTimeT = Aws::Utils::DateTime>
208 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
210 m_sourceCodeHasBeenSet =
true;
211 m_sourceCode = std::forward<SourceCodeT>(value);
213 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
218 template <
typename SourceCodeT = SourceCodeRepository>
220 m_sourceCodeHasBeenSet =
true;
221 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
232 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
234 m_integratedRepositoriesHasBeenSet =
true;
235 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
237 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
242 template <
typename IntegratedRepositoriesT = IntegratedRepository>
244 m_integratedRepositoriesHasBeenSet =
true;
245 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
256 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
258 m_documentsHasBeenSet =
true;
259 m_documents = std::forward<DocumentsT>(value);
261 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
266 template <
typename DocumentsT = DocumentInfo>
268 m_documentsHasBeenSet =
true;
269 m_documents.emplace_back(std::forward<DocumentsT>(value));
280 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
282 m_scopeDocsHasBeenSet =
true;
283 m_scopeDocs = std::forward<ScopeDocsT>(value);
285 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
290 template <
typename ScopeDocsT = DocumentInfo>
292 m_scopeDocsHasBeenSet =
true;
293 m_scopeDocs.emplace_back(std::forward<ScopeDocsT>(value));
304 template <
typename ErrorInformationT = ErrorInformation>
306 m_errorInformationHasBeenSet =
true;
307 m_errorInformation = std::forward<ErrorInformationT>(value);
309 template <
typename ErrorInformationT = ErrorInformation>
322 template <
typename SystemOverviewT = Aws::String>
324 m_systemOverviewHasBeenSet =
true;
325 m_systemOverview = std::forward<SystemOverviewT>(value);
327 template <
typename SystemOverviewT = Aws::String>
360 ErrorInformation m_errorInformation;
363 bool m_threatModelJobIdHasBeenSet =
false;
364 bool m_threatModelIdHasBeenSet =
false;
365 bool m_agentSpaceIdHasBeenSet =
false;
366 bool m_titleHasBeenSet =
false;
367 bool m_statusHasBeenSet =
false;
368 bool m_createdAtHasBeenSet =
false;
369 bool m_updatedAtHasBeenSet =
false;
370 bool m_executionStartTimeHasBeenSet =
false;
371 bool m_executionEndTimeHasBeenSet =
false;
372 bool m_sourceCodeHasBeenSet =
false;
373 bool m_integratedRepositoriesHasBeenSet =
false;
374 bool m_documentsHasBeenSet =
false;
375 bool m_scopeDocsHasBeenSet =
false;
376 bool m_errorInformationHasBeenSet =
false;
377 bool m_systemOverviewHasBeenSet =
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)
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 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)
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
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