AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartAuditMitigationActionsTaskRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/AuditMitigationActionsTaskTarget.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace IoT
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartAuditMitigationActionsTask"; }
35
36 AWS_IOT_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetTaskId() const{ return m_taskId; }
45 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
46 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
47 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
48 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
49 inline StartAuditMitigationActionsTaskRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
50 inline StartAuditMitigationActionsTaskRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
51 inline StartAuditMitigationActionsTaskRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
53
55
60 inline const AuditMitigationActionsTaskTarget& GetTarget() const{ return m_target; }
61 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
62 inline void SetTarget(const AuditMitigationActionsTaskTarget& value) { m_targetHasBeenSet = true; m_target = value; }
63 inline void SetTarget(AuditMitigationActionsTaskTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
67
69
73 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAuditCheckToActionsMapping() const{ return m_auditCheckToActionsMapping; }
74 inline bool AuditCheckToActionsMappingHasBeenSet() const { return m_auditCheckToActionsMappingHasBeenSet; }
75 inline void SetAuditCheckToActionsMapping(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping = value; }
76 inline void SetAuditCheckToActionsMapping(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping = std::move(value); }
79 inline StartAuditMitigationActionsTaskRequest& AddAuditCheckToActionsMapping(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping.emplace(key, value); return *this; }
80 inline StartAuditMitigationActionsTaskRequest& AddAuditCheckToActionsMapping(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping.emplace(std::move(key), value); return *this; }
81 inline StartAuditMitigationActionsTaskRequest& AddAuditCheckToActionsMapping(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping.emplace(key, std::move(value)); return *this; }
82 inline StartAuditMitigationActionsTaskRequest& AddAuditCheckToActionsMapping(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping.emplace(std::move(key), std::move(value)); return *this; }
83 inline StartAuditMitigationActionsTaskRequest& AddAuditCheckToActionsMapping(const char* key, Aws::Vector<Aws::String>&& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping.emplace(key, std::move(value)); return *this; }
84 inline StartAuditMitigationActionsTaskRequest& AddAuditCheckToActionsMapping(const char* key, const Aws::Vector<Aws::String>& value) { m_auditCheckToActionsMappingHasBeenSet = true; m_auditCheckToActionsMapping.emplace(key, value); return *this; }
86
88
94 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
95 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
96 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
97 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
98 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
103 private:
104
105 Aws::String m_taskId;
106 bool m_taskIdHasBeenSet = false;
107
109 bool m_targetHasBeenSet = false;
110
111 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_auditCheckToActionsMapping;
112 bool m_auditCheckToActionsMappingHasBeenSet = false;
113
114 Aws::String m_clientRequestToken;
115 bool m_clientRequestTokenHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace IoT
120} // namespace Aws
StartAuditMitigationActionsTaskRequest & AddAuditCheckToActionsMapping(Aws::String &&key, const Aws::Vector< Aws::String > &value)
StartAuditMitigationActionsTaskRequest & WithTarget(AuditMitigationActionsTaskTarget &&value)
StartAuditMitigationActionsTaskRequest & AddAuditCheckToActionsMapping(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAuditCheckToActionsMapping(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
StartAuditMitigationActionsTaskRequest & WithAuditCheckToActionsMapping(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
StartAuditMitigationActionsTaskRequest & WithTaskId(const char *value)
StartAuditMitigationActionsTaskRequest & AddAuditCheckToActionsMapping(const char *key, const Aws::Vector< Aws::String > &value)
StartAuditMitigationActionsTaskRequest & WithAuditCheckToActionsMapping(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAuditCheckToActionsMapping() const
StartAuditMitigationActionsTaskRequest & AddAuditCheckToActionsMapping(const Aws::String &key, const Aws::Vector< Aws::String > &value)
StartAuditMitigationActionsTaskRequest & WithClientRequestToken(Aws::String &&value)
StartAuditMitigationActionsTaskRequest & WithClientRequestToken(const Aws::String &value)
StartAuditMitigationActionsTaskRequest & WithTaskId(Aws::String &&value)
StartAuditMitigationActionsTaskRequest & WithTarget(const AuditMitigationActionsTaskTarget &value)
StartAuditMitigationActionsTaskRequest & AddAuditCheckToActionsMapping(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetAuditCheckToActionsMapping(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
StartAuditMitigationActionsTaskRequest & WithClientRequestToken(const char *value)
StartAuditMitigationActionsTaskRequest & WithTaskId(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
StartAuditMitigationActionsTaskRequest & 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