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;
49 inline void SetArn(
const char* value) { m_arn.assign(value); }
63 inline void SetRole(
const char* value) { m_role.assign(value); }
153 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetMalwareProtectionPlanResult & WithArn(const char *value)
void SetRole(Aws::String &&value)
GetMalwareProtectionPlanResult & AddStatusReasons(MalwareProtectionPlanStatusReason &&value)
GetMalwareProtectionPlanResult & WithRole(const Aws::String &value)
GetMalwareProtectionPlanResult & AddTags(const char *key, const char *value)
GetMalwareProtectionPlanResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetMalwareProtectionPlanResult & AddStatusReasons(const MalwareProtectionPlanStatusReason &value)
const MalwareProtectionPlanActions & GetActions() const
const CreateProtectedResource & GetProtectedResource() const
GetMalwareProtectionPlanResult & WithArn(Aws::String &&value)
GetMalwareProtectionPlanResult & AddTags(const Aws::String &key, const Aws::String &value)
GetMalwareProtectionPlanResult & WithRequestId(Aws::String &&value)
void SetRole(const char *value)
void SetActions(MalwareProtectionPlanActions &&value)
GetMalwareProtectionPlanResult & AddTags(const Aws::String &key, Aws::String &&value)
GetMalwareProtectionPlanResult & WithStatusReasons(Aws::Vector< MalwareProtectionPlanStatusReason > &&value)
GetMalwareProtectionPlanResult & WithRequestId(const Aws::String &value)
AWS_GUARDDUTY_API GetMalwareProtectionPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetMalwareProtectionPlanResult & WithActions(const MalwareProtectionPlanActions &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetMalwareProtectionPlanResult & WithRole(Aws::String &&value)
void SetRequestId(const char *value)
const Aws::Vector< MalwareProtectionPlanStatusReason > & GetStatusReasons() const
GetMalwareProtectionPlanResult & WithStatusReasons(const Aws::Vector< MalwareProtectionPlanStatusReason > &value)
AWS_GUARDDUTY_API GetMalwareProtectionPlanResult()
void SetProtectedResource(const CreateProtectedResource &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRole() const
void SetRole(const Aws::String &value)
GetMalwareProtectionPlanResult & WithStatus(const MalwareProtectionPlanStatus &value)
AWS_GUARDDUTY_API GetMalwareProtectionPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetMalwareProtectionPlanResult & WithActions(MalwareProtectionPlanActions &&value)
GetMalwareProtectionPlanResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatusReasons(const Aws::Vector< MalwareProtectionPlanStatusReason > &value)
void SetArn(Aws::String &&value)
GetMalwareProtectionPlanResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetMalwareProtectionPlanResult & AddTags(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetMalwareProtectionPlanResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const MalwareProtectionPlanStatus &value)
GetMalwareProtectionPlanResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetRequestId() const
GetMalwareProtectionPlanResult & WithArn(const Aws::String &value)
GetMalwareProtectionPlanResult & WithRole(const char *value)
GetMalwareProtectionPlanResult & WithProtectedResource(CreateProtectedResource &&value)
GetMalwareProtectionPlanResult & WithProtectedResource(const CreateProtectedResource &value)
const Aws::String & GetArn() const
void SetActions(const MalwareProtectionPlanActions &value)
void SetProtectedResource(CreateProtectedResource &&value)
void SetStatusReasons(Aws::Vector< MalwareProtectionPlanStatusReason > &&value)
const MalwareProtectionPlanStatus & GetStatus() const
GetMalwareProtectionPlanResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetMalwareProtectionPlanResult & WithStatus(MalwareProtectionPlanStatus &&value)
void SetArn(const char *value)
void SetStatus(MalwareProtectionPlanStatus &&value)
GetMalwareProtectionPlanResult & WithRequestId(const char *value)
GetMalwareProtectionPlanResult & AddTags(Aws::String &&key, const char *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