7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/SecurityPolicyType.h>
22namespace OpenSearchServerless
48 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
60 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
72 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
84 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
98 inline void SetPolicyVersion(
const char* value) { m_policyVersionHasBeenSet =
true; m_policyVersion.assign(value); }
117 long long m_createdDate;
118 bool m_createdDateHasBeenSet =
false;
121 bool m_descriptionHasBeenSet =
false;
123 long long m_lastModifiedDate;
124 bool m_lastModifiedDateHasBeenSet =
false;
127 bool m_nameHasBeenSet =
false;
130 bool m_policyVersionHasBeenSet =
false;
133 bool m_typeHasBeenSet =
false;
SecurityPolicySummary & WithDescription(Aws::String &&value)
SecurityPolicySummary & WithDescription(const Aws::String &value)
SecurityPolicySummary & WithPolicyVersion(const char *value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicySummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(long long value)
void SetName(Aws::String &&value)
bool PolicyVersionHasBeenSet() const
SecurityPolicySummary & WithName(const Aws::String &value)
void SetName(const char *value)
SecurityPolicySummary & WithName(const char *value)
bool DescriptionHasBeenSet() const
SecurityPolicySummary & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetType(const SecurityPolicyType &value)
void SetDescription(const char *value)
void SetPolicyVersion(const char *value)
void SetDescription(const Aws::String &value)
long long GetCreatedDate() const
void SetType(SecurityPolicyType &&value)
SecurityPolicySummary & WithType(SecurityPolicyType &&value)
SecurityPolicySummary & WithPolicyVersion(const Aws::String &value)
bool CreatedDateHasBeenSet() const
SecurityPolicySummary & WithType(const SecurityPolicyType &value)
bool LastModifiedDateHasBeenSet() const
void SetDescription(Aws::String &&value)
bool NameHasBeenSet() const
long long GetLastModifiedDate() const
const Aws::String & GetPolicyVersion() const
SecurityPolicySummary & WithCreatedDate(long long value)
void SetLastModifiedDate(long long value)
void SetPolicyVersion(Aws::String &&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
AWS_OPENSEARCHSERVERLESS_API SecurityPolicySummary()
SecurityPolicySummary & WithDescription(const char *value)
bool TypeHasBeenSet() const
void SetPolicyVersion(const Aws::String &value)
SecurityPolicySummary & WithPolicyVersion(Aws::String &&value)
const SecurityPolicyType & GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue