7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
10#include <aws/network-security-manager/model/EntityStatus.h>
11#include <aws/network-security-manager/model/RuleFirewallType.h>
12#include <aws/network-security-manager/model/RuleType.h>
23namespace NetworkSecurityManager {
44 template <
typename RuleIdT = Aws::String>
46 m_ruleIdHasBeenSet =
true;
47 m_ruleId = std::forward<RuleIdT>(value);
49 template <
typename RuleIdT = Aws::String>
62 template <
typename RuleArnT = Aws::String>
64 m_ruleArnHasBeenSet =
true;
65 m_ruleArn = std::forward<RuleArnT>(value);
67 template <
typename RuleArnT = Aws::String>
80 template <
typename RuleNameT = Aws::String>
82 m_ruleNameHasBeenSet =
true;
83 m_ruleName = std::forward<RuleNameT>(value);
85 template <
typename RuleNameT = Aws::String>
99 m_firewallTypeHasBeenSet =
true;
100 m_firewallType = value;
116 m_ruleTypeHasBeenSet =
true;
133 m_statusHasBeenSet =
true;
148 template <
typename VersionT = Aws::String>
150 m_versionHasBeenSet =
true;
151 m_version = std::forward<VersionT>(value);
153 template <
typename VersionT = Aws::String>
167 m_hasPublishedVersionHasBeenSet =
true;
168 m_hasPublishedVersion = value;
183 template <
typename UpdatedAtT = Aws::Utils::DateTime>
185 m_updatedAtHasBeenSet =
true;
186 m_updatedAt = std::forward<UpdatedAtT>(value);
188 template <
typename UpdatedAtT = Aws::Utils::DateTime>
209 bool m_hasPublishedVersion{
false};
212 bool m_ruleIdHasBeenSet =
false;
213 bool m_ruleArnHasBeenSet =
false;
214 bool m_ruleNameHasBeenSet =
false;
215 bool m_firewallTypeHasBeenSet =
false;
216 bool m_ruleTypeHasBeenSet =
false;
217 bool m_statusHasBeenSet =
false;
218 bool m_versionHasBeenSet =
false;
219 bool m_hasPublishedVersionHasBeenSet =
false;
220 bool m_updatedAtHasBeenSet =
false;
bool FirewallTypeHasBeenSet() const
AWS_NETWORKSECURITYMANAGER_API RuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RuleArnHasBeenSet() const
void SetStatus(EntityStatus value)
AWS_NETWORKSECURITYMANAGER_API RuleSummary()=default
void SetRuleType(RuleType value)
void SetVersion(VersionT &&value)
AWS_NETWORKSECURITYMANAGER_API RuleSummary(Aws::Utils::Json::JsonView jsonValue)
bool HasPublishedVersionHasBeenSet() const
bool GetHasPublishedVersion() const
RuleSummary & WithRuleId(RuleIdT &&value)
bool UpdatedAtHasBeenSet() const
EntityStatus GetStatus() const
RuleFirewallType GetFirewallType() const
RuleSummary & WithHasPublishedVersion(bool value)
bool VersionHasBeenSet() const
RuleSummary & WithFirewallType(RuleFirewallType value)
void SetRuleId(RuleIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool StatusHasBeenSet() const
const Aws::String & GetVersion() const
RuleSummary & WithStatus(EntityStatus value)
bool RuleTypeHasBeenSet() const
RuleType GetRuleType() const
const Aws::String & GetRuleName() const
const Aws::String & GetRuleId() const
const Aws::String & GetRuleArn() const
RuleSummary & WithUpdatedAt(UpdatedAtT &&value)
RuleSummary & WithRuleType(RuleType value)
void SetFirewallType(RuleFirewallType value)
RuleSummary & WithVersion(VersionT &&value)
void SetRuleName(RuleNameT &&value)
bool RuleIdHasBeenSet() const
AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RuleSummary & WithRuleName(RuleNameT &&value)
RuleSummary & WithRuleArn(RuleArnT &&value)
bool RuleNameHasBeenSet() const
void SetRuleArn(RuleArnT &&value)
void SetHasPublishedVersion(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue