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>
18namespace SecurityAgent {
44 template <
typename ThreatModelIdT = Aws::String>
46 m_threatModelIdHasBeenSet =
true;
47 m_threatModelId = std::forward<ThreatModelIdT>(value);
49 template <
typename ThreatModelIdT = Aws::String>
62 template <
typename AgentSpaceIdT = Aws::String>
64 m_agentSpaceIdHasBeenSet =
true;
65 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
67 template <
typename AgentSpaceIdT = Aws::String>
80 template <
typename TitleT = Aws::String>
82 m_titleHasBeenSet =
true;
83 m_title = std::forward<TitleT>(value);
85 template <
typename TitleT = Aws::String>
87 SetTitle(std::forward<TitleT>(value));
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
117 template <
typename AssetsT = Assets>
119 m_assetsHasBeenSet =
true;
120 m_assets = std::forward<AssetsT>(value);
122 template <
typename AssetsT = Assets>
136 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
138 m_scopeDocsHasBeenSet =
true;
139 m_scopeDocs = std::forward<ScopeDocsT>(value);
141 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
146 template <
typename ScopeDocsT = DocumentInfo>
148 m_scopeDocsHasBeenSet =
true;
149 m_scopeDocs.emplace_back(std::forward<ScopeDocsT>(value));
160 template <
typename ServiceRoleT = Aws::String>
162 m_serviceRoleHasBeenSet =
true;
163 m_serviceRole = std::forward<ServiceRoleT>(value);
165 template <
typename ServiceRoleT = Aws::String>
178 template <
typename LogConfigT = CloudWatchLog>
180 m_logConfigHasBeenSet =
true;
181 m_logConfig = std::forward<LogConfigT>(value);
183 template <
typename LogConfigT = CloudWatchLog>
205 bool m_threatModelIdHasBeenSet =
false;
206 bool m_agentSpaceIdHasBeenSet =
false;
207 bool m_titleHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
209 bool m_assetsHasBeenSet =
false;
210 bool m_scopeDocsHasBeenSet =
false;
211 bool m_serviceRoleHasBeenSet =
false;
212 bool m_logConfigHasBeenSet =
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 ScopeDocsHasBeenSet() const
bool LogConfigHasBeenSet() const
void SetAssets(AssetsT &&value)
UpdateThreatModelRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< DocumentInfo > & GetScopeDocs() const
UpdateThreatModelRequest & WithServiceRole(ServiceRoleT &&value)
UpdateThreatModelRequest & WithAssets(AssetsT &&value)
UpdateThreatModelRequest & WithTitle(TitleT &&value)
void SetServiceRole(ServiceRoleT &&value)
UpdateThreatModelRequest & WithLogConfig(LogConfigT &&value)
const CloudWatchLog & GetLogConfig() const
void SetAgentSpaceId(AgentSpaceIdT &&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