7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace OpenSearchServerless
48 template<
typename IdsT = Aws::Vector<Aws::String>>
49 void SetIds(IdsT&& value) { m_idsHasBeenSet =
true; m_ids = std::forward<IdsT>(value); }
50 template<
typename IdsT = Aws::Vector<Aws::String>>
52 template<
typename IdsT = Aws::String>
63 template<
typename NamesT = Aws::Vector<Aws::String>>
64 void SetNames(NamesT&& value) { m_namesHasBeenSet =
true; m_names = std::forward<NamesT>(value); }
65 template<
typename NamesT = Aws::Vector<Aws::String>>
67 template<
typename NamesT = Aws::String>
73 bool m_idsHasBeenSet =
false;
76 bool m_namesHasBeenSet =
false;
BatchGetCollectionRequest & WithIds(IdsT &&value)
void SetNames(NamesT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
BatchGetCollectionRequest & AddIds(IdsT &&value)
AWS_OPENSEARCHSERVERLESS_API BatchGetCollectionRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetIds() const
const Aws::Vector< Aws::String > & GetNames() const
void SetIds(IdsT &&value)
BatchGetCollectionRequest & WithNames(NamesT &&value)
bool IdsHasBeenSet() const
bool NamesHasBeenSet() const
BatchGetCollectionRequest & AddNames(NamesT &&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