7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityagent/SecurityAgentRequest.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>
14#include <aws/securityagent/model/ReportDestination.h>
19namespace SecurityAgent {
45 template <
typename ThreatModelIdT = Aws::String>
47 m_threatModelIdHasBeenSet =
true;
48 m_threatModelId = std::forward<ThreatModelIdT>(value);
50 template <
typename ThreatModelIdT = Aws::String>
63 template <
typename AgentSpaceIdT = Aws::String>
65 m_agentSpaceIdHasBeenSet =
true;
66 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
68 template <
typename AgentSpaceIdT = Aws::String>
81 template <
typename TitleT = Aws::String>
83 m_titleHasBeenSet =
true;
84 m_title = std::forward<TitleT>(value);
86 template <
typename TitleT = Aws::String>
88 SetTitle(std::forward<TitleT>(value));
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
118 template <
typename AssetsT = Assets>
120 m_assetsHasBeenSet =
true;
121 m_assets = std::forward<AssetsT>(value);
123 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>
198 template <
typename ReportDestinationT = ReportDestination>
200 m_reportDestinationHasBeenSet =
true;
201 m_reportDestination = std::forward<ReportDestinationT>(value);
203 template <
typename ReportDestinationT = ReportDestination>
227 bool m_threatModelIdHasBeenSet =
false;
228 bool m_agentSpaceIdHasBeenSet =
false;
229 bool m_titleHasBeenSet =
false;
230 bool m_descriptionHasBeenSet =
false;
231 bool m_assetsHasBeenSet =
false;
232 bool m_scopeDocsHasBeenSet =
false;
233 bool m_serviceRoleHasBeenSet =
false;
234 bool m_logConfigHasBeenSet =
false;
235 bool m_reportDestinationHasBeenSet =
false;
const Aws::String & GetDescription() const
const Assets & GetAssets() const
void SetDescription(DescriptionT &&value)
void SetScopeDocs(ScopeDocsT &&value)
bool AssetsHasBeenSet() const
AWS_SECURITYAGENT_API UpdateThreatModelRequest()=default
bool AgentSpaceIdHasBeenSet() const
void SetThreatModelId(ThreatModelIdT &&value)
UpdateThreatModelRequest & AddScopeDocs(ScopeDocsT &&value)
UpdateThreatModelRequest & WithThreatModelId(ThreatModelIdT &&value)
const Aws::String & GetTitle() const
const Aws::String & GetServiceRole() const
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
bool ServiceRoleHasBeenSet() const
bool ReportDestinationHasBeenSet() const
bool ScopeDocsHasBeenSet() const
bool LogConfigHasBeenSet() const
void SetAssets(AssetsT &&value)
UpdateThreatModelRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< DocumentInfo > & GetScopeDocs() const
UpdateThreatModelRequest & WithReportDestination(ReportDestinationT &&value)
UpdateThreatModelRequest & WithServiceRole(ServiceRoleT &&value)
UpdateThreatModelRequest & WithAssets(AssetsT &&value)
UpdateThreatModelRequest & WithTitle(TitleT &&value)
void SetServiceRole(ServiceRoleT &&value)
UpdateThreatModelRequest & WithLogConfig(LogConfigT &&value)
const ReportDestination & GetReportDestination() const
const CloudWatchLog & GetLogConfig() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
void SetReportDestination(ReportDestinationT &&value)
UpdateThreatModelRequest & WithScopeDocs(ScopeDocsT &&value)
bool DescriptionHasBeenSet() const
UpdateThreatModelRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
bool ThreatModelIdHasBeenSet() const
const Aws::String & GetThreatModelId() const
void SetLogConfig(LogConfigT &&value)
bool TitleHasBeenSet() const
const Aws::String & GetAgentSpaceId() const
virtual const char * GetServiceRequestName() const override
void SetTitle(TitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector