AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAuditMitigationActionsTaskResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AuditMitigationActionsTaskStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iot/model/AuditMitigationActionsTaskTarget.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/iot/model/TaskStatisticsForAuditCheck.h>
15#include <aws/iot/model/MitigationAction.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace IoT
31{
32namespace Model
33{
35 {
36 public:
40
41
43
46 inline const AuditMitigationActionsTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
47 inline void SetTaskStatus(const AuditMitigationActionsTaskStatus& value) { m_taskStatus = value; }
48 inline void SetTaskStatus(AuditMitigationActionsTaskStatus&& value) { m_taskStatus = std::move(value); }
52
54
57 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
58 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
59 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
63
65
68 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
69 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
70 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
72 inline DescribeAuditMitigationActionsTaskResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
74
76
80 inline const Aws::Map<Aws::String, TaskStatisticsForAuditCheck>& GetTaskStatistics() const{ return m_taskStatistics; }
81 inline void SetTaskStatistics(const Aws::Map<Aws::String, TaskStatisticsForAuditCheck>& value) { m_taskStatistics = value; }
82 inline void SetTaskStatistics(Aws::Map<Aws::String, TaskStatisticsForAuditCheck>&& value) { m_taskStatistics = std::move(value); }
85 inline DescribeAuditMitigationActionsTaskResult& AddTaskStatistics(const Aws::String& key, const TaskStatisticsForAuditCheck& value) { m_taskStatistics.emplace(key, value); return *this; }
86 inline DescribeAuditMitigationActionsTaskResult& AddTaskStatistics(Aws::String&& key, const TaskStatisticsForAuditCheck& value) { m_taskStatistics.emplace(std::move(key), value); return *this; }
87 inline DescribeAuditMitigationActionsTaskResult& AddTaskStatistics(const Aws::String& key, TaskStatisticsForAuditCheck&& value) { m_taskStatistics.emplace(key, std::move(value)); return *this; }
88 inline DescribeAuditMitigationActionsTaskResult& AddTaskStatistics(Aws::String&& key, TaskStatisticsForAuditCheck&& value) { m_taskStatistics.emplace(std::move(key), std::move(value)); return *this; }
89 inline DescribeAuditMitigationActionsTaskResult& AddTaskStatistics(const char* key, TaskStatisticsForAuditCheck&& value) { m_taskStatistics.emplace(key, std::move(value)); return *this; }
90 inline DescribeAuditMitigationActionsTaskResult& AddTaskStatistics(const char* key, const TaskStatisticsForAuditCheck& value) { m_taskStatistics.emplace(key, value); return *this; }
92
94
98 inline const AuditMitigationActionsTaskTarget& GetTarget() const{ return m_target; }
99 inline void SetTarget(const AuditMitigationActionsTaskTarget& value) { m_target = value; }
100 inline void SetTarget(AuditMitigationActionsTaskTarget&& value) { m_target = std::move(value); }
104
106
110 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAuditCheckToActionsMapping() const{ return m_auditCheckToActionsMapping; }
111 inline void SetAuditCheckToActionsMapping(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_auditCheckToActionsMapping = value; }
112 inline void SetAuditCheckToActionsMapping(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_auditCheckToActionsMapping = std::move(value); }
115 inline DescribeAuditMitigationActionsTaskResult& AddAuditCheckToActionsMapping(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToActionsMapping.emplace(key, value); return *this; }
116 inline DescribeAuditMitigationActionsTaskResult& AddAuditCheckToActionsMapping(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToActionsMapping.emplace(std::move(key), value); return *this; }
117 inline DescribeAuditMitigationActionsTaskResult& AddAuditCheckToActionsMapping(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_auditCheckToActionsMapping.emplace(key, std::move(value)); return *this; }
118 inline DescribeAuditMitigationActionsTaskResult& AddAuditCheckToActionsMapping(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_auditCheckToActionsMapping.emplace(std::move(key), std::move(value)); return *this; }
119 inline DescribeAuditMitigationActionsTaskResult& AddAuditCheckToActionsMapping(const char* key, Aws::Vector<Aws::String>&& value) { m_auditCheckToActionsMapping.emplace(key, std::move(value)); return *this; }
120 inline DescribeAuditMitigationActionsTaskResult& AddAuditCheckToActionsMapping(const char* key, const Aws::Vector<Aws::String>& value) { m_auditCheckToActionsMapping.emplace(key, value); return *this; }
122
124
128 inline const Aws::Vector<MitigationAction>& GetActionsDefinition() const{ return m_actionsDefinition; }
129 inline void SetActionsDefinition(const Aws::Vector<MitigationAction>& value) { m_actionsDefinition = value; }
130 inline void SetActionsDefinition(Aws::Vector<MitigationAction>&& value) { m_actionsDefinition = std::move(value); }
133 inline DescribeAuditMitigationActionsTaskResult& AddActionsDefinition(const MitigationAction& value) { m_actionsDefinition.push_back(value); return *this; }
134 inline DescribeAuditMitigationActionsTaskResult& AddActionsDefinition(MitigationAction&& value) { m_actionsDefinition.push_back(std::move(value)); return *this; }
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
144 inline DescribeAuditMitigationActionsTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline DescribeAuditMitigationActionsTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
150
151 Aws::Utils::DateTime m_startTime;
152
153 Aws::Utils::DateTime m_endTime;
154
156
158
159 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_auditCheckToActionsMapping;
160
161 Aws::Vector<MitigationAction> m_actionsDefinition;
162
163 Aws::String m_requestId;
164 };
165
166} // namespace Model
167} // namespace IoT
168} // namespace Aws
DescribeAuditMitigationActionsTaskResult & WithActionsDefinition(const Aws::Vector< MitigationAction > &value)
DescribeAuditMitigationActionsTaskResult & AddTaskStatistics(Aws::String &&key, const TaskStatisticsForAuditCheck &value)
DescribeAuditMitigationActionsTaskResult & WithAuditCheckToActionsMapping(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
DescribeAuditMitigationActionsTaskResult & WithTarget(const AuditMitigationActionsTaskTarget &value)
DescribeAuditMitigationActionsTaskResult & AddAuditCheckToActionsMapping(Aws::String &&key, Aws::Vector< Aws::String > &&value)
DescribeAuditMitigationActionsTaskResult & AddAuditCheckToActionsMapping(const Aws::String &key, Aws::Vector< Aws::String > &&value)
DescribeAuditMitigationActionsTaskResult & WithStartTime(const Aws::Utils::DateTime &value)
DescribeAuditMitigationActionsTaskResult & WithRequestId(Aws::String &&value)
void SetTaskStatistics(const Aws::Map< Aws::String, TaskStatisticsForAuditCheck > &value)
DescribeAuditMitigationActionsTaskResult & WithActionsDefinition(Aws::Vector< MitigationAction > &&value)
DescribeAuditMitigationActionsTaskResult & AddActionsDefinition(MitigationAction &&value)
const Aws::Map< Aws::String, TaskStatisticsForAuditCheck > & GetTaskStatistics() const
void SetAuditCheckToActionsMapping(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
DescribeAuditMitigationActionsTaskResult & WithTaskStatistics(const Aws::Map< Aws::String, TaskStatisticsForAuditCheck > &value)
void SetAuditCheckToActionsMapping(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
DescribeAuditMitigationActionsTaskResult & AddTaskStatistics(const Aws::String &key, const TaskStatisticsForAuditCheck &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAuditCheckToActionsMapping() const
DescribeAuditMitigationActionsTaskResult & AddTaskStatistics(const char *key, const TaskStatisticsForAuditCheck &value)
DescribeAuditMitigationActionsTaskResult & WithEndTime(const Aws::Utils::DateTime &value)
DescribeAuditMitigationActionsTaskResult & AddAuditCheckToActionsMapping(const char *key, const Aws::Vector< Aws::String > &value)
AWS_IOT_API DescribeAuditMitigationActionsTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAuditMitigationActionsTaskResult & WithAuditCheckToActionsMapping(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetTaskStatistics(Aws::Map< Aws::String, TaskStatisticsForAuditCheck > &&value)
AWS_IOT_API DescribeAuditMitigationActionsTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAuditMitigationActionsTaskResult & WithEndTime(Aws::Utils::DateTime &&value)
DescribeAuditMitigationActionsTaskResult & AddTaskStatistics(Aws::String &&key, TaskStatisticsForAuditCheck &&value)
DescribeAuditMitigationActionsTaskResult & AddTaskStatistics(const char *key, TaskStatisticsForAuditCheck &&value)
DescribeAuditMitigationActionsTaskResult & WithTaskStatus(AuditMitigationActionsTaskStatus &&value)
DescribeAuditMitigationActionsTaskResult & AddAuditCheckToActionsMapping(const Aws::String &key, const Aws::Vector< Aws::String > &value)
DescribeAuditMitigationActionsTaskResult & WithRequestId(const Aws::String &value)
DescribeAuditMitigationActionsTaskResult & WithTaskStatus(const AuditMitigationActionsTaskStatus &value)
DescribeAuditMitigationActionsTaskResult & WithTaskStatistics(Aws::Map< Aws::String, TaskStatisticsForAuditCheck > &&value)
DescribeAuditMitigationActionsTaskResult & AddAuditCheckToActionsMapping(Aws::String &&key, const Aws::Vector< Aws::String > &value)
DescribeAuditMitigationActionsTaskResult & AddTaskStatistics(const Aws::String &key, TaskStatisticsForAuditCheck &&value)
DescribeAuditMitigationActionsTaskResult & WithTarget(AuditMitigationActionsTaskTarget &&value)
DescribeAuditMitigationActionsTaskResult & AddActionsDefinition(const MitigationAction &value)
DescribeAuditMitigationActionsTaskResult & WithStartTime(Aws::Utils::DateTime &&value)
DescribeAuditMitigationActionsTaskResult & WithRequestId(const char *value)
DescribeAuditMitigationActionsTaskResult & AddAuditCheckToActionsMapping(const char *key, Aws::Vector< Aws::String > &&value)
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