7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <aws/opensearchserverless/model/SecurityPolicyType.h>
23namespace OpenSearchServerless
49 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
61 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
73 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
111 inline void SetPolicyVersion(
const char* value) { m_policyVersionHasBeenSet =
true; m_policyVersion.assign(value); }
130 long long m_createdDate;
131 bool m_createdDateHasBeenSet =
false;
134 bool m_descriptionHasBeenSet =
false;
136 long long m_lastModifiedDate;
137 bool m_lastModifiedDateHasBeenSet =
false;
140 bool m_nameHasBeenSet =
false;
143 bool m_policyHasBeenSet =
false;
146 bool m_policyVersionHasBeenSet =
false;
149 bool m_typeHasBeenSet =
false;
SecurityPolicyDetail & WithPolicyVersion(Aws::String &&value)
SecurityPolicyDetail & WithName(const char *value)
void SetType(const SecurityPolicyType &value)
const Aws::String & GetDescription() const
void SetType(SecurityPolicyType &&value)
void SetPolicy(Aws::Utils::Document &&value)
SecurityPolicyDetail & WithType(SecurityPolicyType &&value)
void SetPolicyVersion(Aws::String &&value)
bool CreatedDateHasBeenSet() const
const SecurityPolicyType & GetType() const
bool TypeHasBeenSet() const
void SetName(const Aws::String &value)
SecurityPolicyDetail & WithName(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyDetail()
long long GetCreatedDate() const
void SetPolicyVersion(const char *value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityPolicyDetail & WithPolicy(const Aws::Utils::Document &value)
void SetLastModifiedDate(long long value)
void SetPolicyVersion(const Aws::String &value)
SecurityPolicyDetail & WithPolicyVersion(const char *value)
void SetDescription(const Aws::String &value)
SecurityPolicyDetail & WithCreatedDate(long long value)
Aws::Utils::DocumentView GetPolicy() const
SecurityPolicyDetail & WithName(Aws::String &&value)
SecurityPolicyDetail & WithDescription(const Aws::String &value)
bool NameHasBeenSet() const
void SetDescription(Aws::String &&value)
const Aws::String & GetName() const
bool PolicyHasBeenSet() const
void SetCreatedDate(long long value)
long long GetLastModifiedDate() const
void SetName(const char *value)
SecurityPolicyDetail & WithDescription(Aws::String &&value)
bool PolicyVersionHasBeenSet() const
void SetDescription(const char *value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
void SetPolicy(const Aws::Utils::Document &value)
bool LastModifiedDateHasBeenSet() const
SecurityPolicyDetail & WithPolicy(Aws::Utils::Document &&value)
SecurityPolicyDetail & WithDescription(const char *value)
bool DescriptionHasBeenSet() const
const Aws::String & GetPolicyVersion() const
SecurityPolicyDetail & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyDetail(Aws::Utils::Json::JsonView jsonValue)
SecurityPolicyDetail & WithPolicyVersion(const Aws::String &value)
SecurityPolicyDetail & WithType(const SecurityPolicyType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue