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/CloudWatchLog.h>
14#include <aws/securityagent/model/DocumentInfo.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace SecurityAgent {
45 template <
typename ThreatModelIdT = Aws::String>
47 m_threatModelIdHasBeenSet =
true;
48 m_threatModelId = std::forward<ThreatModelIdT>(value);
50 template <
typename ThreatModelIdT = Aws::String>
62 template <
typename TitleT = Aws::String>
64 m_titleHasBeenSet =
true;
65 m_title = std::forward<TitleT>(value);
67 template <
typename TitleT = Aws::String>
69 SetTitle(std::forward<TitleT>(value));
79 template <
typename AgentSpaceIdT = Aws::String>
81 m_agentSpaceIdHasBeenSet =
true;
82 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
84 template <
typename AgentSpaceIdT = Aws::String>
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
113 template <
typename AssetsT = Assets>
115 m_assetsHasBeenSet =
true;
116 m_assets = std::forward<AssetsT>(value);
118 template <
typename AssetsT = Assets>
130 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
132 m_scopeDocsHasBeenSet =
true;
133 m_scopeDocs = std::forward<ScopeDocsT>(value);
135 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
140 template <
typename ScopeDocsT = DocumentInfo>
142 m_scopeDocsHasBeenSet =
true;
143 m_scopeDocs.emplace_back(std::forward<ScopeDocsT>(value));
153 template <
typename ServiceRoleT = Aws::String>
155 m_serviceRoleHasBeenSet =
true;
156 m_serviceRole = std::forward<ServiceRoleT>(value);
158 template <
typename ServiceRoleT = Aws::String>
170 template <
typename LogConfigT = CloudWatchLog>
172 m_logConfigHasBeenSet =
true;
173 m_logConfig = std::forward<LogConfigT>(value);
175 template <
typename LogConfigT = CloudWatchLog>
187 template <
typename CreatedAtT = Aws::Utils::DateTime>
189 m_createdAtHasBeenSet =
true;
190 m_createdAt = std::forward<CreatedAtT>(value);
192 template <
typename CreatedAtT = Aws::Utils::DateTime>
204 template <
typename UpdatedAtT = Aws::Utils::DateTime>
206 m_updatedAtHasBeenSet =
true;
207 m_updatedAt = std::forward<UpdatedAtT>(value);
209 template <
typename UpdatedAtT = Aws::Utils::DateTime>
219 template <
typename RequestIdT = Aws::String>
221 m_requestIdHasBeenSet =
true;
222 m_requestId = std::forward<RequestIdT>(value);
224 template <
typename RequestIdT = Aws::String>
255 bool m_threatModelIdHasBeenSet =
false;
256 bool m_titleHasBeenSet =
false;
257 bool m_agentSpaceIdHasBeenSet =
false;
258 bool m_descriptionHasBeenSet =
false;
259 bool m_assetsHasBeenSet =
false;
260 bool m_scopeDocsHasBeenSet =
false;
261 bool m_serviceRoleHasBeenSet =
false;
262 bool m_logConfigHasBeenSet =
false;
263 bool m_createdAtHasBeenSet =
false;
264 bool m_updatedAtHasBeenSet =
false;
265 bool m_requestIdHasBeenSet =
false;
CreateThreatModelResult & WithThreatModelId(ThreatModelIdT &&value)
const Aws::String & GetThreatModelId() const
void SetThreatModelId(ThreatModelIdT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAssets(AssetsT &&value)
AWS_SECURITYAGENT_API CreateThreatModelResult()=default
CreateThreatModelResult & WithTitle(TitleT &&value)
CreateThreatModelResult & WithServiceRole(ServiceRoleT &&value)
AWS_SECURITYAGENT_API CreateThreatModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetScopeDocs(ScopeDocsT &&value)
CreateThreatModelResult & WithDescription(DescriptionT &&value)
CreateThreatModelResult & AddScopeDocs(ScopeDocsT &&value)
void SetLogConfig(LogConfigT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreatedAt() const
CreateThreatModelResult & WithScopeDocs(ScopeDocsT &&value)
AWS_SECURITYAGENT_API CreateThreatModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DocumentInfo > & GetScopeDocs() const
CreateThreatModelResult & WithCreatedAt(CreatedAtT &&value)
void SetDescription(DescriptionT &&value)
const CloudWatchLog & GetLogConfig() const
const Assets & GetAssets() const
void SetRequestId(RequestIdT &&value)
void SetServiceRole(ServiceRoleT &&value)
CreateThreatModelResult & WithLogConfig(LogConfigT &&value)
CreateThreatModelResult & WithUpdatedAt(UpdatedAtT &&value)
CreateThreatModelResult & WithAgentSpaceId(AgentSpaceIdT &&value)
const Aws::String & GetTitle() const
const Aws::String & GetRequestId() const
void SetCreatedAt(CreatedAtT &&value)
CreateThreatModelResult & WithAssets(AssetsT &&value)
const Aws::String & GetServiceRole() const
CreateThreatModelResult & WithRequestId(RequestIdT &&value)
void SetTitle(TitleT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetAgentSpaceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue