AWS SDK for C++  1.9.132
AWS SDK for C++
MitigationActionParams.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace IoT
27 {
28 namespace Model
29 {
30 
39  {
40  public:
45 
46 
51  inline const UpdateDeviceCertificateParams& GetUpdateDeviceCertificateParams() const{ return m_updateDeviceCertificateParams; }
52 
57  inline bool UpdateDeviceCertificateParamsHasBeenSet() const { return m_updateDeviceCertificateParamsHasBeenSet; }
58 
63  inline void SetUpdateDeviceCertificateParams(const UpdateDeviceCertificateParams& value) { m_updateDeviceCertificateParamsHasBeenSet = true; m_updateDeviceCertificateParams = value; }
64 
69  inline void SetUpdateDeviceCertificateParams(UpdateDeviceCertificateParams&& value) { m_updateDeviceCertificateParamsHasBeenSet = true; m_updateDeviceCertificateParams = std::move(value); }
70 
75  inline MitigationActionParams& WithUpdateDeviceCertificateParams(const UpdateDeviceCertificateParams& value) { SetUpdateDeviceCertificateParams(value); return *this;}
76 
81  inline MitigationActionParams& WithUpdateDeviceCertificateParams(UpdateDeviceCertificateParams&& value) { SetUpdateDeviceCertificateParams(std::move(value)); return *this;}
82 
83 
88  inline const UpdateCACertificateParams& GetUpdateCACertificateParams() const{ return m_updateCACertificateParams; }
89 
94  inline bool UpdateCACertificateParamsHasBeenSet() const { return m_updateCACertificateParamsHasBeenSet; }
95 
100  inline void SetUpdateCACertificateParams(const UpdateCACertificateParams& value) { m_updateCACertificateParamsHasBeenSet = true; m_updateCACertificateParams = value; }
101 
106  inline void SetUpdateCACertificateParams(UpdateCACertificateParams&& value) { m_updateCACertificateParamsHasBeenSet = true; m_updateCACertificateParams = std::move(value); }
107 
112  inline MitigationActionParams& WithUpdateCACertificateParams(const UpdateCACertificateParams& value) { SetUpdateCACertificateParams(value); return *this;}
113 
118  inline MitigationActionParams& WithUpdateCACertificateParams(UpdateCACertificateParams&& value) { SetUpdateCACertificateParams(std::move(value)); return *this;}
119 
120 
125  inline const AddThingsToThingGroupParams& GetAddThingsToThingGroupParams() const{ return m_addThingsToThingGroupParams; }
126 
131  inline bool AddThingsToThingGroupParamsHasBeenSet() const { return m_addThingsToThingGroupParamsHasBeenSet; }
132 
137  inline void SetAddThingsToThingGroupParams(const AddThingsToThingGroupParams& value) { m_addThingsToThingGroupParamsHasBeenSet = true; m_addThingsToThingGroupParams = value; }
138 
143  inline void SetAddThingsToThingGroupParams(AddThingsToThingGroupParams&& value) { m_addThingsToThingGroupParamsHasBeenSet = true; m_addThingsToThingGroupParams = std::move(value); }
144 
149  inline MitigationActionParams& WithAddThingsToThingGroupParams(const AddThingsToThingGroupParams& value) { SetAddThingsToThingGroupParams(value); return *this;}
150 
155  inline MitigationActionParams& WithAddThingsToThingGroupParams(AddThingsToThingGroupParams&& value) { SetAddThingsToThingGroupParams(std::move(value)); return *this;}
156 
157 
162  inline const ReplaceDefaultPolicyVersionParams& GetReplaceDefaultPolicyVersionParams() const{ return m_replaceDefaultPolicyVersionParams; }
163 
168  inline bool ReplaceDefaultPolicyVersionParamsHasBeenSet() const { return m_replaceDefaultPolicyVersionParamsHasBeenSet; }
169 
174  inline void SetReplaceDefaultPolicyVersionParams(const ReplaceDefaultPolicyVersionParams& value) { m_replaceDefaultPolicyVersionParamsHasBeenSet = true; m_replaceDefaultPolicyVersionParams = value; }
175 
180  inline void SetReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams&& value) { m_replaceDefaultPolicyVersionParamsHasBeenSet = true; m_replaceDefaultPolicyVersionParams = std::move(value); }
181 
186  inline MitigationActionParams& WithReplaceDefaultPolicyVersionParams(const ReplaceDefaultPolicyVersionParams& value) { SetReplaceDefaultPolicyVersionParams(value); return *this;}
187 
192  inline MitigationActionParams& WithReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams&& value) { SetReplaceDefaultPolicyVersionParams(std::move(value)); return *this;}
193 
194 
199  inline const EnableIoTLoggingParams& GetEnableIoTLoggingParams() const{ return m_enableIoTLoggingParams; }
200 
205  inline bool EnableIoTLoggingParamsHasBeenSet() const { return m_enableIoTLoggingParamsHasBeenSet; }
206 
211  inline void SetEnableIoTLoggingParams(const EnableIoTLoggingParams& value) { m_enableIoTLoggingParamsHasBeenSet = true; m_enableIoTLoggingParams = value; }
212 
217  inline void SetEnableIoTLoggingParams(EnableIoTLoggingParams&& value) { m_enableIoTLoggingParamsHasBeenSet = true; m_enableIoTLoggingParams = std::move(value); }
218 
223  inline MitigationActionParams& WithEnableIoTLoggingParams(const EnableIoTLoggingParams& value) { SetEnableIoTLoggingParams(value); return *this;}
224 
229  inline MitigationActionParams& WithEnableIoTLoggingParams(EnableIoTLoggingParams&& value) { SetEnableIoTLoggingParams(std::move(value)); return *this;}
230 
231 
237  inline const PublishFindingToSnsParams& GetPublishFindingToSnsParams() const{ return m_publishFindingToSnsParams; }
238 
244  inline bool PublishFindingToSnsParamsHasBeenSet() const { return m_publishFindingToSnsParamsHasBeenSet; }
245 
251  inline void SetPublishFindingToSnsParams(const PublishFindingToSnsParams& value) { m_publishFindingToSnsParamsHasBeenSet = true; m_publishFindingToSnsParams = value; }
252 
258  inline void SetPublishFindingToSnsParams(PublishFindingToSnsParams&& value) { m_publishFindingToSnsParamsHasBeenSet = true; m_publishFindingToSnsParams = std::move(value); }
259 
265  inline MitigationActionParams& WithPublishFindingToSnsParams(const PublishFindingToSnsParams& value) { SetPublishFindingToSnsParams(value); return *this;}
266 
272  inline MitigationActionParams& WithPublishFindingToSnsParams(PublishFindingToSnsParams&& value) { SetPublishFindingToSnsParams(std::move(value)); return *this;}
273 
274  private:
275 
276  UpdateDeviceCertificateParams m_updateDeviceCertificateParams;
277  bool m_updateDeviceCertificateParamsHasBeenSet;
278 
279  UpdateCACertificateParams m_updateCACertificateParams;
280  bool m_updateCACertificateParamsHasBeenSet;
281 
282  AddThingsToThingGroupParams m_addThingsToThingGroupParams;
283  bool m_addThingsToThingGroupParamsHasBeenSet;
284 
285  ReplaceDefaultPolicyVersionParams m_replaceDefaultPolicyVersionParams;
286  bool m_replaceDefaultPolicyVersionParamsHasBeenSet;
287 
288  EnableIoTLoggingParams m_enableIoTLoggingParams;
289  bool m_enableIoTLoggingParamsHasBeenSet;
290 
291  PublishFindingToSnsParams m_publishFindingToSnsParams;
292  bool m_publishFindingToSnsParamsHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace IoT
297 } // namespace Aws
UpdateCACertificateParams.h
Aws::IoT::Model::MitigationActionParams::SetUpdateCACertificateParams
void SetUpdateCACertificateParams(UpdateCACertificateParams &&value)
Definition: MitigationActionParams.h:106
Aws::IoT::Model::MitigationActionParams::GetReplaceDefaultPolicyVersionParams
const ReplaceDefaultPolicyVersionParams & GetReplaceDefaultPolicyVersionParams() const
Definition: MitigationActionParams.h:162
Aws::IoT::Model::MitigationActionParams::SetEnableIoTLoggingParams
void SetEnableIoTLoggingParams(const EnableIoTLoggingParams &value)
Definition: MitigationActionParams.h:211
Aws::IoT::Model::AddThingsToThingGroupParams
Definition: AddThingsToThingGroupParams.h:34
Aws::IoT::Model::EnableIoTLoggingParams
Definition: EnableIoTLoggingParams.h:34
Aws::IoT::Model::MitigationActionParams::SetUpdateDeviceCertificateParams
void SetUpdateDeviceCertificateParams(const UpdateDeviceCertificateParams &value)
Definition: MitigationActionParams.h:63
AddThingsToThingGroupParams.h
Aws::IoT::Model::MitigationActionParams::GetAddThingsToThingGroupParams
const AddThingsToThingGroupParams & GetAddThingsToThingGroupParams() const
Definition: MitigationActionParams.h:125
Aws::IoT::Model::MitigationActionParams::PublishFindingToSnsParamsHasBeenSet
bool PublishFindingToSnsParamsHasBeenSet() const
Definition: MitigationActionParams.h:244
Aws::IoT::Model::UpdateDeviceCertificateParams
Definition: UpdateDeviceCertificateParams.h:33
Aws::IoT::Model::MitigationActionParams::SetUpdateCACertificateParams
void SetUpdateCACertificateParams(const UpdateCACertificateParams &value)
Definition: MitigationActionParams.h:100
EnableIoTLoggingParams.h
Aws::IoT::Model::MitigationActionParams::WithReplaceDefaultPolicyVersionParams
MitigationActionParams & WithReplaceDefaultPolicyVersionParams(const ReplaceDefaultPolicyVersionParams &value)
Definition: MitigationActionParams.h:186
Aws::IoT::Model::PublishFindingToSnsParams
Definition: PublishFindingToSnsParams.h:34
Aws::IoT::Model::MitigationActionParams::UpdateCACertificateParamsHasBeenSet
bool UpdateCACertificateParamsHasBeenSet() const
Definition: MitigationActionParams.h:94
Aws::IoT::Model::MitigationActionParams::WithReplaceDefaultPolicyVersionParams
MitigationActionParams & WithReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams &&value)
Definition: MitigationActionParams.h:192
Aws::IoT::Model::MitigationActionParams::EnableIoTLoggingParamsHasBeenSet
bool EnableIoTLoggingParamsHasBeenSet() const
Definition: MitigationActionParams.h:205
Aws::IoT::Model::MitigationActionParams::WithUpdateDeviceCertificateParams
MitigationActionParams & WithUpdateDeviceCertificateParams(UpdateDeviceCertificateParams &&value)
Definition: MitigationActionParams.h:81
Aws::IoT::Model::MitigationActionParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::MitigationActionParams::SetAddThingsToThingGroupParams
void SetAddThingsToThingGroupParams(AddThingsToThingGroupParams &&value)
Definition: MitigationActionParams.h:143
Aws::IoT::Model::MitigationActionParams::GetUpdateDeviceCertificateParams
const UpdateDeviceCertificateParams & GetUpdateDeviceCertificateParams() const
Definition: MitigationActionParams.h:51
Aws::IoT::Model::MitigationActionParams::GetEnableIoTLoggingParams
const EnableIoTLoggingParams & GetEnableIoTLoggingParams() const
Definition: MitigationActionParams.h:199
Aws::IoT::Model::MitigationActionParams::MitigationActionParams
MitigationActionParams()
Aws::IoT::Model::MitigationActionParams::WithUpdateCACertificateParams
MitigationActionParams & WithUpdateCACertificateParams(UpdateCACertificateParams &&value)
Definition: MitigationActionParams.h:118
UpdateDeviceCertificateParams.h
Aws::IoT::Model::UpdateCACertificateParams
Definition: UpdateCACertificateParams.h:33
Aws::IoT::Model::MitigationActionParams::SetEnableIoTLoggingParams
void SetEnableIoTLoggingParams(EnableIoTLoggingParams &&value)
Definition: MitigationActionParams.h:217
Aws::IoT::Model::MitigationActionParams::SetPublishFindingToSnsParams
void SetPublishFindingToSnsParams(const PublishFindingToSnsParams &value)
Definition: MitigationActionParams.h:251
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::MitigationActionParams
Definition: MitigationActionParams.h:39
Aws::IoT::Model::MitigationActionParams::ReplaceDefaultPolicyVersionParamsHasBeenSet
bool ReplaceDefaultPolicyVersionParamsHasBeenSet() const
Definition: MitigationActionParams.h:168
Aws::IoT::Model::MitigationActionParams::WithUpdateDeviceCertificateParams
MitigationActionParams & WithUpdateDeviceCertificateParams(const UpdateDeviceCertificateParams &value)
Definition: MitigationActionParams.h:75
PublishFindingToSnsParams.h
Aws::IoT::Model::MitigationActionParams::WithAddThingsToThingGroupParams
MitigationActionParams & WithAddThingsToThingGroupParams(const AddThingsToThingGroupParams &value)
Definition: MitigationActionParams.h:149
Aws::IoT::Model::MitigationActionParams::MitigationActionParams
MitigationActionParams(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::MitigationActionParams::UpdateDeviceCertificateParamsHasBeenSet
bool UpdateDeviceCertificateParamsHasBeenSet() const
Definition: MitigationActionParams.h:57
Aws::IoT::Model::MitigationActionParams::SetAddThingsToThingGroupParams
void SetAddThingsToThingGroupParams(const AddThingsToThingGroupParams &value)
Definition: MitigationActionParams.h:137
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::MitigationActionParams::WithAddThingsToThingGroupParams
MitigationActionParams & WithAddThingsToThingGroupParams(AddThingsToThingGroupParams &&value)
Definition: MitigationActionParams.h:155
Aws::IoT::Model::MitigationActionParams::SetPublishFindingToSnsParams
void SetPublishFindingToSnsParams(PublishFindingToSnsParams &&value)
Definition: MitigationActionParams.h:258
Aws::IoT::Model::MitigationActionParams::SetReplaceDefaultPolicyVersionParams
void SetReplaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParams &&value)
Definition: MitigationActionParams.h:180
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::MitigationActionParams::WithUpdateCACertificateParams
MitigationActionParams & WithUpdateCACertificateParams(const UpdateCACertificateParams &value)
Definition: MitigationActionParams.h:112
Aws::IoT::Model::MitigationActionParams::SetReplaceDefaultPolicyVersionParams
void SetReplaceDefaultPolicyVersionParams(const ReplaceDefaultPolicyVersionParams &value)
Definition: MitigationActionParams.h:174
Aws::IoT::Model::MitigationActionParams::GetUpdateCACertificateParams
const UpdateCACertificateParams & GetUpdateCACertificateParams() const
Definition: MitigationActionParams.h:88
Aws::IoT::Model::MitigationActionParams::GetPublishFindingToSnsParams
const PublishFindingToSnsParams & GetPublishFindingToSnsParams() const
Definition: MitigationActionParams.h:237
Aws::IoT::Model::MitigationActionParams::WithPublishFindingToSnsParams
MitigationActionParams & WithPublishFindingToSnsParams(const PublishFindingToSnsParams &value)
Definition: MitigationActionParams.h:265
Aws::IoT::Model::MitigationActionParams::operator=
MitigationActionParams & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::MitigationActionParams::SetUpdateDeviceCertificateParams
void SetUpdateDeviceCertificateParams(UpdateDeviceCertificateParams &&value)
Definition: MitigationActionParams.h:69
Aws::IoT::Model::MitigationActionParams::AddThingsToThingGroupParamsHasBeenSet
bool AddThingsToThingGroupParamsHasBeenSet() const
Definition: MitigationActionParams.h:131
Aws::IoT::Model::MitigationActionParams::WithEnableIoTLoggingParams
MitigationActionParams & WithEnableIoTLoggingParams(EnableIoTLoggingParams &&value)
Definition: MitigationActionParams.h:229
ReplaceDefaultPolicyVersionParams.h
Aws::IoT::Model::MitigationActionParams::WithPublishFindingToSnsParams
MitigationActionParams & WithPublishFindingToSnsParams(PublishFindingToSnsParams &&value)
Definition: MitigationActionParams.h:272
IoT_EXPORTS.h
Aws::IoT::Model::MitigationActionParams::WithEnableIoTLoggingParams
MitigationActionParams & WithEnableIoTLoggingParams(const EnableIoTLoggingParams &value)
Definition: MitigationActionParams.h:223
Aws::IoT::Model::ReplaceDefaultPolicyVersionParams
Definition: ReplaceDefaultPolicyVersionParams.h:33