AWS SDK for C++  1.9.129
AWS SDK for C++
DetectMitigationActionsTaskTarget.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::Vector<Aws::String>& GetViolationIds() const{ return m_violationIds; }
45 
49  inline bool ViolationIdsHasBeenSet() const { return m_violationIdsHasBeenSet; }
50 
54  inline void SetViolationIds(const Aws::Vector<Aws::String>& value) { m_violationIdsHasBeenSet = true; m_violationIds = value; }
55 
59  inline void SetViolationIds(Aws::Vector<Aws::String>&& value) { m_violationIdsHasBeenSet = true; m_violationIds = std::move(value); }
60 
64  inline DetectMitigationActionsTaskTarget& WithViolationIds(const Aws::Vector<Aws::String>& value) { SetViolationIds(value); return *this;}
65 
69  inline DetectMitigationActionsTaskTarget& WithViolationIds(Aws::Vector<Aws::String>&& value) { SetViolationIds(std::move(value)); return *this;}
70 
74  inline DetectMitigationActionsTaskTarget& AddViolationIds(const Aws::String& value) { m_violationIdsHasBeenSet = true; m_violationIds.push_back(value); return *this; }
75 
79  inline DetectMitigationActionsTaskTarget& AddViolationIds(Aws::String&& value) { m_violationIdsHasBeenSet = true; m_violationIds.push_back(std::move(value)); return *this; }
80 
84  inline DetectMitigationActionsTaskTarget& AddViolationIds(const char* value) { m_violationIdsHasBeenSet = true; m_violationIds.push_back(value); return *this; }
85 
86 
90  inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
91 
95  inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
96 
100  inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = value; }
101 
105  inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::move(value); }
106 
110  inline void SetSecurityProfileName(const char* value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName.assign(value); }
111 
115  inline DetectMitigationActionsTaskTarget& WithSecurityProfileName(const Aws::String& value) { SetSecurityProfileName(value); return *this;}
116 
120  inline DetectMitigationActionsTaskTarget& WithSecurityProfileName(Aws::String&& value) { SetSecurityProfileName(std::move(value)); return *this;}
121 
125  inline DetectMitigationActionsTaskTarget& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
126 
127 
131  inline const Aws::String& GetBehaviorName() const{ return m_behaviorName; }
132 
136  inline bool BehaviorNameHasBeenSet() const { return m_behaviorNameHasBeenSet; }
137 
141  inline void SetBehaviorName(const Aws::String& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = value; }
142 
146  inline void SetBehaviorName(Aws::String&& value) { m_behaviorNameHasBeenSet = true; m_behaviorName = std::move(value); }
147 
151  inline void SetBehaviorName(const char* value) { m_behaviorNameHasBeenSet = true; m_behaviorName.assign(value); }
152 
156  inline DetectMitigationActionsTaskTarget& WithBehaviorName(const Aws::String& value) { SetBehaviorName(value); return *this;}
157 
161  inline DetectMitigationActionsTaskTarget& WithBehaviorName(Aws::String&& value) { SetBehaviorName(std::move(value)); return *this;}
162 
166  inline DetectMitigationActionsTaskTarget& WithBehaviorName(const char* value) { SetBehaviorName(value); return *this;}
167 
168  private:
169 
170  Aws::Vector<Aws::String> m_violationIds;
171  bool m_violationIdsHasBeenSet;
172 
173  Aws::String m_securityProfileName;
174  bool m_securityProfileNameHasBeenSet;
175 
176  Aws::String m_behaviorName;
177  bool m_behaviorNameHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace IoT
182 } // namespace Aws
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithViolationIds
DetectMitigationActionsTaskTarget & WithViolationIds(const Aws::Vector< Aws::String > &value)
Definition: DetectMitigationActionsTaskTarget.h:64
Aws::IoT::Model::DetectMitigationActionsTaskTarget::DetectMitigationActionsTaskTarget
DetectMitigationActionsTaskTarget()
Aws::IoT::Model::DetectMitigationActionsTaskTarget::AddViolationIds
DetectMitigationActionsTaskTarget & AddViolationIds(const char *value)
Definition: DetectMitigationActionsTaskTarget.h:84
Aws::IoT::Model::DetectMitigationActionsTaskTarget::ViolationIdsHasBeenSet
bool ViolationIdsHasBeenSet() const
Definition: DetectMitigationActionsTaskTarget.h:49
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetSecurityProfileName
void SetSecurityProfileName(const Aws::String &value)
Definition: DetectMitigationActionsTaskTarget.h:100
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetBehaviorName
void SetBehaviorName(const char *value)
Definition: DetectMitigationActionsTaskTarget.h:151
Aws::IoT::Model::DetectMitigationActionsTaskTarget
Definition: DetectMitigationActionsTaskTarget.h:33
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithSecurityProfileName
DetectMitigationActionsTaskTarget & WithSecurityProfileName(const char *value)
Definition: DetectMitigationActionsTaskTarget.h:125
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetViolationIds
void SetViolationIds(Aws::Vector< Aws::String > &&value)
Definition: DetectMitigationActionsTaskTarget.h:59
Aws::IoT::Model::DetectMitigationActionsTaskTarget::DetectMitigationActionsTaskTarget
DetectMitigationActionsTaskTarget(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::DetectMitigationActionsTaskTarget::BehaviorNameHasBeenSet
bool BehaviorNameHasBeenSet() const
Definition: DetectMitigationActionsTaskTarget.h:136
AWSVector.h
Aws::IoT::Model::DetectMitigationActionsTaskTarget::operator=
DetectMitigationActionsTaskTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithBehaviorName
DetectMitigationActionsTaskTarget & WithBehaviorName(Aws::String &&value)
Definition: DetectMitigationActionsTaskTarget.h:161
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetSecurityProfileName
void SetSecurityProfileName(const char *value)
Definition: DetectMitigationActionsTaskTarget.h:110
Aws::IoT::Model::DetectMitigationActionsTaskTarget::GetBehaviorName
const Aws::String & GetBehaviorName() const
Definition: DetectMitigationActionsTaskTarget.h:131
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithSecurityProfileName
DetectMitigationActionsTaskTarget & WithSecurityProfileName(const Aws::String &value)
Definition: DetectMitigationActionsTaskTarget.h:115
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithBehaviorName
DetectMitigationActionsTaskTarget & WithBehaviorName(const Aws::String &value)
Definition: DetectMitigationActionsTaskTarget.h:156
Aws::IoT::Model::DetectMitigationActionsTaskTarget::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithSecurityProfileName
DetectMitigationActionsTaskTarget & WithSecurityProfileName(Aws::String &&value)
Definition: DetectMitigationActionsTaskTarget.h:120
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetBehaviorName
void SetBehaviorName(const Aws::String &value)
Definition: DetectMitigationActionsTaskTarget.h:141
Aws::IoT::Model::DetectMitigationActionsTaskTarget::GetViolationIds
const Aws::Vector< Aws::String > & GetViolationIds() const
Definition: DetectMitigationActionsTaskTarget.h:44
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithBehaviorName
DetectMitigationActionsTaskTarget & WithBehaviorName(const char *value)
Definition: DetectMitigationActionsTaskTarget.h:166
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DetectMitigationActionsTaskTarget::WithViolationIds
DetectMitigationActionsTaskTarget & WithViolationIds(Aws::Vector< Aws::String > &&value)
Definition: DetectMitigationActionsTaskTarget.h:69
Aws::IoT::Model::DetectMitigationActionsTaskTarget::AddViolationIds
DetectMitigationActionsTaskTarget & AddViolationIds(const Aws::String &value)
Definition: DetectMitigationActionsTaskTarget.h:74
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DetectMitigationActionsTaskTarget::GetSecurityProfileName
const Aws::String & GetSecurityProfileName() const
Definition: DetectMitigationActionsTaskTarget.h:90
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetViolationIds
void SetViolationIds(const Aws::Vector< Aws::String > &value)
Definition: DetectMitigationActionsTaskTarget.h:54
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SecurityProfileNameHasBeenSet
bool SecurityProfileNameHasBeenSet() const
Definition: DetectMitigationActionsTaskTarget.h:95
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetBehaviorName
void SetBehaviorName(Aws::String &&value)
Definition: DetectMitigationActionsTaskTarget.h:146
Aws::IoT::Model::DetectMitigationActionsTaskTarget::AddViolationIds
DetectMitigationActionsTaskTarget & AddViolationIds(Aws::String &&value)
Definition: DetectMitigationActionsTaskTarget.h:79
Aws::IoT::Model::DetectMitigationActionsTaskTarget::SetSecurityProfileName
void SetSecurityProfileName(Aws::String &&value)
Definition: DetectMitigationActionsTaskTarget.h:105
IoT_EXPORTS.h