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/CreateProtectedResource.h>
11#include <aws/guardduty/model/MalwareProtectionPlanActions.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
47 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
62 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
116 bool m_clientTokenHasBeenSet =
false;
119 bool m_roleHasBeenSet =
false;
122 bool m_protectedResourceHasBeenSet =
false;
125 bool m_actionsHasBeenSet =
false;
128 bool m_tagsHasBeenSet =
false;
CreateMalwareProtectionPlanRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetRole(const Aws::String &value)
CreateMalwareProtectionPlanRequest & AddTags(const char *key, const char *value)
const MalwareProtectionPlanActions & GetActions() const
void SetClientToken(const char *value)
CreateMalwareProtectionPlanRequest & WithRole(const char *value)
CreateMalwareProtectionPlanRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetActions(MalwareProtectionPlanActions &&value)
const CreateProtectedResource & GetProtectedResource() const
bool RoleHasBeenSet() const
CreateMalwareProtectionPlanRequest & AddTags(const char *key, Aws::String &&value)
CreateMalwareProtectionPlanRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetRole() const
bool ActionsHasBeenSet() const
CreateMalwareProtectionPlanRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateMalwareProtectionPlanRequest & WithRole(Aws::String &&value)
void SetRole(const char *value)
CreateMalwareProtectionPlanRequest & WithProtectedResource(CreateProtectedResource &&value)
CreateMalwareProtectionPlanRequest & WithActions(MalwareProtectionPlanActions &&value)
CreateMalwareProtectionPlanRequest & AddTags(Aws::String &&key, const char *value)
void SetActions(const MalwareProtectionPlanActions &value)
void SetProtectedResource(CreateProtectedResource &&value)
CreateMalwareProtectionPlanRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateMalwareProtectionPlanRequest & WithActions(const MalwareProtectionPlanActions &value)
void SetRole(Aws::String &&value)
void SetClientToken(Aws::String &&value)
AWS_GUARDDUTY_API CreateMalwareProtectionPlanRequest()
CreateMalwareProtectionPlanRequest & WithClientToken(const char *value)
CreateMalwareProtectionPlanRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ClientTokenHasBeenSet() const
bool TagsHasBeenSet() const
bool ProtectedResourceHasBeenSet() const
CreateMalwareProtectionPlanRequest & WithProtectedResource(const CreateProtectedResource &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
CreateMalwareProtectionPlanRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
void SetProtectedResource(const CreateProtectedResource &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateMalwareProtectionPlanRequest & WithClientToken(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateMalwareProtectionPlanRequest & WithRole(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String