AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Aws::Vector<Aws::String>& GetViolationIds() const{ return m_violationIds; }
46 inline bool ViolationIdsHasBeenSet() const { return m_violationIdsHasBeenSet; }
47 inline void SetViolationIds(const Aws::Vector<Aws::String>& value) { m_violationIdsHasBeenSet = true; m_violationIds = value; }
48 inline void SetViolationIds(Aws::Vector<Aws::String>&& value) { m_violationIdsHasBeenSet = true; m_violationIds = std::move(value); }
51 inline DetectMitigationActionsTaskTarget& AddViolationIds(const Aws::String& value) { m_violationIdsHasBeenSet = true; m_violationIds.push_back(value); return *this; }
52 inline DetectMitigationActionsTaskTarget& AddViolationIds(Aws::String&& value) { m_violationIdsHasBeenSet = true; m_violationIds.push_back(std::move(value)); return *this; }
53 inline DetectMitigationActionsTaskTarget& AddViolationIds(const char* value) { m_violationIdsHasBeenSet = true; m_violationIds.push_back(value); return *this; }
55
57
60 inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
61 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
62 inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = value; }
63 inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::move(value); }
64 inline void SetSecurityProfileName(const char* value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName.assign(value); }
67 inline DetectMitigationActionsTaskTarget& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
69
71
74 inline const Aws::String& GetBehaviorName() const{ return m_behaviorName; }
75 inline bool BehaviorNameHasBeenSet() const { return m_behaviorNameHasBeenSet; }
76 inline void SetBehaviorName(const Aws::String& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = value; }
77 inline void SetBehaviorName(Aws::String&& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = std::move(value); }
78 inline void SetBehaviorName(const char* value) { m_behaviorNameHasBeenSet = true; m_behaviorName.assign(value); }
80 inline DetectMitigationActionsTaskTarget& WithBehaviorName(Aws::String&& value) { SetBehaviorName(std::move(value)); return *this;}
81 inline DetectMitigationActionsTaskTarget& WithBehaviorName(const char* value) { SetBehaviorName(value); return *this;}
83 private:
84
85 Aws::Vector<Aws::String> m_violationIds;
86 bool m_violationIdsHasBeenSet = false;
87
88 Aws::String m_securityProfileName;
89 bool m_securityProfileNameHasBeenSet = false;
90
91 Aws::String m_behaviorName;
92 bool m_behaviorNameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace IoT
97} // namespace Aws
DetectMitigationActionsTaskTarget & WithSecurityProfileName(Aws::String &&value)
DetectMitigationActionsTaskTarget & WithBehaviorName(const char *value)
DetectMitigationActionsTaskTarget & WithBehaviorName(Aws::String &&value)
DetectMitigationActionsTaskTarget & WithBehaviorName(const Aws::String &value)
DetectMitigationActionsTaskTarget & AddViolationIds(const Aws::String &value)
AWS_IOT_API DetectMitigationActionsTaskTarget(Aws::Utils::Json::JsonView jsonValue)
DetectMitigationActionsTaskTarget & WithSecurityProfileName(const Aws::String &value)
DetectMitigationActionsTaskTarget & AddViolationIds(const char *value)
AWS_IOT_API DetectMitigationActionsTaskTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectMitigationActionsTaskTarget & WithViolationIds(Aws::Vector< Aws::String > &&value)
void SetViolationIds(const Aws::Vector< Aws::String > &value)
DetectMitigationActionsTaskTarget & WithViolationIds(const Aws::Vector< Aws::String > &value)
DetectMitigationActionsTaskTarget & AddViolationIds(Aws::String &&value)
DetectMitigationActionsTaskTarget & WithSecurityProfileName(const char *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