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/core/utils/memory/stl/AWSVector.h>
11#include <aws/opensearchserverless/model/AccessPolicyType.h>
16namespace OpenSearchServerless
47 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
62 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
98 bool m_maxResultsHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
104 bool m_resourceHasBeenSet =
false;
107 bool m_typeHasBeenSet =
false;
void SetNextToken(Aws::String &&value)
void SetResource(Aws::Vector< Aws::String > &&value)
const AccessPolicyType & GetType() const
bool ResourceHasBeenSet() const
ListAccessPoliciesRequest & AddResource(const char *value)
bool MaxResultsHasBeenSet() const
ListAccessPoliciesRequest & WithType(AccessPolicyType &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetResource() const
void SetNextToken(const char *value)
ListAccessPoliciesRequest & AddResource(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API ListAccessPoliciesRequest()
void SetMaxResults(int value)
void SetType(const AccessPolicyType &value)
void SetType(AccessPolicyType &&value)
int GetMaxResults() const
bool NextTokenHasBeenSet() const
void SetResource(const Aws::Vector< Aws::String > &value)
ListAccessPoliciesRequest & WithMaxResults(int value)
ListAccessPoliciesRequest & WithNextToken(const char *value)
bool TypeHasBeenSet() const
void SetNextToken(const Aws::String &value)
ListAccessPoliciesRequest & WithNextToken(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAccessPoliciesRequest & WithNextToken(const Aws::String &value)
ListAccessPoliciesRequest & WithResource(const Aws::Vector< Aws::String > &value)
ListAccessPoliciesRequest & WithResource(Aws::Vector< Aws::String > &&value)
ListAccessPoliciesRequest & AddResource(Aws::String &&value)
ListAccessPoliciesRequest & WithType(const AccessPolicyType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector