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>
45 inline void SetMalwareProtectionPlanId(
const char* value) { m_malwareProtectionPlanIdHasBeenSet =
true; m_malwareProtectionPlanId.assign(value); }
60 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
95 bool m_malwareProtectionPlanIdHasBeenSet =
false;
98 bool m_roleHasBeenSet =
false;
101 bool m_actionsHasBeenSet =
false;
104 bool m_protectedResourceHasBeenSet =
false;
const Aws::String & GetRole() const
UpdateMalwareProtectionPlanRequest & WithActions(const MalwareProtectionPlanActions &value)
void SetActions(MalwareProtectionPlanActions &&value)
UpdateMalwareProtectionPlanRequest & WithActions(MalwareProtectionPlanActions &&value)
virtual const char * GetServiceRequestName() const override
bool ActionsHasBeenSet() const
UpdateMalwareProtectionPlanRequest & WithMalwareProtectionPlanId(const Aws::String &value)
const Aws::String & GetMalwareProtectionPlanId() const
const MalwareProtectionPlanActions & GetActions() const
UpdateMalwareProtectionPlanRequest & WithMalwareProtectionPlanId(const char *value)
const UpdateProtectedResource & GetProtectedResource() const
UpdateMalwareProtectionPlanRequest & WithMalwareProtectionPlanId(Aws::String &&value)
UpdateMalwareProtectionPlanRequest & WithRole(const char *value)
void SetMalwareProtectionPlanId(const Aws::String &value)
bool RoleHasBeenSet() const
bool ProtectedResourceHasBeenSet() const
void SetMalwareProtectionPlanId(Aws::String &&value)
bool MalwareProtectionPlanIdHasBeenSet() const
void SetProtectedResource(UpdateProtectedResource &&value)
AWS_GUARDDUTY_API UpdateMalwareProtectionPlanRequest()
UpdateMalwareProtectionPlanRequest & WithRole(const Aws::String &value)
void SetMalwareProtectionPlanId(const char *value)
void SetProtectedResource(const UpdateProtectedResource &value)
void SetActions(const MalwareProtectionPlanActions &value)
UpdateMalwareProtectionPlanRequest & WithProtectedResource(const UpdateProtectedResource &value)
void SetRole(Aws::String &&value)
UpdateMalwareProtectionPlanRequest & WithProtectedResource(UpdateProtectedResource &&value)
void SetRole(const Aws::String &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
void SetRole(const char *value)
UpdateMalwareProtectionPlanRequest & WithRole(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String