AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuditMitigationActionsTaskTarget.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
36 {
37 public:
42
43
45
49 inline const Aws::String& GetAuditTaskId() const{ return m_auditTaskId; }
50 inline bool AuditTaskIdHasBeenSet() const { return m_auditTaskIdHasBeenSet; }
51 inline void SetAuditTaskId(const Aws::String& value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId = value; }
52 inline void SetAuditTaskId(Aws::String&& value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId = std::move(value); }
53 inline void SetAuditTaskId(const char* value) { m_auditTaskIdHasBeenSet = true; m_auditTaskId.assign(value); }
54 inline AuditMitigationActionsTaskTarget& WithAuditTaskId(const Aws::String& value) { SetAuditTaskId(value); return *this;}
55 inline AuditMitigationActionsTaskTarget& WithAuditTaskId(Aws::String&& value) { SetAuditTaskId(std::move(value)); return *this;}
56 inline AuditMitigationActionsTaskTarget& WithAuditTaskId(const char* value) { SetAuditTaskId(value); return *this;}
58
60
64 inline const Aws::Vector<Aws::String>& GetFindingIds() const{ return m_findingIds; }
65 inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
66 inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIdsHasBeenSet = true; m_findingIds = value; }
67 inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::move(value); }
70 inline AuditMitigationActionsTaskTarget& AddFindingIds(const Aws::String& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
71 inline AuditMitigationActionsTaskTarget& AddFindingIds(Aws::String&& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(std::move(value)); return *this; }
72 inline AuditMitigationActionsTaskTarget& AddFindingIds(const char* value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
74
76
81 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAuditCheckToReasonCodeFilter() const{ return m_auditCheckToReasonCodeFilter; }
82 inline bool AuditCheckToReasonCodeFilterHasBeenSet() const { return m_auditCheckToReasonCodeFilterHasBeenSet; }
83 inline void SetAuditCheckToReasonCodeFilter(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter = value; }
84 inline void SetAuditCheckToReasonCodeFilter(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter = std::move(value); }
87 inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, value); return *this; }
88 inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(std::move(key), value); return *this; }
89 inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, std::move(value)); return *this; }
90 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; }
91 inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const char* key, Aws::Vector<Aws::String>&& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, std::move(value)); return *this; }
92 inline AuditMitigationActionsTaskTarget& AddAuditCheckToReasonCodeFilter(const char* key, const Aws::Vector<Aws::String>& value) { m_auditCheckToReasonCodeFilterHasBeenSet = true; m_auditCheckToReasonCodeFilter.emplace(key, value); return *this; }
94 private:
95
96 Aws::String m_auditTaskId;
97 bool m_auditTaskIdHasBeenSet = false;
98
99 Aws::Vector<Aws::String> m_findingIds;
100 bool m_findingIdsHasBeenSet = false;
101
102 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_auditCheckToReasonCodeFilter;
103 bool m_auditCheckToReasonCodeFilterHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoT
108} // namespace Aws
AuditMitigationActionsTaskTarget & WithAuditCheckToReasonCodeFilter(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AuditMitigationActionsTaskTarget & AddFindingIds(const char *value)
AWS_IOT_API AuditMitigationActionsTaskTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AuditMitigationActionsTaskTarget & WithFindingIds(const Aws::Vector< Aws::String > &value)
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const Aws::String &key, Aws::Vector< Aws::String > &&value)
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const char *key, Aws::Vector< Aws::String > &&value)
AuditMitigationActionsTaskTarget & WithAuditTaskId(const Aws::String &value)
AuditMitigationActionsTaskTarget & WithAuditTaskId(const char *value)
AuditMitigationActionsTaskTarget & WithAuditTaskId(Aws::String &&value)
AuditMitigationActionsTaskTarget & AddFindingIds(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAuditCheckToReasonCodeFilter() const
AWS_IOT_API AuditMitigationActionsTaskTarget(Aws::Utils::Json::JsonView jsonValue)
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetFindingIds(const Aws::Vector< Aws::String > &value)
AuditMitigationActionsTaskTarget & WithFindingIds(Aws::Vector< Aws::String > &&value)
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const char *key, const Aws::Vector< Aws::String > &value)
void SetAuditCheckToReasonCodeFilter(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetAuditCheckToReasonCodeFilter(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AuditMitigationActionsTaskTarget & WithAuditCheckToReasonCodeFilter(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AuditMitigationActionsTaskTarget & AddFindingIds(const Aws::String &value)
AuditMitigationActionsTaskTarget & AddAuditCheckToReasonCodeFilter(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue