AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CitationsConfig.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockRuntime {
17namespace Model {
18
28 public:
29 AWS_BEDROCKRUNTIME_API CitationsConfig() = default;
32 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline bool GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(bool value) {
43 m_enabledHasBeenSet = true;
44 m_enabled = value;
45 }
46 inline CitationsConfig& WithEnabled(bool value) {
47 SetEnabled(value);
48 return *this;
49 }
51 private:
52 bool m_enabled{false};
53 bool m_enabledHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace BedrockRuntime
58} // namespace Aws
AWS_BEDROCKRUNTIME_API CitationsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CitationsConfig & WithEnabled(bool value)
AWS_BEDROCKRUNTIME_API CitationsConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API CitationsConfig()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue