7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/CreateProtectedResource.h>
10#include <aws/guardduty/model/MalwareProtectionPlanActions.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/guardduty/model/MalwareProtectionPlanStatus.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/guardduty/model/MalwareProtectionPlanStatusReason.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
47 template<
typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
49 template<
typename ArnT = Aws::String>
59 template<
typename RoleT = Aws::String>
60 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
61 template<
typename RoleT = Aws::String>
72 template<
typename ProtectedResourceT = CreateProtectedResource>
73 void SetProtectedResource(ProtectedResourceT&& value) { m_protectedResourceHasBeenSet =
true; m_protectedResource = std::forward<ProtectedResourceT>(value); }
74 template<
typename ProtectedResourceT = CreateProtectedResource>
84 template<
typename ActionsT = MalwareProtectionPlanActions>
85 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
86 template<
typename ActionsT = MalwareProtectionPlanActions>
95 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<
typename CreatedAtT = Aws::Utils::DateTime>
116 template<
typename StatusReasonsT = Aws::Vector<MalwareProtectionPlanStatusReason>>
117 void SetStatusReasons(StatusReasonsT&& value) { m_statusReasonsHasBeenSet =
true; m_statusReasons = std::forward<StatusReasonsT>(value); }
118 template<
typename StatusReasonsT = Aws::Vector<MalwareProtectionPlanStatusReason>>
120 template<
typename StatusReasonsT = MalwareProtectionPlanStatusReason>
129 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
131 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
135 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
142 template<
typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
144 template<
typename RequestIdT = Aws::String>
150 bool m_arnHasBeenSet =
false;
153 bool m_roleHasBeenSet =
false;
156 bool m_protectedResourceHasBeenSet =
false;
159 bool m_actionsHasBeenSet =
false;
162 bool m_createdAtHasBeenSet =
false;
165 bool m_statusHasBeenSet =
false;
168 bool m_statusReasonsHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
174 bool m_requestIdHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetMalwareProtectionPlanResult & WithRole(RoleT &&value)
void SetStatusReasons(StatusReasonsT &&value)
const MalwareProtectionPlanActions & GetActions() const
const CreateProtectedResource & GetProtectedResource() const
GetMalwareProtectionPlanResult & WithArn(ArnT &&value)
GetMalwareProtectionPlanResult & WithProtectedResource(ProtectedResourceT &&value)
AWS_GUARDDUTY_API GetMalwareProtectionPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MalwareProtectionPlanStatus GetStatus() const
const Aws::Vector< MalwareProtectionPlanStatusReason > & GetStatusReasons() const
void SetRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetMalwareProtectionPlanResult & WithTags(TagsT &&value)
GetMalwareProtectionPlanResult & WithStatusReasons(StatusReasonsT &&value)
const Aws::String & GetRole() const
void SetArn(ArnT &&value)
void SetStatus(MalwareProtectionPlanStatus value)
AWS_GUARDDUTY_API GetMalwareProtectionPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMalwareProtectionPlanResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetMalwareProtectionPlanResult & WithActions(ActionsT &&value)
AWS_GUARDDUTY_API GetMalwareProtectionPlanResult()=default
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetRequestId() const
void SetProtectedResource(ProtectedResourceT &&value)
GetMalwareProtectionPlanResult & WithRequestId(RequestIdT &&value)
GetMalwareProtectionPlanResult & WithCreatedAt(CreatedAtT &&value)
GetMalwareProtectionPlanResult & AddStatusReasons(StatusReasonsT &&value)
const Aws::String & GetArn() const
GetMalwareProtectionPlanResult & WithStatus(MalwareProtectionPlanStatus value)
void SetActions(ActionsT &&value)
void SetRole(RoleT &&value)
MalwareProtectionPlanStatus
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue