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/AccessPolicyType.h>
15namespace OpenSearchServerless
46 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 bool m_nameHasBeenSet =
false;
70 bool m_typeHasBeenSet =
false;
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API GetAccessPolicyRequest()
void SetName(const char *value)
void SetName(Aws::String &&value)
void SetType(AccessPolicyType &&value)
GetAccessPolicyRequest & WithType(AccessPolicyType &&value)
GetAccessPolicyRequest & WithType(const AccessPolicyType &value)
const AccessPolicyType & GetType() const
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
GetAccessPolicyRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
GetAccessPolicyRequest & WithName(Aws::String &&value)
GetAccessPolicyRequest & WithName(const Aws::String &value)
bool TypeHasBeenSet() const
void SetName(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetName() const
void SetType(const AccessPolicyType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String