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