7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
15namespace OpenSearchServerless {
44 template <
typename IdsT = Aws::Vector<Aws::String>>
46 m_idsHasBeenSet =
true;
47 m_ids = std::forward<IdsT>(value);
49 template <
typename IdsT = Aws::Vector<Aws::String>>
51 SetIds(std::forward<IdsT>(value));
54 template <
typename IdsT = Aws::String>
56 m_idsHasBeenSet =
true;
57 m_ids.emplace_back(std::forward<IdsT>(value));
69 template <
typename NamesT = Aws::Vector<Aws::String>>
71 m_namesHasBeenSet =
true;
72 m_names = std::forward<NamesT>(value);
74 template <
typename NamesT = Aws::Vector<Aws::String>>
76 SetNames(std::forward<NamesT>(value));
79 template <
typename NamesT = Aws::String>
81 m_namesHasBeenSet =
true;
82 m_names.emplace_back(std::forward<NamesT>(value));
90 bool m_idsHasBeenSet =
false;
91 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