7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/MalwareProtectionPlanActions.h>
11#include <aws/guardduty/model/UpdateProtectedResource.h>
39 template <
typename MalwareProtectionPlanIdT = Aws::String>
41 m_malwareProtectionPlanIdHasBeenSet =
true;
42 m_malwareProtectionPlanId = std::forward<MalwareProtectionPlanIdT>(value);
44 template <
typename MalwareProtectionPlanIdT = Aws::String>
58 template <
typename RoleT = Aws::String>
60 m_roleHasBeenSet =
true;
61 m_role = std::forward<RoleT>(value);
63 template <
typename RoleT = Aws::String>
65 SetRole(std::forward<RoleT>(value));
77 template <
typename ActionsT = MalwareProtectionPlanActions>
79 m_actionsHasBeenSet =
true;
80 m_actions = std::forward<ActionsT>(value);
82 template <
typename ActionsT = MalwareProtectionPlanActions>
97 template <
typename ProtectedResourceT = UpdateProtectedResource>
99 m_protectedResourceHasBeenSet =
true;
100 m_protectedResource = std::forward<ProtectedResourceT>(value);
102 template <
typename ProtectedResourceT = UpdateProtectedResource>
116 bool m_malwareProtectionPlanIdHasBeenSet =
false;
117 bool m_roleHasBeenSet =
false;
118 bool m_actionsHasBeenSet =
false;
119 bool m_protectedResourceHasBeenSet =
false;
const Aws::String & GetRole() const
void SetActions(ActionsT &&value)
UpdateMalwareProtectionPlanRequest & WithRole(RoleT &&value)
virtual const char * GetServiceRequestName() const override
bool ActionsHasBeenSet() const
const Aws::String & GetMalwareProtectionPlanId() const
AWS_GUARDDUTY_API UpdateMalwareProtectionPlanRequest()=default
void SetMalwareProtectionPlanId(MalwareProtectionPlanIdT &&value)
const MalwareProtectionPlanActions & GetActions() const
const UpdateProtectedResource & GetProtectedResource() const
bool RoleHasBeenSet() const
bool ProtectedResourceHasBeenSet() const
bool MalwareProtectionPlanIdHasBeenSet() const
void SetRole(RoleT &&value)
UpdateMalwareProtectionPlanRequest & WithMalwareProtectionPlanId(MalwareProtectionPlanIdT &&value)
UpdateMalwareProtectionPlanRequest & WithActions(ActionsT &&value)
void SetProtectedResource(ProtectedResourceT &&value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
UpdateMalwareProtectionPlanRequest & WithProtectedResource(ProtectedResourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String