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/Actor.h>
12#include <aws/securityagent/model/NetworkTrafficConfig.h>
13#include <aws/securityagent/model/VpcConfig.h>
18namespace SecurityAgent {
45 template <
typename AgentSpaceIdT = Aws::String>
47 m_agentSpaceIdHasBeenSet =
true;
48 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
50 template <
typename AgentSpaceIdT = Aws::String>
63 template <
typename PentestJobIdT = Aws::String>
65 m_pentestJobIdHasBeenSet =
true;
66 m_pentestJobId = std::forward<PentestJobIdT>(value);
68 template <
typename PentestJobIdT = Aws::String>
82 template <
typename ActorsT = Aws::Vector<Actor>>
84 m_actorsHasBeenSet =
true;
85 m_actors = std::forward<ActorsT>(value);
87 template <
typename ActorsT = Aws::Vector<Actor>>
92 template <
typename ActorsT = Actor>
94 m_actorsHasBeenSet =
true;
95 m_actors.emplace_back(std::forward<ActorsT>(value));
107 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
109 m_networkTrafficConfigHasBeenSet =
true;
110 m_networkTrafficConfig = std::forward<NetworkTrafficConfigT>(value);
112 template <
typename NetworkTrafficConfigT = NetworkTrafficConfig>
126 template <
typename VpcConfigT = VpcConfig>
128 m_vpcConfigHasBeenSet =
true;
129 m_vpcConfig = std::forward<VpcConfigT>(value);
131 template <
typename VpcConfigT = VpcConfig>
146 m_maxTaskHoursHasBeenSet =
true;
147 m_maxTaskHours = value;
165 m_copyConfigFromPentestHasBeenSet =
true;
166 m_copyConfigFromPentest = value;
184 double m_maxTaskHours{0.0};
186 bool m_copyConfigFromPentest{
false};
187 bool m_agentSpaceIdHasBeenSet =
false;
188 bool m_pentestJobIdHasBeenSet =
false;
189 bool m_actorsHasBeenSet =
false;
190 bool m_networkTrafficConfigHasBeenSet =
false;
191 bool m_vpcConfigHasBeenSet =
false;
192 bool m_maxTaskHoursHasBeenSet =
false;
193 bool m_copyConfigFromPentestHasBeenSet =
false;
ResumePentestJobRequest & WithNetworkTrafficConfig(NetworkTrafficConfigT &&value)
bool MaxTaskHoursHasBeenSet() const
void SetMaxTaskHours(double value)
AWS_SECURITYAGENT_API ResumePentestJobRequest()=default
const Aws::String & GetAgentSpaceId() const
double GetMaxTaskHours() const
ResumePentestJobRequest & AddActors(ActorsT &&value)
void SetPentestJobId(PentestJobIdT &&value)
bool VpcConfigHasBeenSet() const
bool CopyConfigFromPentestHasBeenSet() const
const Aws::String & GetPentestJobId() const
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
void SetAgentSpaceId(AgentSpaceIdT &&value)
ResumePentestJobRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
void SetVpcConfig(VpcConfigT &&value)
void SetCopyConfigFromPentest(bool value)
ResumePentestJobRequest & WithActors(ActorsT &&value)
bool ActorsHasBeenSet() const
bool PentestJobIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const NetworkTrafficConfig & GetNetworkTrafficConfig() const
ResumePentestJobRequest & WithPentestJobId(PentestJobIdT &&value)
bool NetworkTrafficConfigHasBeenSet() const
bool AgentSpaceIdHasBeenSet() const
void SetActors(ActorsT &&value)
const VpcConfig & GetVpcConfig() const
const Aws::Vector< Actor > & GetActors() const
void SetNetworkTrafficConfig(NetworkTrafficConfigT &&value)
ResumePentestJobRequest & WithMaxTaskHours(double value)
bool GetCopyConfigFromPentest() const
ResumePentestJobRequest & WithCopyConfigFromPentest(bool value)
ResumePentestJobRequest & WithVpcConfig(VpcConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector