7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/model/SecurityPolicyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Document.h>
23namespace OpenSearchServerless
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
71 template<
typename PolicyVersionT = Aws::String>
72 void SetPolicyVersion(PolicyVersionT&& value) { m_policyVersionHasBeenSet =
true; m_policyVersion = std::forward<PolicyVersionT>(value); }
73 template<
typename PolicyVersionT = Aws::String>
83 template<
typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
85 template<
typename DescriptionT = Aws::String>
95 template<
typename PolicyT = Aws::Utils::Document>
96 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
97 template<
typename PolicyT = Aws::Utils::Document>
107 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
117 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
123 bool m_typeHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
129 bool m_policyVersionHasBeenSet =
false;
132 bool m_descriptionHasBeenSet =
false;
135 bool m_policyHasBeenSet =
false;
137 long long m_createdDate{0};
138 bool m_createdDateHasBeenSet =
false;
140 long long m_lastModifiedDate{0};
141 bool m_lastModifiedDateHasBeenSet =
false;
const Aws::String & GetDescription() const
bool CreatedDateHasBeenSet() const
bool TypeHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyDetail()=default
long long GetCreatedDate() const
void SetName(NameT &&value)
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(SecurityPolicyType value)
void SetLastModifiedDate(long long value)
void SetPolicyVersion(PolicyVersionT &&value)
SecurityPolicyDetail & WithPolicyVersion(PolicyVersionT &&value)
SecurityPolicyDetail & WithCreatedDate(long long value)
Aws::Utils::DocumentView GetPolicy() const
SecurityPolicyDetail & WithPolicy(PolicyT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool PolicyHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetPolicy(PolicyT &&value)
void SetCreatedDate(long long value)
long long GetLastModifiedDate() const
SecurityPolicyDetail & WithType(SecurityPolicyType value)
bool PolicyVersionHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastModifiedDateHasBeenSet() const
bool DescriptionHasBeenSet() const
SecurityPolicyDetail & WithName(NameT &&value)
const Aws::String & GetPolicyVersion() const
SecurityPolicyDetail & WithLastModifiedDate(long long value)
SecurityPolicyType GetType() const
AWS_OPENSEARCHSERVERLESS_API SecurityPolicyDetail(Aws::Utils::Json::JsonView jsonValue)
SecurityPolicyDetail & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue