7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailSummary.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename GuardrailsT = Aws::Vector<GuardrailSummary>>
39 m_guardrailsHasBeenSet =
true;
40 m_guardrails = std::forward<GuardrailsT>(value);
42 template <
typename GuardrailsT = Aws::Vector<GuardrailSummary>>
47 template <
typename GuardrailsT = GuardrailSummary>
49 m_guardrailsHasBeenSet =
true;
50 m_guardrails.emplace_back(std::forward<GuardrailsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
97 bool m_guardrailsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
AWS_BEDROCK_API ListGuardrailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_BEDROCK_API ListGuardrailsResult()=default
ListGuardrailsResult & WithNextToken(NextTokenT &&value)
AWS_BEDROCK_API ListGuardrailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
void SetGuardrails(GuardrailsT &&value)
ListGuardrailsResult & WithGuardrails(GuardrailsT &&value)
ListGuardrailsResult & AddGuardrails(GuardrailsT &&value)
ListGuardrailsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< GuardrailSummary > & GetGuardrails() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue