AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemediationAction.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/EC2CreateRouteAction.h>
10#include <aws/fms/model/EC2ReplaceRouteAction.h>
11#include <aws/fms/model/EC2DeleteRouteAction.h>
12#include <aws/fms/model/EC2CopyRouteTableAction.h>
13#include <aws/fms/model/EC2ReplaceRouteTableAssociationAction.h>
14#include <aws/fms/model/EC2AssociateRouteTableAction.h>
15#include <aws/fms/model/EC2CreateRouteTableAction.h>
16#include <aws/fms/model/FMSPolicyUpdateFirewallCreationConfigAction.h>
17#include <aws/fms/model/CreateNetworkAclAction.h>
18#include <aws/fms/model/ReplaceNetworkAclAssociationAction.h>
19#include <aws/fms/model/CreateNetworkAclEntriesAction.h>
20#include <aws/fms/model/DeleteNetworkAclEntriesAction.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace FMS
34{
35namespace Model
36{
37
45 {
46 public:
47 AWS_FMS_API RemediationAction();
51
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline RemediationAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline RemediationAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline RemediationAction& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const EC2CreateRouteAction& GetEC2CreateRouteAction() const{ return m_eC2CreateRouteAction; }
72 inline bool EC2CreateRouteActionHasBeenSet() const { return m_eC2CreateRouteActionHasBeenSet; }
73 inline void SetEC2CreateRouteAction(const EC2CreateRouteAction& value) { m_eC2CreateRouteActionHasBeenSet = true; m_eC2CreateRouteAction = value; }
74 inline void SetEC2CreateRouteAction(EC2CreateRouteAction&& value) { m_eC2CreateRouteActionHasBeenSet = true; m_eC2CreateRouteAction = std::move(value); }
78
80
83 inline const EC2ReplaceRouteAction& GetEC2ReplaceRouteAction() const{ return m_eC2ReplaceRouteAction; }
84 inline bool EC2ReplaceRouteActionHasBeenSet() const { return m_eC2ReplaceRouteActionHasBeenSet; }
85 inline void SetEC2ReplaceRouteAction(const EC2ReplaceRouteAction& value) { m_eC2ReplaceRouteActionHasBeenSet = true; m_eC2ReplaceRouteAction = value; }
86 inline void SetEC2ReplaceRouteAction(EC2ReplaceRouteAction&& value) { m_eC2ReplaceRouteActionHasBeenSet = true; m_eC2ReplaceRouteAction = std::move(value); }
90
92
95 inline const EC2DeleteRouteAction& GetEC2DeleteRouteAction() const{ return m_eC2DeleteRouteAction; }
96 inline bool EC2DeleteRouteActionHasBeenSet() const { return m_eC2DeleteRouteActionHasBeenSet; }
97 inline void SetEC2DeleteRouteAction(const EC2DeleteRouteAction& value) { m_eC2DeleteRouteActionHasBeenSet = true; m_eC2DeleteRouteAction = value; }
98 inline void SetEC2DeleteRouteAction(EC2DeleteRouteAction&& value) { m_eC2DeleteRouteActionHasBeenSet = true; m_eC2DeleteRouteAction = std::move(value); }
102
104
107 inline const EC2CopyRouteTableAction& GetEC2CopyRouteTableAction() const{ return m_eC2CopyRouteTableAction; }
108 inline bool EC2CopyRouteTableActionHasBeenSet() const { return m_eC2CopyRouteTableActionHasBeenSet; }
109 inline void SetEC2CopyRouteTableAction(const EC2CopyRouteTableAction& value) { m_eC2CopyRouteTableActionHasBeenSet = true; m_eC2CopyRouteTableAction = value; }
110 inline void SetEC2CopyRouteTableAction(EC2CopyRouteTableAction&& value) { m_eC2CopyRouteTableActionHasBeenSet = true; m_eC2CopyRouteTableAction = std::move(value); }
114
116
120 inline const EC2ReplaceRouteTableAssociationAction& GetEC2ReplaceRouteTableAssociationAction() const{ return m_eC2ReplaceRouteTableAssociationAction; }
121 inline bool EC2ReplaceRouteTableAssociationActionHasBeenSet() const { return m_eC2ReplaceRouteTableAssociationActionHasBeenSet; }
122 inline void SetEC2ReplaceRouteTableAssociationAction(const EC2ReplaceRouteTableAssociationAction& value) { m_eC2ReplaceRouteTableAssociationActionHasBeenSet = true; m_eC2ReplaceRouteTableAssociationAction = value; }
123 inline void SetEC2ReplaceRouteTableAssociationAction(EC2ReplaceRouteTableAssociationAction&& value) { m_eC2ReplaceRouteTableAssociationActionHasBeenSet = true; m_eC2ReplaceRouteTableAssociationAction = std::move(value); }
127
129
132 inline const EC2AssociateRouteTableAction& GetEC2AssociateRouteTableAction() const{ return m_eC2AssociateRouteTableAction; }
133 inline bool EC2AssociateRouteTableActionHasBeenSet() const { return m_eC2AssociateRouteTableActionHasBeenSet; }
134 inline void SetEC2AssociateRouteTableAction(const EC2AssociateRouteTableAction& value) { m_eC2AssociateRouteTableActionHasBeenSet = true; m_eC2AssociateRouteTableAction = value; }
135 inline void SetEC2AssociateRouteTableAction(EC2AssociateRouteTableAction&& value) { m_eC2AssociateRouteTableActionHasBeenSet = true; m_eC2AssociateRouteTableAction = std::move(value); }
139
141
144 inline const EC2CreateRouteTableAction& GetEC2CreateRouteTableAction() const{ return m_eC2CreateRouteTableAction; }
145 inline bool EC2CreateRouteTableActionHasBeenSet() const { return m_eC2CreateRouteTableActionHasBeenSet; }
146 inline void SetEC2CreateRouteTableAction(const EC2CreateRouteTableAction& value) { m_eC2CreateRouteTableActionHasBeenSet = true; m_eC2CreateRouteTableAction = value; }
147 inline void SetEC2CreateRouteTableAction(EC2CreateRouteTableAction&& value) { m_eC2CreateRouteTableActionHasBeenSet = true; m_eC2CreateRouteTableAction = std::move(value); }
151
153
156 inline const FMSPolicyUpdateFirewallCreationConfigAction& GetFMSPolicyUpdateFirewallCreationConfigAction() const{ return m_fMSPolicyUpdateFirewallCreationConfigAction; }
157 inline bool FMSPolicyUpdateFirewallCreationConfigActionHasBeenSet() const { return m_fMSPolicyUpdateFirewallCreationConfigActionHasBeenSet; }
158 inline void SetFMSPolicyUpdateFirewallCreationConfigAction(const FMSPolicyUpdateFirewallCreationConfigAction& value) { m_fMSPolicyUpdateFirewallCreationConfigActionHasBeenSet = true; m_fMSPolicyUpdateFirewallCreationConfigAction = value; }
159 inline void SetFMSPolicyUpdateFirewallCreationConfigAction(FMSPolicyUpdateFirewallCreationConfigAction&& value) { m_fMSPolicyUpdateFirewallCreationConfigActionHasBeenSet = true; m_fMSPolicyUpdateFirewallCreationConfigAction = std::move(value); }
163
165
168 inline const CreateNetworkAclAction& GetCreateNetworkAclAction() const{ return m_createNetworkAclAction; }
169 inline bool CreateNetworkAclActionHasBeenSet() const { return m_createNetworkAclActionHasBeenSet; }
170 inline void SetCreateNetworkAclAction(const CreateNetworkAclAction& value) { m_createNetworkAclActionHasBeenSet = true; m_createNetworkAclAction = value; }
171 inline void SetCreateNetworkAclAction(CreateNetworkAclAction&& value) { m_createNetworkAclActionHasBeenSet = true; m_createNetworkAclAction = std::move(value); }
175
177
181 inline const ReplaceNetworkAclAssociationAction& GetReplaceNetworkAclAssociationAction() const{ return m_replaceNetworkAclAssociationAction; }
182 inline bool ReplaceNetworkAclAssociationActionHasBeenSet() const { return m_replaceNetworkAclAssociationActionHasBeenSet; }
183 inline void SetReplaceNetworkAclAssociationAction(const ReplaceNetworkAclAssociationAction& value) { m_replaceNetworkAclAssociationActionHasBeenSet = true; m_replaceNetworkAclAssociationAction = value; }
184 inline void SetReplaceNetworkAclAssociationAction(ReplaceNetworkAclAssociationAction&& value) { m_replaceNetworkAclAssociationActionHasBeenSet = true; m_replaceNetworkAclAssociationAction = std::move(value); }
188
190
194 inline const CreateNetworkAclEntriesAction& GetCreateNetworkAclEntriesAction() const{ return m_createNetworkAclEntriesAction; }
195 inline bool CreateNetworkAclEntriesActionHasBeenSet() const { return m_createNetworkAclEntriesActionHasBeenSet; }
196 inline void SetCreateNetworkAclEntriesAction(const CreateNetworkAclEntriesAction& value) { m_createNetworkAclEntriesActionHasBeenSet = true; m_createNetworkAclEntriesAction = value; }
197 inline void SetCreateNetworkAclEntriesAction(CreateNetworkAclEntriesAction&& value) { m_createNetworkAclEntriesActionHasBeenSet = true; m_createNetworkAclEntriesAction = std::move(value); }
201
203
207 inline const DeleteNetworkAclEntriesAction& GetDeleteNetworkAclEntriesAction() const{ return m_deleteNetworkAclEntriesAction; }
208 inline bool DeleteNetworkAclEntriesActionHasBeenSet() const { return m_deleteNetworkAclEntriesActionHasBeenSet; }
209 inline void SetDeleteNetworkAclEntriesAction(const DeleteNetworkAclEntriesAction& value) { m_deleteNetworkAclEntriesActionHasBeenSet = true; m_deleteNetworkAclEntriesAction = value; }
210 inline void SetDeleteNetworkAclEntriesAction(DeleteNetworkAclEntriesAction&& value) { m_deleteNetworkAclEntriesActionHasBeenSet = true; m_deleteNetworkAclEntriesAction = std::move(value); }
214 private:
215
216 Aws::String m_description;
217 bool m_descriptionHasBeenSet = false;
218
219 EC2CreateRouteAction m_eC2CreateRouteAction;
220 bool m_eC2CreateRouteActionHasBeenSet = false;
221
222 EC2ReplaceRouteAction m_eC2ReplaceRouteAction;
223 bool m_eC2ReplaceRouteActionHasBeenSet = false;
224
225 EC2DeleteRouteAction m_eC2DeleteRouteAction;
226 bool m_eC2DeleteRouteActionHasBeenSet = false;
227
228 EC2CopyRouteTableAction m_eC2CopyRouteTableAction;
229 bool m_eC2CopyRouteTableActionHasBeenSet = false;
230
231 EC2ReplaceRouteTableAssociationAction m_eC2ReplaceRouteTableAssociationAction;
232 bool m_eC2ReplaceRouteTableAssociationActionHasBeenSet = false;
233
234 EC2AssociateRouteTableAction m_eC2AssociateRouteTableAction;
235 bool m_eC2AssociateRouteTableActionHasBeenSet = false;
236
237 EC2CreateRouteTableAction m_eC2CreateRouteTableAction;
238 bool m_eC2CreateRouteTableActionHasBeenSet = false;
239
240 FMSPolicyUpdateFirewallCreationConfigAction m_fMSPolicyUpdateFirewallCreationConfigAction;
241 bool m_fMSPolicyUpdateFirewallCreationConfigActionHasBeenSet = false;
242
243 CreateNetworkAclAction m_createNetworkAclAction;
244 bool m_createNetworkAclActionHasBeenSet = false;
245
246 ReplaceNetworkAclAssociationAction m_replaceNetworkAclAssociationAction;
247 bool m_replaceNetworkAclAssociationActionHasBeenSet = false;
248
249 CreateNetworkAclEntriesAction m_createNetworkAclEntriesAction;
250 bool m_createNetworkAclEntriesActionHasBeenSet = false;
251
252 DeleteNetworkAclEntriesAction m_deleteNetworkAclEntriesAction;
253 bool m_deleteNetworkAclEntriesActionHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace FMS
258} // namespace Aws
void SetCreateNetworkAclEntriesAction(CreateNetworkAclEntriesAction &&value)
RemediationAction & WithEC2ReplaceRouteAction(const EC2ReplaceRouteAction &value)
void SetFMSPolicyUpdateFirewallCreationConfigAction(FMSPolicyUpdateFirewallCreationConfigAction &&value)
const DeleteNetworkAclEntriesAction & GetDeleteNetworkAclEntriesAction() const
const FMSPolicyUpdateFirewallCreationConfigAction & GetFMSPolicyUpdateFirewallCreationConfigAction() const
RemediationAction & WithDescription(Aws::String &&value)
RemediationAction & WithReplaceNetworkAclAssociationAction(ReplaceNetworkAclAssociationAction &&value)
RemediationAction & WithEC2CreateRouteAction(EC2CreateRouteAction &&value)
RemediationAction & WithCreateNetworkAclAction(CreateNetworkAclAction &&value)
RemediationAction & WithCreateNetworkAclEntriesAction(CreateNetworkAclEntriesAction &&value)
RemediationAction & WithCreateNetworkAclEntriesAction(const CreateNetworkAclEntriesAction &value)
const CreateNetworkAclEntriesAction & GetCreateNetworkAclEntriesAction() const
void SetFMSPolicyUpdateFirewallCreationConfigAction(const FMSPolicyUpdateFirewallCreationConfigAction &value)
void SetEC2CreateRouteTableAction(EC2CreateRouteTableAction &&value)
void SetEC2ReplaceRouteTableAssociationAction(const EC2ReplaceRouteTableAssociationAction &value)
RemediationAction & WithEC2AssociateRouteTableAction(const EC2AssociateRouteTableAction &value)
void SetDescription(const Aws::String &value)
RemediationAction & WithEC2CreateRouteTableAction(const EC2CreateRouteTableAction &value)
void SetReplaceNetworkAclAssociationAction(ReplaceNetworkAclAssociationAction &&value)
void SetCreateNetworkAclEntriesAction(const CreateNetworkAclEntriesAction &value)
RemediationAction & WithFMSPolicyUpdateFirewallCreationConfigAction(FMSPolicyUpdateFirewallCreationConfigAction &&value)
void SetEC2DeleteRouteAction(const EC2DeleteRouteAction &value)
AWS_FMS_API RemediationAction(Aws::Utils::Json::JsonView jsonValue)
RemediationAction & WithDeleteNetworkAclEntriesAction(DeleteNetworkAclEntriesAction &&value)
void SetDescription(Aws::String &&value)
RemediationAction & WithEC2ReplaceRouteTableAssociationAction(const EC2ReplaceRouteTableAssociationAction &value)
const CreateNetworkAclAction & GetCreateNetworkAclAction() const
const EC2CreateRouteAction & GetEC2CreateRouteAction() const
RemediationAction & WithFMSPolicyUpdateFirewallCreationConfigAction(const FMSPolicyUpdateFirewallCreationConfigAction &value)
void SetEC2CopyRouteTableAction(const EC2CopyRouteTableAction &value)
void SetEC2ReplaceRouteAction(const EC2ReplaceRouteAction &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const EC2CreateRouteTableAction & GetEC2CreateRouteTableAction() const
void SetDeleteNetworkAclEntriesAction(DeleteNetworkAclEntriesAction &&value)
void SetDeleteNetworkAclEntriesAction(const DeleteNetworkAclEntriesAction &value)
RemediationAction & WithReplaceNetworkAclAssociationAction(const ReplaceNetworkAclAssociationAction &value)
void SetEC2CreateRouteAction(const EC2CreateRouteAction &value)
RemediationAction & WithEC2CreateRouteAction(const EC2CreateRouteAction &value)
void SetEC2ReplaceRouteAction(EC2ReplaceRouteAction &&value)
RemediationAction & WithEC2DeleteRouteAction(EC2DeleteRouteAction &&value)
RemediationAction & WithEC2ReplaceRouteAction(EC2ReplaceRouteAction &&value)
void SetEC2AssociateRouteTableAction(const EC2AssociateRouteTableAction &value)
const EC2AssociateRouteTableAction & GetEC2AssociateRouteTableAction() const
RemediationAction & WithEC2CopyRouteTableAction(EC2CopyRouteTableAction &&value)
RemediationAction & WithEC2AssociateRouteTableAction(EC2AssociateRouteTableAction &&value)
const EC2ReplaceRouteAction & GetEC2ReplaceRouteAction() const
bool FMSPolicyUpdateFirewallCreationConfigActionHasBeenSet() const
const Aws::String & GetDescription() const
void SetEC2AssociateRouteTableAction(EC2AssociateRouteTableAction &&value)
RemediationAction & WithEC2CopyRouteTableAction(const EC2CopyRouteTableAction &value)
const EC2DeleteRouteAction & GetEC2DeleteRouteAction() const
const ReplaceNetworkAclAssociationAction & GetReplaceNetworkAclAssociationAction() const
void SetCreateNetworkAclAction(const CreateNetworkAclAction &value)
void SetCreateNetworkAclAction(CreateNetworkAclAction &&value)
bool EC2ReplaceRouteTableAssociationActionHasBeenSet() const
RemediationAction & WithEC2ReplaceRouteTableAssociationAction(EC2ReplaceRouteTableAssociationAction &&value)
void SetDescription(const char *value)
RemediationAction & WithDeleteNetworkAclEntriesAction(const DeleteNetworkAclEntriesAction &value)
const EC2CopyRouteTableAction & GetEC2CopyRouteTableAction() const
void SetEC2CreateRouteTableAction(const EC2CreateRouteTableAction &value)
void SetEC2ReplaceRouteTableAssociationAction(EC2ReplaceRouteTableAssociationAction &&value)
RemediationAction & WithDescription(const char *value)
RemediationAction & WithEC2CreateRouteTableAction(EC2CreateRouteTableAction &&value)
AWS_FMS_API RemediationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReplaceNetworkAclAssociationAction(const ReplaceNetworkAclAssociationAction &value)
void SetEC2CreateRouteAction(EC2CreateRouteAction &&value)
void SetEC2CopyRouteTableAction(EC2CopyRouteTableAction &&value)
void SetEC2DeleteRouteAction(EC2DeleteRouteAction &&value)
RemediationAction & WithCreateNetworkAclAction(const CreateNetworkAclAction &value)
RemediationAction & WithEC2DeleteRouteAction(const EC2DeleteRouteAction &value)
RemediationAction & WithDescription(const Aws::String &value)
const EC2ReplaceRouteTableAssociationAction & GetEC2ReplaceRouteTableAssociationAction() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue