7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/GuardDutyRequest.h>
11#include <aws/guardduty/GuardDuty_EXPORTS.h>
12#include <aws/guardduty/model/CreateProtectedResource.h>
13#include <aws/guardduty/model/MalwareProtectionPlanActions.h>
41 template <
typename ClientTokenT = Aws::String>
43 m_clientTokenHasBeenSet =
true;
44 m_clientToken = std::forward<ClientTokenT>(value);
46 template <
typename ClientTokenT = Aws::String>
60 template <
typename RoleT = Aws::String>
62 m_roleHasBeenSet =
true;
63 m_role = std::forward<RoleT>(value);
65 template <
typename RoleT = Aws::String>
67 SetRole(std::forward<RoleT>(value));
80 template <
typename ProtectedResourceT = CreateProtectedResource>
82 m_protectedResourceHasBeenSet =
true;
83 m_protectedResource = std::forward<ProtectedResourceT>(value);
85 template <
typename ProtectedResourceT = CreateProtectedResource>
99 template <
typename ActionsT = MalwareProtectionPlanActions>
101 m_actionsHasBeenSet =
true;
102 m_actions = std::forward<ActionsT>(value);
104 template <
typename ActionsT = MalwareProtectionPlanActions>
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 m_tagsHasBeenSet =
true;
120 m_tags = std::forward<TagsT>(value);
122 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 SetTags(std::forward<TagsT>(value));
127 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true;
130 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
139 CreateProtectedResource m_protectedResource;
141 MalwareProtectionPlanActions m_actions;
144 bool m_clientTokenHasBeenSet =
true;
145 bool m_roleHasBeenSet =
false;
146 bool m_protectedResourceHasBeenSet =
false;
147 bool m_actionsHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
const MalwareProtectionPlanActions & GetActions() const
AWS_GUARDDUTY_API CreateMalwareProtectionPlanRequest()=default
CreateMalwareProtectionPlanRequest & WithClientToken(ClientTokenT &&value)
const CreateProtectedResource & GetProtectedResource() const
void SetClientToken(ClientTokenT &&value)
bool RoleHasBeenSet() const
void SetActions(ActionsT &&value)
const Aws::String & GetRole() const
bool ActionsHasBeenSet() const
CreateMalwareProtectionPlanRequest & WithProtectedResource(ProtectedResourceT &&value)
CreateMalwareProtectionPlanRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetRole(RoleT &&value)
void SetProtectedResource(ProtectedResourceT &&value)
CreateMalwareProtectionPlanRequest & WithTags(TagsT &&value)
CreateMalwareProtectionPlanRequest & WithActions(ActionsT &&value)
CreateMalwareProtectionPlanRequest & WithRole(RoleT &&value)
void SetTags(TagsT &&value)
bool ClientTokenHasBeenSet() const
bool TagsHasBeenSet() const
bool ProtectedResourceHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
static Aws::Utils::UUID PseudoRandomUUID()
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