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/AccessPolicyType.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;
bool PolicyVersionHasBeenSet() const
AccessPolicyDetail & WithName(const char *value)
AccessPolicyDetail & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
long long GetCreatedDate() const
void SetName(const char *value)
bool LastModifiedDateHasBeenSet() const
bool CreatedDateHasBeenSet() const
AccessPolicyDetail & WithPolicy(Aws::Utils::Document &&value)
const AccessPolicyType & GetType() const
AccessPolicyDetail & WithType(AccessPolicyType &&value)
AccessPolicyDetail & WithDescription(const Aws::String &value)
void SetName(const Aws::String &value)
AccessPolicyDetail & WithPolicy(const Aws::Utils::Document &value)
bool NameHasBeenSet() const
void SetPolicy(Aws::Utils::Document &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
void SetType(const AccessPolicyType &value)
const Aws::String & GetName() const
void SetPolicyVersion(const char *value)
bool DescriptionHasBeenSet() const
AccessPolicyDetail & WithName(Aws::String &&value)
Aws::Utils::DocumentView GetPolicy() const
void SetCreatedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API AccessPolicyDetail(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
AccessPolicyDetail & WithDescription(const char *value)
void SetPolicy(const Aws::Utils::Document &value)
const Aws::String & GetPolicyVersion() const
void SetLastModifiedDate(long long value)
bool TypeHasBeenSet() const
AccessPolicyDetail & WithPolicyVersion(const Aws::String &value)
bool PolicyHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(AccessPolicyType &&value)
AccessPolicyDetail & WithPolicyVersion(const char *value)
AWS_OPENSEARCHSERVERLESS_API AccessPolicyDetail()
void SetPolicyVersion(const Aws::String &value)
AccessPolicyDetail & WithLastModifiedDate(long long value)
AccessPolicyDetail & WithType(const AccessPolicyType &value)
long long GetLastModifiedDate() const
void SetName(Aws::String &&value)
void SetPolicyVersion(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API AccessPolicyDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessPolicyDetail & WithCreatedDate(long long value)
AccessPolicyDetail & WithPolicyVersion(Aws::String &&value)
AccessPolicyDetail & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue