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/LifecyclePolicyType.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_resourcesHasBeenSet =
false;
107 bool m_typeHasBeenSet =
false;
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
ListLifecyclePoliciesRequest & WithType(const LifecyclePolicyType &value)
AWS_OPENSEARCHSERVERLESS_API ListLifecyclePoliciesRequest()
bool NextTokenHasBeenSet() const
ListLifecyclePoliciesRequest & WithNextToken(const Aws::String &value)
bool TypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetResources() const
void SetNextToken(Aws::String &&value)
ListLifecyclePoliciesRequest & AddResources(const Aws::String &value)
ListLifecyclePoliciesRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
const Aws::String & GetNextToken() const
ListLifecyclePoliciesRequest & WithMaxResults(int value)
ListLifecyclePoliciesRequest & WithResources(Aws::Vector< Aws::String > &&value)
void SetType(const LifecyclePolicyType &value)
void SetResources(Aws::Vector< Aws::String > &&value)
bool ResourcesHasBeenSet() const
ListLifecyclePoliciesRequest & WithResources(const Aws::Vector< Aws::String > &value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(const char *value)
const LifecyclePolicyType & GetType() const
ListLifecyclePoliciesRequest & WithNextToken(Aws::String &&value)
ListLifecyclePoliciesRequest & AddResources(const char *value)
virtual const char * GetServiceRequestName() const override
void SetMaxResults(int value)
int GetMaxResults() const
ListLifecyclePoliciesRequest & WithType(LifecyclePolicyType &&value)
ListLifecyclePoliciesRequest & AddResources(Aws::String &&value)
void SetResources(const Aws::Vector< Aws::String > &value)
void SetType(LifecyclePolicyType &&value)
bool MaxResultsHasBeenSet() const
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