AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityGroupRemediationAction.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/RemediationActionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fms/model/SecurityGroupRuleDescription.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const RemediationActionType& GetRemediationActionType() const{ return m_remediationActionType; }
48 inline bool RemediationActionTypeHasBeenSet() const { return m_remediationActionTypeHasBeenSet; }
49 inline void SetRemediationActionType(const RemediationActionType& value) { m_remediationActionTypeHasBeenSet = true; m_remediationActionType = value; }
50 inline void SetRemediationActionType(RemediationActionType&& value) { m_remediationActionTypeHasBeenSet = true; m_remediationActionType = std::move(value); }
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline SecurityGroupRemediationAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline SecurityGroupRemediationAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline SecurityGroupRemediationAction& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
74 inline const SecurityGroupRuleDescription& GetRemediationResult() const{ return m_remediationResult; }
75 inline bool RemediationResultHasBeenSet() const { return m_remediationResultHasBeenSet; }
76 inline void SetRemediationResult(const SecurityGroupRuleDescription& value) { m_remediationResultHasBeenSet = true; m_remediationResult = value; }
77 inline void SetRemediationResult(SecurityGroupRuleDescription&& value) { m_remediationResultHasBeenSet = true; m_remediationResult = std::move(value); }
81
83
86 inline bool GetIsDefaultAction() const{ return m_isDefaultAction; }
87 inline bool IsDefaultActionHasBeenSet() const { return m_isDefaultActionHasBeenSet; }
88 inline void SetIsDefaultAction(bool value) { m_isDefaultActionHasBeenSet = true; m_isDefaultAction = value; }
89 inline SecurityGroupRemediationAction& WithIsDefaultAction(bool value) { SetIsDefaultAction(value); return *this;}
91 private:
92
93 RemediationActionType m_remediationActionType;
94 bool m_remediationActionTypeHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
99 SecurityGroupRuleDescription m_remediationResult;
100 bool m_remediationResultHasBeenSet = false;
101
102 bool m_isDefaultAction;
103 bool m_isDefaultActionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace FMS
108} // namespace Aws
SecurityGroupRemediationAction & WithDescription(const char *value)
SecurityGroupRemediationAction & WithDescription(const Aws::String &value)
AWS_FMS_API SecurityGroupRemediationAction(Aws::Utils::Json::JsonView jsonValue)
SecurityGroupRemediationAction & WithDescription(Aws::String &&value)
void SetRemediationResult(SecurityGroupRuleDescription &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityGroupRemediationAction & WithRemediationActionType(RemediationActionType &&value)
SecurityGroupRemediationAction & WithRemediationActionType(const RemediationActionType &value)
SecurityGroupRemediationAction & WithRemediationResult(const SecurityGroupRuleDescription &value)
SecurityGroupRemediationAction & WithIsDefaultAction(bool value)
AWS_FMS_API SecurityGroupRemediationAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRemediationResult(const SecurityGroupRuleDescription &value)
SecurityGroupRemediationAction & WithRemediationResult(SecurityGroupRuleDescription &&value)
const RemediationActionType & GetRemediationActionType() const
void SetRemediationActionType(const RemediationActionType &value)
const SecurityGroupRuleDescription & GetRemediationResult() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue