7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
10#include <aws/secretsmanager/model/APIErrorType.h>
11#include <aws/secretsmanager/model/SecretValueEntry.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace SecretsManager {
37 template <
typename SecretValuesT = Aws::Vector<SecretValueEntry>>
39 m_secretValuesHasBeenSet =
true;
40 m_secretValues = std::forward<SecretValuesT>(value);
42 template <
typename SecretValuesT = Aws::Vector<SecretValueEntry>>
47 template <
typename SecretValuesT = SecretValueEntry>
49 m_secretValuesHasBeenSet =
true;
50 m_secretValues.emplace_back(std::forward<SecretValuesT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
82 template <
typename ErrorsT = Aws::Vector<APIErrorType>>
84 m_errorsHasBeenSet =
true;
85 m_errors = std::forward<ErrorsT>(value);
87 template <
typename ErrorsT = Aws::Vector<APIErrorType>>
92 template <
typename ErrorsT = APIErrorType>
94 m_errorsHasBeenSet =
true;
95 m_errors.emplace_back(std::forward<ErrorsT>(value));
103 template <
typename RequestIdT = Aws::String>
105 m_requestIdHasBeenSet =
true;
106 m_requestId = std::forward<RequestIdT>(value);
108 template <
typename RequestIdT = Aws::String>
122 bool m_secretValuesHasBeenSet =
false;
123 bool m_nextTokenHasBeenSet =
false;
124 bool m_errorsHasBeenSet =
false;
125 bool m_requestIdHasBeenSet =
false;
AWS_SECRETSMANAGER_API BatchGetSecretValueResult()=default
BatchGetSecretValueResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
AWS_SECRETSMANAGER_API BatchGetSecretValueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetSecretValues(SecretValuesT &&value)
BatchGetSecretValueResult & WithNextToken(NextTokenT &&value)
void SetErrors(ErrorsT &&value)
const Aws::Vector< APIErrorType > & GetErrors() const
AWS_SECRETSMANAGER_API BatchGetSecretValueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetSecretValueResult & AddErrors(ErrorsT &&value)
BatchGetSecretValueResult & WithSecretValues(SecretValuesT &&value)
BatchGetSecretValueResult & AddSecretValues(SecretValuesT &&value)
const Aws::Vector< SecretValueEntry > & GetSecretValues() const
BatchGetSecretValueResult & WithErrors(ErrorsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue