AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
MultiAgentInstruction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
30 public:
31 AWS_QCONNECT_API MultiAgentInstruction() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetInstruction() const { return m_instruction; }
42 inline bool InstructionHasBeenSet() const { return m_instructionHasBeenSet; }
43 template <typename InstructionT = Aws::String>
45 m_instructionHasBeenSet = true;
46 m_instruction = std::forward<InstructionT>(value);
47 }
48 template <typename InstructionT = Aws::String>
50 SetInstruction(std::forward<InstructionT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<Aws::String>& GetExamples() const { return m_examples; }
61 inline bool ExamplesHasBeenSet() const { return m_examplesHasBeenSet; }
62 template <typename ExamplesT = Aws::Vector<Aws::String>>
63 void SetExamples(ExamplesT&& value) {
64 m_examplesHasBeenSet = true;
65 m_examples = std::forward<ExamplesT>(value);
66 }
67 template <typename ExamplesT = Aws::Vector<Aws::String>>
69 SetExamples(std::forward<ExamplesT>(value));
70 return *this;
71 }
72 template <typename ExamplesT = Aws::String>
74 m_examplesHasBeenSet = true;
75 m_examples.emplace_back(std::forward<ExamplesT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_instruction;
81
82 Aws::Vector<Aws::String> m_examples;
83 bool m_instructionHasBeenSet = false;
84 bool m_examplesHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace QConnect
89} // namespace Aws
MultiAgentInstruction & WithExamples(ExamplesT &&value)
const Aws::Vector< Aws::String > & GetExamples() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API MultiAgentInstruction(Aws::Utils::Json::JsonView jsonValue)
MultiAgentInstruction & WithInstruction(InstructionT &&value)
MultiAgentInstruction & AddExamples(ExamplesT &&value)
AWS_QCONNECT_API MultiAgentInstruction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API MultiAgentInstruction()=default
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