7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/SecurityPolicyType.h>
15namespace OpenSearchServerless
46 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 bool m_nameHasBeenSet =
false;
69 bool m_typeHasBeenSet =
false;
GetSecurityPolicyRequest & WithType(SecurityPolicyType &&value)
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetType(const SecurityPolicyType &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetSecurityPolicyRequest & WithName(const Aws::String &value)
void SetType(SecurityPolicyType &&value)
const Aws::String & GetName() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
GetSecurityPolicyRequest & WithName(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API GetSecurityPolicyRequest()
GetSecurityPolicyRequest & WithType(const SecurityPolicyType &value)
GetSecurityPolicyRequest & WithName(const char *value)
bool NameHasBeenSet() const
const SecurityPolicyType & GetType() const
void SetName(const char *value)
bool TypeHasBeenSet() const
void SetName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String