AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
MalwareProtectionPlanActions.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/MalwareProtectionPlanTaggingAction.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
29 public:
30 AWS_GUARDDUTY_API MalwareProtectionPlanActions() = default;
33 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const MalwareProtectionPlanTaggingAction& GetTagging() const { return m_tagging; }
41 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
42 template <typename TaggingT = MalwareProtectionPlanTaggingAction>
43 void SetTagging(TaggingT&& value) {
44 m_taggingHasBeenSet = true;
45 m_tagging = std::forward<TaggingT>(value);
46 }
47 template <typename TaggingT = MalwareProtectionPlanTaggingAction>
49 SetTagging(std::forward<TaggingT>(value));
50 return *this;
51 }
53 private:
55 bool m_taggingHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace GuardDuty
60} // namespace Aws
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const MalwareProtectionPlanTaggingAction & GetTagging() const
AWS_GUARDDUTY_API MalwareProtectionPlanActions(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API MalwareProtectionPlanActions()=default
AWS_GUARDDUTY_API MalwareProtectionPlanActions & operator=(Aws::Utils::Json::JsonView jsonValue)
MalwareProtectionPlanActions & WithTagging(TaggingT &&value)
Aws::Utils::Json::JsonValue JsonValue