7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/CloudDirectoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/clouddirectory/model/ConsistencyLevel.h>
12#include <aws/clouddirectory/model/BatchReadOperation.h>
17namespace CloudDirectory
47 template<
typename DirectoryArnT = Aws::String>
48 void SetDirectoryArn(DirectoryArnT&& value) { m_directoryArnHasBeenSet =
true; m_directoryArn = std::forward<DirectoryArnT>(value); }
49 template<
typename DirectoryArnT = Aws::String>
59 template<
typename OperationsT = Aws::Vector<BatchReadOperation>>
60 void SetOperations(OperationsT&& value) { m_operationsHasBeenSet =
true; m_operations = std::forward<OperationsT>(value); }
61 template<
typename OperationsT = Aws::Vector<BatchReadOperation>>
63 template<
typename OperationsT = BatchReadOperation>
64 BatchReadRequest&
AddOperations(OperationsT&& value) { m_operationsHasBeenSet =
true; m_operations.emplace_back(std::forward<OperationsT>(value));
return *
this; }
80 bool m_directoryArnHasBeenSet =
false;
83 bool m_operationsHasBeenSet =
false;
86 bool m_consistencyLevelHasBeenSet =
false;
AWS_CLOUDDIRECTORY_API BatchReadRequest()=default
bool ConsistencyLevelHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDirectoryArn() const
BatchReadRequest & WithOperations(OperationsT &&value)
void SetConsistencyLevel(ConsistencyLevel value)
BatchReadRequest & WithConsistencyLevel(ConsistencyLevel value)
const Aws::Vector< BatchReadOperation > & GetOperations() const
bool DirectoryArnHasBeenSet() const
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchReadRequest & WithDirectoryArn(DirectoryArnT &&value)
void SetDirectoryArn(DirectoryArnT &&value)
ConsistencyLevel GetConsistencyLevel() const
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
bool OperationsHasBeenSet() const
void SetOperations(OperationsT &&value)
BatchReadRequest & AddOperations(OperationsT &&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