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/Assets.h>
12#include <aws/securityagent/model/CloudWatchLog.h>
13#include <aws/securityagent/model/DocumentInfo.h>
24namespace SecurityAgent {
47 template <
typename ThreatModelIdT = Aws::String>
49 m_threatModelIdHasBeenSet =
true;
50 m_threatModelId = std::forward<ThreatModelIdT>(value);
52 template <
typename ThreatModelIdT = Aws::String>
65 template <
typename AgentSpaceIdT = Aws::String>
67 m_agentSpaceIdHasBeenSet =
true;
68 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
70 template <
typename AgentSpaceIdT = Aws::String>
83 template <
typename TitleT = Aws::String>
85 m_titleHasBeenSet =
true;
86 m_title = std::forward<TitleT>(value);
88 template <
typename TitleT = Aws::String>
90 SetTitle(std::forward<TitleT>(value));
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
119 template <
typename AssetsT = Assets>
121 m_assetsHasBeenSet =
true;
122 m_assets = std::forward<AssetsT>(value);
124 template <
typename AssetsT = Assets>
137 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
139 m_scopeDocsHasBeenSet =
true;
140 m_scopeDocs = std::forward<ScopeDocsT>(value);
142 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
147 template <
typename ScopeDocsT = DocumentInfo>
149 m_scopeDocsHasBeenSet =
true;
150 m_scopeDocs.emplace_back(std::forward<ScopeDocsT>(value));
161 template <
typename ServiceRoleT = Aws::String>
163 m_serviceRoleHasBeenSet =
true;
164 m_serviceRole = std::forward<ServiceRoleT>(value);
166 template <
typename ServiceRoleT = Aws::String>
179 template <
typename LogConfigT = CloudWatchLog>
181 m_logConfigHasBeenSet =
true;
182 m_logConfig = std::forward<LogConfigT>(value);
184 template <
typename LogConfigT = CloudWatchLog>
197 template <
typename CreatedAtT = Aws::Utils::DateTime>
199 m_createdAtHasBeenSet =
true;
200 m_createdAt = std::forward<CreatedAtT>(value);
202 template <
typename CreatedAtT = Aws::Utils::DateTime>
215 template <
typename UpdatedAtT = Aws::Utils::DateTime>
217 m_updatedAtHasBeenSet =
true;
218 m_updatedAt = std::forward<UpdatedAtT>(value);
220 template <
typename UpdatedAtT = Aws::Utils::DateTime>
246 bool m_threatModelIdHasBeenSet =
false;
247 bool m_agentSpaceIdHasBeenSet =
false;
248 bool m_titleHasBeenSet =
false;
249 bool m_descriptionHasBeenSet =
false;
250 bool m_assetsHasBeenSet =
false;
251 bool m_scopeDocsHasBeenSet =
false;
252 bool m_serviceRoleHasBeenSet =
false;
253 bool m_logConfigHasBeenSet =
false;
254 bool m_createdAtHasBeenSet =
false;
255 bool m_updatedAtHasBeenSet =
false;
const Aws::String & GetThreatModelId() const
ThreatModel & WithAssets(AssetsT &&value)
ThreatModel & AddScopeDocs(ScopeDocsT &&value)
const Aws::Vector< DocumentInfo > & GetScopeDocs() const
ThreatModel & WithAgentSpaceId(AgentSpaceIdT &&value)
bool DescriptionHasBeenSet() const
void SetThreatModelId(ThreatModelIdT &&value)
const Assets & GetAssets() const
ThreatModel & WithThreatModelId(ThreatModelIdT &&value)
bool AgentSpaceIdHasBeenSet() const
ThreatModel & WithServiceRole(ServiceRoleT &&value)
AWS_SECURITYAGENT_API ThreatModel()=default
void SetServiceRole(ServiceRoleT &&value)
void SetTitle(TitleT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
ThreatModel & WithUpdatedAt(UpdatedAtT &&value)
bool TitleHasBeenSet() const
AWS_SECURITYAGENT_API ThreatModel(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool LogConfigHasBeenSet() const
ThreatModel & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
ThreatModel & WithCreatedAt(CreatedAtT &&value)
void SetScopeDocs(ScopeDocsT &&value)
void SetLogConfig(LogConfigT &&value)
void SetDescription(DescriptionT &&value)
void SetAssets(AssetsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const CloudWatchLog & GetLogConfig() const
bool ThreatModelIdHasBeenSet() const
bool AssetsHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
ThreatModel & WithTitle(TitleT &&value)
bool ScopeDocsHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::String & GetTitle() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceRoleHasBeenSet() const
const Aws::String & GetAgentSpaceId() const
bool UpdatedAtHasBeenSet() const
ThreatModel & WithScopeDocs(ScopeDocsT &&value)
const Aws::String & GetServiceRole() const
ThreatModel & WithLogConfig(LogConfigT &&value)
AWS_SECURITYAGENT_API ThreatModel & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue