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 TitleT = Aws::String>
47 m_titleHasBeenSet =
true;
48 m_title = std::forward<TitleT>(value);
50 template <
typename TitleT = Aws::String>
52 SetTitle(std::forward<TitleT>(value));
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 DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
99 template <
typename AssetsT = Assets>
101 m_assetsHasBeenSet =
true;
102 m_assets = std::forward<AssetsT>(value);
104 template <
typename AssetsT = Assets>
117 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
119 m_scopeDocsHasBeenSet =
true;
120 m_scopeDocs = std::forward<ScopeDocsT>(value);
122 template <
typename ScopeDocsT = Aws::Vector<DocumentInfo>>
127 template <
typename ScopeDocsT = DocumentInfo>
129 m_scopeDocsHasBeenSet =
true;
130 m_scopeDocs.emplace_back(std::forward<ScopeDocsT>(value));
141 template <
typename ServiceRoleT = Aws::String>
143 m_serviceRoleHasBeenSet =
true;
144 m_serviceRole = std::forward<ServiceRoleT>(value);
146 template <
typename ServiceRoleT = Aws::String>
159 template <
typename LogConfigT = CloudWatchLog>
161 m_logConfigHasBeenSet =
true;
162 m_logConfig = std::forward<LogConfigT>(value);
164 template <
typename LogConfigT = CloudWatchLog>
178 template <
typename ReportDestinationT = ReportDestination>
180 m_reportDestinationHasBeenSet =
true;
181 m_reportDestination = std::forward<ReportDestinationT>(value);
183 template <
typename ReportDestinationT = ReportDestination>
205 bool m_titleHasBeenSet =
false;
206 bool m_agentSpaceIdHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
208 bool m_assetsHasBeenSet =
false;
209 bool m_scopeDocsHasBeenSet =
false;
210 bool m_serviceRoleHasBeenSet =
false;
211 bool m_logConfigHasBeenSet =
false;
212 bool m_reportDestinationHasBeenSet =
false;
void SetTitle(TitleT &&value)
CreateThreatModelRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
CreateThreatModelRequest & WithDescription(DescriptionT &&value)
bool AgentSpaceIdHasBeenSet() const
CreateThreatModelRequest & WithTitle(TitleT &&value)
void SetAssets(AssetsT &&value)
void SetScopeDocs(ScopeDocsT &&value)
CreateThreatModelRequest & WithLogConfig(LogConfigT &&value)
CreateThreatModelRequest & AddScopeDocs(ScopeDocsT &&value)
void SetReportDestination(ReportDestinationT &&value)
const ReportDestination & GetReportDestination() const
bool AssetsHasBeenSet() const
bool ScopeDocsHasBeenSet() const
CreateThreatModelRequest & WithAssets(AssetsT &&value)
const Aws::String & GetServiceRole() const
const Assets & GetAssets() const
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
AWS_SECURITYAGENT_API CreateThreatModelRequest()=default
const Aws::Vector< DocumentInfo > & GetScopeDocs() const
bool ReportDestinationHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetAgentSpaceId() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
const CloudWatchLog & GetLogConfig() const
bool ServiceRoleHasBeenSet() const
CreateThreatModelRequest & WithServiceRole(ServiceRoleT &&value)
void SetLogConfig(LogConfigT &&value)
bool TitleHasBeenSet() const
bool LogConfigHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
CreateThreatModelRequest & WithScopeDocs(ScopeDocsT &&value)
void SetServiceRole(ServiceRoleT &&value)
virtual const char * GetServiceRequestName() const override
CreateThreatModelRequest & WithReportDestination(ReportDestinationT &&value)
const Aws::String & GetTitle() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector