7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/AccessPolicyType.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;
long long GetLastModifiedDate() const
void SetDescription(DescriptionT &&value)
AccessPolicySummary & WithDescription(DescriptionT &&value)
AccessPolicySummary & WithCreatedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API AccessPolicySummary(Aws::Utils::Json::JsonView jsonValue)
AccessPolicySummary & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedDateHasBeenSet() const
void SetPolicyVersion(PolicyVersionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetPolicyVersion() const
void SetCreatedDate(long long value)
bool TypeHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
AccessPolicySummary & WithName(NameT &&value)
bool PolicyVersionHasBeenSet() const
void SetName(NameT &&value)
AWS_OPENSEARCHSERVERLESS_API AccessPolicySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetCreatedDate() const
AccessPolicyType GetType() const
AWS_OPENSEARCHSERVERLESS_API AccessPolicySummary()=default
bool NameHasBeenSet() const
void SetType(AccessPolicyType value)
const Aws::String & GetName() const
void SetLastModifiedDate(long long value)
AccessPolicySummary & WithPolicyVersion(PolicyVersionT &&value)
bool DescriptionHasBeenSet() const
AccessPolicySummary & WithType(AccessPolicyType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue