AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MitigationActionParams.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/UpdateDeviceCertificateParams.h>
9#include <aws/iot/model/UpdateCACertificateParams.h>
10#include <aws/iot/model/AddThingsToThingGroupParams.h>
11#include <aws/iot/model/ReplaceDefaultPolicyVersionParams.h>
12#include <aws/iot/model/EnableIoTLoggingParams.h>
13#include <aws/iot/model/PublishFindingToSnsParams.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
30
39 {
40 public:
45
46
48
52 inline const UpdateDeviceCertificateParams& GetUpdateDeviceCertificateParams() const{ return m_updateDeviceCertificateParams; }
53 inline bool UpdateDeviceCertificateParamsHasBeenSet() const { return m_updateDeviceCertificateParamsHasBeenSet; }
54 inline void SetUpdateDeviceCertificateParams(const UpdateDeviceCertificateParams& value) { m_updateDeviceCertificateParamsHasBeenSet = true; m_updateDeviceCertificateParams = value; }
55 inline void SetUpdateDeviceCertificateParams(UpdateDeviceCertificateParams&& value) { m_updateDeviceCertificateParamsHasBeenSet = true; m_updateDeviceCertificateParams = std::move(value); }
59
61
65 inline const UpdateCACertificateParams& GetUpdateCACertificateParams() const{ return m_updateCACertificateParams; }
66 inline bool UpdateCACertificateParamsHasBeenSet() const { return m_updateCACertificateParamsHasBeenSet; }
67 inline void SetUpdateCACertificateParams(const UpdateCACertificateParams& value) { m_updateCACertificateParamsHasBeenSet = true; m_updateCACertificateParams = value; }
68 inline void SetUpdateCACertificateParams(UpdateCACertificateParams&& value) { m_updateCACertificateParamsHasBeenSet = true; m_updateCACertificateParams = std::move(value); }
72
74
78 inline const AddThingsToThingGroupParams& GetAddThingsToThingGroupParams() const{ return m_addThingsToThingGroupParams; }
79 inline bool AddThingsToThingGroupParamsHasBeenSet() const { return m_addThingsToThingGroupParamsHasBeenSet; }
80 inline void SetAddThingsToThingGroupParams(const AddThingsToThingGroupParams& value) { m_addThingsToThingGroupParamsHasBeenSet = true; m_addThingsToThingGroupParams = value; }
81 inline void SetAddThingsToThingGroupParams(AddThingsToThingGroupParams&& value) { m_addThingsToThingGroupParamsHasBeenSet = true; m_addThingsToThingGroupParams = std::move(value); }
85
87
91 inline const ReplaceDefaultPolicyVersionParams& GetReplaceDefaultPolicyVersionParams() const{ return m_replaceDefaultPolicyVersionParams; }
92 inline bool ReplaceDefaultPolicyVersionParamsHasBeenSet() const { return m_replaceDefaultPolicyVersionParamsHasBeenSet; }
93 inline void SetReplaceDefaultPolicyVersionParams(const ReplaceDefaultPolicyVersionParams& value) { m_replaceDefaultPolicyVersionParamsHasBeenSet = true; m_replaceDefaultPolicyVersionParams = value; }
94 inline void SetReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams&& value) { m_replaceDefaultPolicyVersionParamsHasBeenSet = true; m_replaceDefaultPolicyVersionParams = std::move(value); }
98
100
104 inline const EnableIoTLoggingParams& GetEnableIoTLoggingParams() const{ return m_enableIoTLoggingParams; }
105 inline bool EnableIoTLoggingParamsHasBeenSet() const { return m_enableIoTLoggingParamsHasBeenSet; }
106 inline void SetEnableIoTLoggingParams(const EnableIoTLoggingParams& value) { m_enableIoTLoggingParamsHasBeenSet = true; m_enableIoTLoggingParams = value; }
107 inline void SetEnableIoTLoggingParams(EnableIoTLoggingParams&& value) { m_enableIoTLoggingParamsHasBeenSet = true; m_enableIoTLoggingParams = std::move(value); }
111
113
118 inline const PublishFindingToSnsParams& GetPublishFindingToSnsParams() const{ return m_publishFindingToSnsParams; }
119 inline bool PublishFindingToSnsParamsHasBeenSet() const { return m_publishFindingToSnsParamsHasBeenSet; }
120 inline void SetPublishFindingToSnsParams(const PublishFindingToSnsParams& value) { m_publishFindingToSnsParamsHasBeenSet = true; m_publishFindingToSnsParams = value; }
121 inline void SetPublishFindingToSnsParams(PublishFindingToSnsParams&& value) { m_publishFindingToSnsParamsHasBeenSet = true; m_publishFindingToSnsParams = std::move(value); }
125 private:
126
127 UpdateDeviceCertificateParams m_updateDeviceCertificateParams;
128 bool m_updateDeviceCertificateParamsHasBeenSet = false;
129
130 UpdateCACertificateParams m_updateCACertificateParams;
131 bool m_updateCACertificateParamsHasBeenSet = false;
132
133 AddThingsToThingGroupParams m_addThingsToThingGroupParams;
134 bool m_addThingsToThingGroupParamsHasBeenSet = false;
135
136 ReplaceDefaultPolicyVersionParams m_replaceDefaultPolicyVersionParams;
137 bool m_replaceDefaultPolicyVersionParamsHasBeenSet = false;
138
139 EnableIoTLoggingParams m_enableIoTLoggingParams;
140 bool m_enableIoTLoggingParamsHasBeenSet = false;
141
142 PublishFindingToSnsParams m_publishFindingToSnsParams;
143 bool m_publishFindingToSnsParamsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace IoT
148} // namespace Aws
void SetReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams &&value)
const ReplaceDefaultPolicyVersionParams & GetReplaceDefaultPolicyVersionParams() const
void SetPublishFindingToSnsParams(PublishFindingToSnsParams &&value)
void SetUpdateDeviceCertificateParams(const UpdateDeviceCertificateParams &value)
void SetPublishFindingToSnsParams(const PublishFindingToSnsParams &value)
void SetAddThingsToThingGroupParams(const AddThingsToThingGroupParams &value)
void SetReplaceDefaultPolicyVersionParams(const ReplaceDefaultPolicyVersionParams &value)
MitigationActionParams & WithReplaceDefaultPolicyVersionParams(const ReplaceDefaultPolicyVersionParams &value)
MitigationActionParams & WithUpdateDeviceCertificateParams(const UpdateDeviceCertificateParams &value)
MitigationActionParams & WithUpdateCACertificateParams(UpdateCACertificateParams &&value)
void SetAddThingsToThingGroupParams(AddThingsToThingGroupParams &&value)
void SetEnableIoTLoggingParams(const EnableIoTLoggingParams &value)
MitigationActionParams & WithUpdateCACertificateParams(const UpdateCACertificateParams &value)
AWS_IOT_API MitigationActionParams & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateCACertificateParams(UpdateCACertificateParams &&value)
MitigationActionParams & WithAddThingsToThingGroupParams(AddThingsToThingGroupParams &&value)
MitigationActionParams & WithUpdateDeviceCertificateParams(UpdateDeviceCertificateParams &&value)
MitigationActionParams & WithAddThingsToThingGroupParams(const AddThingsToThingGroupParams &value)
MitigationActionParams & WithEnableIoTLoggingParams(EnableIoTLoggingParams &&value)
AWS_IOT_API MitigationActionParams(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateCACertificateParams(const UpdateCACertificateParams &value)
const AddThingsToThingGroupParams & GetAddThingsToThingGroupParams() const
MitigationActionParams & WithEnableIoTLoggingParams(const EnableIoTLoggingParams &value)
void SetEnableIoTLoggingParams(EnableIoTLoggingParams &&value)
const UpdateDeviceCertificateParams & GetUpdateDeviceCertificateParams() const
void SetUpdateDeviceCertificateParams(UpdateDeviceCertificateParams &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const EnableIoTLoggingParams & GetEnableIoTLoggingParams() const
const UpdateCACertificateParams & GetUpdateCACertificateParams() const
MitigationActionParams & WithReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams &&value)
MitigationActionParams & WithPublishFindingToSnsParams(const PublishFindingToSnsParams &value)
const PublishFindingToSnsParams & GetPublishFindingToSnsParams() const
MitigationActionParams & WithPublishFindingToSnsParams(PublishFindingToSnsParams &&value)
Aws::Utils::Json::JsonValue JsonValue