7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/MalwareProtectionPlanActions.h>
11#include <aws/guardduty/model/UpdateProtectedResource.h>
43 template<
typename MalwareProtectionPlanIdT = Aws::String>
44 void SetMalwareProtectionPlanId(MalwareProtectionPlanIdT&& value) { m_malwareProtectionPlanIdHasBeenSet =
true; m_malwareProtectionPlanId = std::forward<MalwareProtectionPlanIdT>(value); }
45 template<
typename MalwareProtectionPlanIdT = Aws::String>
56 template<
typename RoleT = Aws::String>
57 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
58 template<
typename RoleT = Aws::String>
69 template<
typename ActionsT = MalwareProtectionPlanActions>
70 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
71 template<
typename ActionsT = MalwareProtectionPlanActions>
83 template<
typename ProtectedResourceT = UpdateProtectedResource>
84 void SetProtectedResource(ProtectedResourceT&& value) { m_protectedResourceHasBeenSet =
true; m_protectedResource = std::forward<ProtectedResourceT>(value); }
85 template<
typename ProtectedResourceT = UpdateProtectedResource>
91 bool m_malwareProtectionPlanIdHasBeenSet =
false;
94 bool m_roleHasBeenSet =
false;
97 bool m_actionsHasBeenSet =
false;
100 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