7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/SecurityPolicyType.h>
20namespace OpenSearchServerless {
43 m_typeHasBeenSet =
true;
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
76 template <
typename PolicyVersionT = Aws::String>
78 m_policyVersionHasBeenSet =
true;
79 m_policyVersion = std::forward<PolicyVersionT>(value);
81 template <
typename PolicyVersionT = Aws::String>
94 template <
typename DescriptionT = Aws::String>
96 m_descriptionHasBeenSet =
true;
97 m_description = std::forward<DescriptionT>(value);
99 template <
typename DescriptionT = Aws::String>
113 m_createdDateHasBeenSet =
true;
114 m_createdDate = value;
129 m_lastModifiedDateHasBeenSet =
true;
130 m_lastModifiedDate = value;
146 long long m_createdDate{0};
148 long long m_lastModifiedDate{0};
149 bool m_typeHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
151 bool m_policyVersionHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
153 bool m_createdDateHasBeenSet =
false;
154 bool m_lastModifiedDateHasBeenSet =
false;
AWS_OPENSEARCHSERVERLESS_API SecurityPolicySummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(long long value)
bool PolicyVersionHasBeenSet() const
SecurityPolicySummary & WithDescription(DescriptionT &&value)
void SetPolicyVersion(PolicyVersionT &&value)
SecurityPolicySummary & WithPolicyVersion(PolicyVersionT &&value)
bool DescriptionHasBeenSet() const
long long GetCreatedDate() const
bool CreatedDateHasBeenSet() const
SecurityPolicySummary & WithName(NameT &&value)
bool LastModifiedDateHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API SecurityPolicySummary()=default
void SetType(SecurityPolicyType value)
bool NameHasBeenSet() const
long long GetLastModifiedDate() const
void SetDescription(DescriptionT &&value)
SecurityPolicyType GetType() const
const Aws::String & GetPolicyVersion() const
SecurityPolicySummary & WithType(SecurityPolicyType value)
SecurityPolicySummary & WithCreatedDate(long long value)
void SetLastModifiedDate(long long value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
SecurityPolicySummary & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue