AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DetectMitigationActionsTaskTarget.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOT_API DetectMitigationActionsTaskTarget() = default;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetViolationIds() const { return m_violationIds; }
46 inline bool ViolationIdsHasBeenSet() const { return m_violationIdsHasBeenSet; }
47 template<typename ViolationIdsT = Aws::Vector<Aws::String>>
48 void SetViolationIds(ViolationIdsT&& value) { m_violationIdsHasBeenSet = true; m_violationIds = std::forward<ViolationIdsT>(value); }
49 template<typename ViolationIdsT = Aws::Vector<Aws::String>>
50 DetectMitigationActionsTaskTarget& WithViolationIds(ViolationIdsT&& value) { SetViolationIds(std::forward<ViolationIdsT>(value)); return *this;}
51 template<typename ViolationIdsT = Aws::String>
52 DetectMitigationActionsTaskTarget& AddViolationIds(ViolationIdsT&& value) { m_violationIdsHasBeenSet = true; m_violationIds.emplace_back(std::forward<ViolationIdsT>(value)); return *this; }
54
56
59 inline const Aws::String& GetSecurityProfileName() const { return m_securityProfileName; }
60 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
61 template<typename SecurityProfileNameT = Aws::String>
62 void SetSecurityProfileName(SecurityProfileNameT&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::forward<SecurityProfileNameT>(value); }
63 template<typename SecurityProfileNameT = Aws::String>
64 DetectMitigationActionsTaskTarget& WithSecurityProfileName(SecurityProfileNameT&& value) { SetSecurityProfileName(std::forward<SecurityProfileNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetBehaviorName() const { return m_behaviorName; }
72 inline bool BehaviorNameHasBeenSet() const { return m_behaviorNameHasBeenSet; }
73 template<typename BehaviorNameT = Aws::String>
74 void SetBehaviorName(BehaviorNameT&& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = std::forward<BehaviorNameT>(value); }
75 template<typename BehaviorNameT = Aws::String>
76 DetectMitigationActionsTaskTarget& WithBehaviorName(BehaviorNameT&& value) { SetBehaviorName(std::forward<BehaviorNameT>(value)); return *this;}
78 private:
79
80 Aws::Vector<Aws::String> m_violationIds;
81 bool m_violationIdsHasBeenSet = false;
82
83 Aws::String m_securityProfileName;
84 bool m_securityProfileNameHasBeenSet = false;
85
86 Aws::String m_behaviorName;
87 bool m_behaviorNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoT
92} // namespace Aws
DetectMitigationActionsTaskTarget & WithBehaviorName(BehaviorNameT &&value)
AWS_IOT_API DetectMitigationActionsTaskTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API DetectMitigationActionsTaskTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectMitigationActionsTaskTarget & WithSecurityProfileName(SecurityProfileNameT &&value)
DetectMitigationActionsTaskTarget & AddViolationIds(ViolationIdsT &&value)
DetectMitigationActionsTaskTarget & WithViolationIds(ViolationIdsT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue