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/PolicyFirewallType.h>
22namespace NetworkSecurityManager {
43 template <
typename PolicyIdT = Aws::String>
45 m_policyIdHasBeenSet =
true;
46 m_policyId = std::forward<PolicyIdT>(value);
48 template <
typename PolicyIdT = Aws::String>
61 template <
typename PolicyArnT = Aws::String>
63 m_policyArnHasBeenSet =
true;
64 m_policyArn = std::forward<PolicyArnT>(value);
66 template <
typename PolicyArnT = Aws::String>
79 template <
typename PolicyNameT = Aws::String>
81 m_policyNameHasBeenSet =
true;
82 m_policyName = std::forward<PolicyNameT>(value);
84 template <
typename PolicyNameT = Aws::String>
99 m_statusHasBeenSet =
true;
114 template <
typename VersionT = Aws::String>
116 m_versionHasBeenSet =
true;
117 m_version = std::forward<VersionT>(value);
119 template <
typename VersionT = Aws::String>
133 m_hasPublishedVersionHasBeenSet =
true;
134 m_hasPublishedVersion = value;
149 m_firewallTypeHasBeenSet =
true;
150 m_firewallType = value;
165 m_priorityHasBeenSet =
true;
181 template <
typename UpdatedAtT = Aws::Utils::DateTime>
183 m_updatedAtHasBeenSet =
true;
184 m_updatedAt = std::forward<UpdatedAtT>(value);
186 template <
typename UpdatedAtT = Aws::Utils::DateTime>
203 bool m_hasPublishedVersion{
false};
210 bool m_policyIdHasBeenSet =
false;
211 bool m_policyArnHasBeenSet =
false;
212 bool m_policyNameHasBeenSet =
false;
213 bool m_statusHasBeenSet =
false;
214 bool m_versionHasBeenSet =
false;
215 bool m_hasPublishedVersionHasBeenSet =
false;
216 bool m_firewallTypeHasBeenSet =
false;
217 bool m_priorityHasBeenSet =
false;
218 bool m_updatedAtHasBeenSet =
false;
void SetStatus(EntityStatus value)
PolicySummary & WithStatus(EntityStatus value)
void SetFirewallType(PolicyFirewallType value)
PolicySummary & WithPriority(int value)
PolicySummary & WithFirewallType(PolicyFirewallType value)
PolicySummary & WithPolicyId(PolicyIdT &&value)
const Aws::String & GetPolicyArn() const
bool StatusHasBeenSet() const
bool GetHasPublishedVersion() const
const Aws::String & GetVersion() const
bool HasPublishedVersionHasBeenSet() const
AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
PolicySummary & WithVersion(VersionT &&value)
bool PolicyIdHasBeenSet() const
bool FirewallTypeHasBeenSet() const
bool UpdatedAtHasBeenSet() const
EntityStatus GetStatus() const
PolicySummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_NETWORKSECURITYMANAGER_API PolicySummary(Aws::Utils::Json::JsonView jsonValue)
bool PolicyNameHasBeenSet() const
bool PolicyArnHasBeenSet() const
void SetHasPublishedVersion(bool value)
void SetPolicyId(PolicyIdT &&value)
const Aws::String & GetPolicyId() const
void SetPolicyArn(PolicyArnT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetPolicyName() const
bool PriorityHasBeenSet() const
PolicyFirewallType GetFirewallType() const
AWS_NETWORKSECURITYMANAGER_API PolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicySummary & WithHasPublishedVersion(bool value)
void SetPolicyName(PolicyNameT &&value)
PolicySummary & WithPolicyName(PolicyNameT &&value)
PolicySummary & WithPolicyArn(PolicyArnT &&value)
void SetPriority(int value)
void SetVersion(VersionT &&value)
bool VersionHasBeenSet() const
AWS_NETWORKSECURITYMANAGER_API PolicySummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue