7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/model/AccessPolicyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace OpenSearchServerless
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename PolicyVersionT = Aws::String>
71 void SetPolicyVersion(PolicyVersionT&& value) { m_policyVersionHasBeenSet =
true; m_policyVersion = std::forward<PolicyVersionT>(value); }
72 template<
typename PolicyVersionT = Aws::String>
82 template<
typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
84 template<
typename DescriptionT = Aws::String>
94 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
104 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
110 bool m_typeHasBeenSet =
false;
113 bool m_nameHasBeenSet =
false;
116 bool m_policyVersionHasBeenSet =
false;
119 bool m_descriptionHasBeenSet =
false;
121 long long m_createdDate{0};
122 bool m_createdDateHasBeenSet =
false;
124 long long m_lastModifiedDate{0};
125 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