7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/BatchReadOperation.h>
10#include <aws/clouddirectory/model/ConsistencyLevel.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace CloudDirectory {
43 template <
typename DirectoryArnT = Aws::String>
45 m_directoryArnHasBeenSet =
true;
46 m_directoryArn = std::forward<DirectoryArnT>(value);
48 template <
typename DirectoryArnT = Aws::String>
61 template <
typename OperationsT = Aws::Vector<BatchReadOperation>>
63 m_operationsHasBeenSet =
true;
64 m_operations = std::forward<OperationsT>(value);
66 template <
typename OperationsT = Aws::Vector<BatchReadOperation>>
71 template <
typename OperationsT = BatchReadOperation>
73 m_operationsHasBeenSet =
true;
74 m_operations.emplace_back(std::forward<OperationsT>(value));
87 m_consistencyLevelHasBeenSet =
true;
88 m_consistencyLevel = value;
101 bool m_directoryArnHasBeenSet =
false;
102 bool m_operationsHasBeenSet =
false;
103 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