7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
11#include <aws/secretsmanager/model/APIErrorType.h>
12#include <aws/secretsmanager/model/SecretValueEntry.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace SecretsManager {
38 template <
typename SecretValuesT = Aws::Vector<SecretValueEntry>>
40 m_secretValuesHasBeenSet =
true;
41 m_secretValues = std::forward<SecretValuesT>(value);
43 template <
typename SecretValuesT = Aws::Vector<SecretValueEntry>>
48 template <
typename SecretValuesT = SecretValueEntry>
50 m_secretValuesHasBeenSet =
true;
51 m_secretValues.emplace_back(std::forward<SecretValuesT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
83 template <
typename ErrorsT = Aws::Vector<APIErrorType>>
85 m_errorsHasBeenSet =
true;
86 m_errors = std::forward<ErrorsT>(value);
88 template <
typename ErrorsT = Aws::Vector<APIErrorType>>
93 template <
typename ErrorsT = APIErrorType>
95 m_errorsHasBeenSet =
true;
96 m_errors.emplace_back(std::forward<ErrorsT>(value));
104 template <
typename RequestIdT = Aws::String>
106 m_requestIdHasBeenSet =
true;
107 m_requestId = std::forward<RequestIdT>(value);
109 template <
typename RequestIdT = Aws::String>
126 bool m_secretValuesHasBeenSet =
false;
127 bool m_nextTokenHasBeenSet =
false;
128 bool m_errorsHasBeenSet =
false;
129 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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