7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/AccessPolicyType.h>
22namespace OpenSearchServerless
47 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
59 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
71 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
83 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
97 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;
long long GetLastModifiedDate() const
AccessPolicySummary & WithCreatedDate(long long value)
void SetDescription(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API AccessPolicySummary(Aws::Utils::Json::JsonView jsonValue)
AccessPolicySummary & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AccessPolicySummary & WithName(const char *value)
bool CreatedDateHasBeenSet() const
AccessPolicySummary & WithPolicyVersion(Aws::String &&value)
void SetName(const char *value)
void SetName(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetPolicyVersion() const
void SetCreatedDate(long long value)
bool TypeHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
void SetPolicyVersion(const char *value)
void SetType(AccessPolicyType &&value)
AccessPolicySummary & WithDescription(const Aws::String &value)
void SetName(const Aws::String &value)
AccessPolicySummary & WithType(AccessPolicyType &&value)
bool PolicyVersionHasBeenSet() const
AccessPolicySummary & WithType(const AccessPolicyType &value)
AccessPolicySummary & WithPolicyVersion(const Aws::String &value)
void SetPolicyVersion(const Aws::String &value)
AccessPolicySummary & WithDescription(const char *value)
void SetType(const AccessPolicyType &value)
void SetPolicyVersion(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API AccessPolicySummary()
AWS_OPENSEARCHSERVERLESS_API AccessPolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetCreatedDate() const
bool NameHasBeenSet() const
AccessPolicySummary & WithPolicyVersion(const char *value)
const AccessPolicyType & GetType() const
AccessPolicySummary & WithName(Aws::String &&value)
const Aws::String & GetName() const
void SetLastModifiedDate(long long value)
AccessPolicySummary & WithName(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
bool DescriptionHasBeenSet() const
AccessPolicySummary & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue