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>
15#include <aws/securityagent/model/ReportDestination.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace SecurityAgent {
46 template <
typename ThreatModelIdT = Aws::String>
48 m_threatModelIdHasBeenSet =
true;
49 m_threatModelId = std::forward<ThreatModelIdT>(value);
51 template <
typename ThreatModelIdT = Aws::String>
63 template <
typename TitleT = Aws::String>
65 m_titleHasBeenSet =
true;
66 m_title = std::forward<TitleT>(value);
68 template <
typename TitleT = Aws::String>
70 SetTitle(std::forward<TitleT>(value));
80 template <
typename AgentSpaceIdT = Aws::String>
82 m_agentSpaceIdHasBeenSet =
true;
83 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
85 template <
typename AgentSpaceIdT = Aws::String>
97 template <
typename DescriptionT = Aws::String>
99 m_descriptionHasBeenSet =
true;
100 m_description = std::forward<DescriptionT>(value);
102 template <
typename DescriptionT = Aws::String>
114 template <
typename AssetsT = Assets>
116 m_assetsHasBeenSet =
true;
117 m_assets = std::forward<AssetsT>(value);
119 template <
typename AssetsT = Assets>
131 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
133 m_scopeDocsHasBeenSet =
true;
134 m_scopeDocs = std::forward<ScopeDocsT>(value);
136 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
141 template <
typename ScopeDocsT = DocumentInfo>
143 m_scopeDocsHasBeenSet =
true;
144 m_scopeDocs.emplace_back(std::forward<ScopeDocsT>(value));
154 template <
typename ServiceRoleT = Aws::String>
156 m_serviceRoleHasBeenSet =
true;
157 m_serviceRole = std::forward<ServiceRoleT>(value);
159 template <
typename ServiceRoleT = Aws::String>
171 template <
typename LogConfigT = CloudWatchLog>
173 m_logConfigHasBeenSet =
true;
174 m_logConfig = std::forward<LogConfigT>(value);
176 template <
typename LogConfigT = CloudWatchLog>
188 template <
typename CreatedAtT = Aws::Utils::DateTime>
190 m_createdAtHasBeenSet =
true;
191 m_createdAt = std::forward<CreatedAtT>(value);
193 template <
typename CreatedAtT = Aws::Utils::DateTime>
205 template <
typename UpdatedAtT = Aws::Utils::DateTime>
207 m_updatedAtHasBeenSet =
true;
208 m_updatedAt = std::forward<UpdatedAtT>(value);
210 template <
typename UpdatedAtT = Aws::Utils::DateTime>
223 template <
typename ReportDestinationT = ReportDestination>
225 m_reportDestinationHasBeenSet =
true;
226 m_reportDestination = std::forward<ReportDestinationT>(value);
228 template <
typename ReportDestinationT = ReportDestination>
238 template <
typename RequestIdT = Aws::String>
240 m_requestIdHasBeenSet =
true;
241 m_requestId = std::forward<RequestIdT>(value);
243 template <
typename RequestIdT = Aws::String>
272 ReportDestination m_reportDestination;
276 bool m_threatModelIdHasBeenSet =
false;
277 bool m_titleHasBeenSet =
false;
278 bool m_agentSpaceIdHasBeenSet =
false;
279 bool m_descriptionHasBeenSet =
false;
280 bool m_assetsHasBeenSet =
false;
281 bool m_scopeDocsHasBeenSet =
false;
282 bool m_serviceRoleHasBeenSet =
false;
283 bool m_logConfigHasBeenSet =
false;
284 bool m_createdAtHasBeenSet =
false;
285 bool m_updatedAtHasBeenSet =
false;
286 bool m_reportDestinationHasBeenSet =
false;
287 bool m_requestIdHasBeenSet =
false;
CreateThreatModelResult & WithThreatModelId(ThreatModelIdT &&value)
CreateThreatModelResult & WithReportDestination(ReportDestinationT &&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)
void SetReportDestination(ReportDestinationT &&value)
AWS_SECURITYAGENT_API CreateThreatModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetScopeDocs(ScopeDocsT &&value)
const ReportDestination & GetReportDestination() const
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