AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
QueryGenerationColumn.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/IncludeExclude.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENT_API QueryGenerationColumn() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
79 inline IncludeExclude GetInclusion() const { return m_inclusion; }
80 inline bool InclusionHasBeenSet() const { return m_inclusionHasBeenSet; }
81 inline void SetInclusion(IncludeExclude value) {
82 m_inclusionHasBeenSet = true;
83 m_inclusion = value;
84 }
86 SetInclusion(value);
87 return *this;
88 }
90 private:
91 Aws::String m_name;
92
93 Aws::String m_description;
94
96 bool m_nameHasBeenSet = false;
97 bool m_descriptionHasBeenSet = false;
98 bool m_inclusionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace BedrockAgent
103} // namespace Aws
AWS_BEDROCKAGENT_API QueryGenerationColumn(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
QueryGenerationColumn & WithInclusion(IncludeExclude value)
AWS_BEDROCKAGENT_API QueryGenerationColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryGenerationColumn & WithDescription(DescriptionT &&value)
QueryGenerationColumn & WithName(NameT &&value)
AWS_BEDROCKAGENT_API QueryGenerationColumn()=default
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