7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/guardduty/GuardDuty_EXPORTS.h>
13#include <aws/guardduty/model/CreateProtectedResource.h>
14#include <aws/guardduty/model/MalwareProtectionPlanActions.h>
15#include <aws/guardduty/model/MalwareProtectionPlanStatus.h>
16#include <aws/guardduty/model/MalwareProtectionPlanStatusReason.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
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));
79 template <
typename ProtectedResourceT = CreateProtectedResource>
81 m_protectedResourceHasBeenSet =
true;
82 m_protectedResource = std::forward<ProtectedResourceT>(value);
84 template <
typename ProtectedResourceT = CreateProtectedResource>
97 template <
typename ActionsT = MalwareProtectionPlanActions>
99 m_actionsHasBeenSet =
true;
100 m_actions = std::forward<ActionsT>(value);
102 template <
typename ActionsT = MalwareProtectionPlanActions>
114 template <
typename CreatedAtT = Aws::Utils::DateTime>
116 m_createdAtHasBeenSet =
true;
117 m_createdAt = std::forward<CreatedAtT>(value);
119 template <
typename CreatedAtT = Aws::Utils::DateTime>
132 m_statusHasBeenSet =
true;
147 template <
typename StatusReasonsT = Aws::Vector<MalwareProtectionPlanStatusReason>>
149 m_statusReasonsHasBeenSet =
true;
150 m_statusReasons = std::forward<StatusReasonsT>(value);
152 template <
typename StatusReasonsT = Aws::Vector<MalwareProtectionPlanStatusReason>>
157 template <
typename StatusReasonsT = MalwareProtectionPlanStatusReason>
159 m_statusReasonsHasBeenSet =
true;
160 m_statusReasons.emplace_back(std::forward<StatusReasonsT>(value));
170 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 m_tagsHasBeenSet =
true;
173 m_tags = std::forward<TagsT>(value);
175 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 SetTags(std::forward<TagsT>(value));
180 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
182 m_tagsHasBeenSet =
true;
183 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
191 template <
typename RequestIdT = Aws::String>
193 m_requestIdHasBeenSet =
true;
194 m_requestId = std::forward<RequestIdT>(value);
196 template <
typename RequestIdT = Aws::String>
223 bool m_arnHasBeenSet =
false;
224 bool m_roleHasBeenSet =
false;
225 bool m_protectedResourceHasBeenSet =
false;
226 bool m_actionsHasBeenSet =
false;
227 bool m_createdAtHasBeenSet =
false;
228 bool m_statusHasBeenSet =
false;
229 bool m_statusReasonsHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
231 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::Http::HttpResponseCode GetHttpResponseCode() const
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