AWS SDK for C++  1.9.130
AWS SDK for C++
AuditMitigationActionsTaskTarget.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetAuditTaskId() const{ return m_auditTaskId; }
49 
54  inline bool AuditTaskIdHasBeenSet() const { return m_auditTaskIdHasBeenSet; }
55 
60  inline void SetAuditTaskId(const Aws::String& value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId = value; }
61 
66  inline void SetAuditTaskId(Aws::String&& value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId = std::move(value); }
67 
72  inline void SetAuditTaskId(const char* value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId.assign(value); }
73 
78  inline AuditMitigationActionsTaskTarget& WithAuditTaskId(const Aws::String& value) { SetAuditTaskId(value); return *this;}
79 
84  inline AuditMitigationActionsTaskTarget& WithAuditTaskId(Aws::String&& value) { SetAuditTaskId(std::move(value)); return *this;}
85 
90  inline AuditMitigationActionsTaskTarget& WithAuditTaskId(const char* value) { SetAuditTaskId(value); return *this;}
91 
92 
97  inline const Aws::Vector<Aws::String>& GetFindingIds() const{ return m_findingIds; }
98 
103  inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
104 
109  inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIdsHasBeenSet = true; m_findingIds = value; }
110 
115  inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::move(value); }
116 
121  inline AuditMitigationActionsTaskTarget& WithFindingIds(const Aws::Vector<Aws::String>& value) { SetFindingIds(value); return *this;}
122 
127  inline AuditMitigationActionsTaskTarget& WithFindingIds(Aws::Vector<Aws::String>&& value) { SetFindingIds(std::move(value)); return *this;}
128 
133  inline AuditMitigationActionsTaskTarget& AddFindingIds(const Aws::String& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
134 
139  inline AuditMitigationActionsTaskTarget& AddFindingIds(Aws::String&& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(std::move(value)); return *this; }
140 
145  inline AuditMitigationActionsTaskTarget& AddFindingIds(const char* value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
146 
147 
153  inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAuditCheckToReasonCodeFilter() const{ return m_auditCheckToReasonCodeFilter; }
154 
160  inline bool AuditCheckToReasonCodeFilterHasBeenSet() const { return m_auditCheckToReasonCodeFilterHasBeenSet; }
161 
167  inline void SetAuditCheckToReasonCodeFilter(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter = value; }
168 
174  inline void SetAuditCheckToReasonCodeFilter(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter = std::move(value); }
175 
181  inline AuditMitigationActionsTaskTarget& WithAuditCheckToReasonCodeFilter(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { SetAuditCheckToReasonCodeFilter(value); return *this;}
182 
188  inline AuditMitigationActionsTaskTarget& WithAuditCheckToReasonCodeFilter(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetAuditCheckToReasonCodeFilter(std::move(value)); return *this;}
189 
195  inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, value); return *this; }
196 
202  inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(std::move(key), value); return *this; }
203 
209  inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, std::move(value)); return *this; }
210 
216  inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(std::move(key), std::move(value)); return *this; }
217 
223  inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const char* key, Aws::Vector<Aws::String>&& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, std::move(value)); return *this; }
224 
230  inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const char* key, const Aws::Vector<Aws::String>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, value); return *this; }
231 
232  private:
233 
234  Aws::String m_auditTaskId;
235  bool m_auditTaskIdHasBeenSet;
236 
237  Aws::Vector<Aws::String> m_findingIds;
238  bool m_findingIdsHasBeenSet;
239 
240  Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_auditCheckToReasonCodeFilter;
241  bool m_auditCheckToReasonCodeFilterHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace IoT
246 } // namespace Aws
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddFindingIds
AuditMitigationActionsTaskTarget & AddFindingIds(Aws::String &&value)
Definition: AuditMitigationActionsTaskTarget.h:139
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AuditMitigationActionsTaskTarget
AuditMitigationActionsTaskTarget()
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const char *key, Aws::Vector< Aws::String > &&value)
Definition: AuditMitigationActionsTaskTarget.h:223
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const char *key, const Aws::Vector< Aws::String > &value)
Definition: AuditMitigationActionsTaskTarget.h:230
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddFindingIds
AuditMitigationActionsTaskTarget & AddFindingIds(const char *value)
Definition: AuditMitigationActionsTaskTarget.h:145
Aws::IoT::Model::AuditMitigationActionsTaskTarget::SetAuditCheckToReasonCodeFilter
void SetAuditCheckToReasonCodeFilter(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: AuditMitigationActionsTaskTarget.h:174
Aws::IoT::Model::AuditMitigationActionsTaskTarget::GetFindingIds
const Aws::Vector< Aws::String > & GetFindingIds() const
Definition: AuditMitigationActionsTaskTarget.h:97
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(Aws::String &&key, Aws::Vector< Aws::String > &&value)
Definition: AuditMitigationActionsTaskTarget.h:216
Aws::IoT::Model::AuditMitigationActionsTaskTarget::SetFindingIds
void SetFindingIds(const Aws::Vector< Aws::String > &value)
Definition: AuditMitigationActionsTaskTarget.h:109
Aws::IoT::Model::AuditMitigationActionsTaskTarget::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::AuditMitigationActionsTaskTarget
Definition: AuditMitigationActionsTaskTarget.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::AuditMitigationActionsTaskTarget::WithAuditTaskId
AuditMitigationActionsTaskTarget & WithAuditTaskId(const Aws::String &value)
Definition: AuditMitigationActionsTaskTarget.h:78
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AuditMitigationActionsTaskTarget
AuditMitigationActionsTaskTarget(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Definition: AuditMitigationActionsTaskTarget.h:202
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddFindingIds
AuditMitigationActionsTaskTarget & AddFindingIds(const Aws::String &value)
Definition: AuditMitigationActionsTaskTarget.h:133
Aws::IoT::Model::AuditMitigationActionsTaskTarget::SetAuditTaskId
void SetAuditTaskId(const Aws::String &value)
Definition: AuditMitigationActionsTaskTarget.h:60
Aws::IoT::Model::AuditMitigationActionsTaskTarget::FindingIdsHasBeenSet
bool FindingIdsHasBeenSet() const
Definition: AuditMitigationActionsTaskTarget.h:103
Aws::IoT::Model::AuditMitigationActionsTaskTarget::GetAuditCheckToReasonCodeFilter
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAuditCheckToReasonCodeFilter() const
Definition: AuditMitigationActionsTaskTarget.h:153
Aws::IoT::Model::AuditMitigationActionsTaskTarget::SetFindingIds
void SetFindingIds(Aws::Vector< Aws::String > &&value)
Definition: AuditMitigationActionsTaskTarget.h:115
Aws::IoT::Model::AuditMitigationActionsTaskTarget::operator=
AuditMitigationActionsTaskTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::AuditMitigationActionsTaskTarget::WithFindingIds
AuditMitigationActionsTaskTarget & WithFindingIds(const Aws::Vector< Aws::String > &value)
Definition: AuditMitigationActionsTaskTarget.h:121
Aws::IoT::Model::AuditMitigationActionsTaskTarget::SetAuditTaskId
void SetAuditTaskId(Aws::String &&value)
Definition: AuditMitigationActionsTaskTarget.h:66
Aws::IoT::Model::AuditMitigationActionsTaskTarget::WithAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & WithAuditCheckToReasonCodeFilter(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: AuditMitigationActionsTaskTarget.h:181
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::AuditMitigationActionsTaskTarget::WithAuditTaskId
AuditMitigationActionsTaskTarget & WithAuditTaskId(Aws::String &&value)
Definition: AuditMitigationActionsTaskTarget.h:84
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AuditCheckToReasonCodeFilterHasBeenSet
bool AuditCheckToReasonCodeFilterHasBeenSet() const
Definition: AuditMitigationActionsTaskTarget.h:160
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const Aws::String &key, Aws::Vector< Aws::String > &&value)
Definition: AuditMitigationActionsTaskTarget.h:209
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AuditTaskIdHasBeenSet
bool AuditTaskIdHasBeenSet() const
Definition: AuditMitigationActionsTaskTarget.h:54
Aws::IoT::Model::AuditMitigationActionsTaskTarget::WithAuditTaskId
AuditMitigationActionsTaskTarget & WithAuditTaskId(const char *value)
Definition: AuditMitigationActionsTaskTarget.h:90
Aws::IoT::Model::AuditMitigationActionsTaskTarget::SetAuditTaskId
void SetAuditTaskId(const char *value)
Definition: AuditMitigationActionsTaskTarget.h:72
Aws::IoT::Model::AuditMitigationActionsTaskTarget::WithFindingIds
AuditMitigationActionsTaskTarget & WithFindingIds(Aws::Vector< Aws::String > &&value)
Definition: AuditMitigationActionsTaskTarget.h:127
Aws
Definition: AccessManagementClient.h:15
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::AuditMitigationActionsTaskTarget::SetAuditCheckToReasonCodeFilter
void SetAuditCheckToReasonCodeFilter(const Aws::Map< Aws::String, Aws::Vector< Aws::String >> &value)
Definition: AuditMitigationActionsTaskTarget.h:167
Aws::IoT::Model::AuditMitigationActionsTaskTarget::GetAuditTaskId
const Aws::String & GetAuditTaskId() const
Definition: AuditMitigationActionsTaskTarget.h:48
AWSMap.h
Aws::IoT::Model::AuditMitigationActionsTaskTarget::WithAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & WithAuditCheckToReasonCodeFilter(Aws::Map< Aws::String, Aws::Vector< Aws::String >> &&value)
Definition: AuditMitigationActionsTaskTarget.h:188
Aws::IoT::Model::AuditMitigationActionsTaskTarget::AddAuditCheckToReasonCodeFilter
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const Aws::String &key, const Aws::Vector< Aws::String > &value)
Definition: AuditMitigationActionsTaskTarget.h:195
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h