7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GeneratedQueryType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentRuntime {
42 template <
typename SqlT = Aws::String>
44 m_sqlHasBeenSet =
true;
45 m_sql = std::forward<SqlT>(value);
47 template <
typename SqlT = Aws::String>
49 SetSql(std::forward<SqlT>(value));
61 m_typeHasBeenSet =
true;
73 bool m_sqlHasBeenSet =
false;
74 bool m_typeHasBeenSet =
false;
bool TypeHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(GeneratedQueryType value)
GeneratedQuery & WithSql(SqlT &&value)
const Aws::String & GetSql() const
void SetSql(SqlT &&value)
GeneratedQuery & WithType(GeneratedQueryType value)
GeneratedQueryType GetType() const
AWS_BEDROCKAGENTRUNTIME_API GeneratedQuery(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GeneratedQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GeneratedQuery()=default
bool SqlHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue