AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PredictQAppInputOptions.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/qapps/QApps_EXPORTS.h>
10#include <aws/qapps/model/ConversationMessage.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QApps {
22namespace Model {
23
31 public:
32 AWS_QAPPS_API PredictQAppInputOptions() = default;
35 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<ConversationMessage>& GetConversation() const { return m_conversation; }
42 inline bool ConversationHasBeenSet() const { return m_conversationHasBeenSet; }
43 template <typename ConversationT = Aws::Vector<ConversationMessage>>
45 m_conversationHasBeenSet = true;
46 m_conversation = std::forward<ConversationT>(value);
47 }
48 template <typename ConversationT = Aws::Vector<ConversationMessage>>
50 SetConversation(std::forward<ConversationT>(value));
51 return *this;
52 }
53 template <typename ConversationT = ConversationMessage>
55 m_conversationHasBeenSet = true;
56 m_conversation.emplace_back(std::forward<ConversationT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetProblemStatement() const { return m_problemStatement; }
66 inline bool ProblemStatementHasBeenSet() const { return m_problemStatementHasBeenSet; }
67 template <typename ProblemStatementT = Aws::String>
69 m_problemStatementHasBeenSet = true;
70 m_problemStatement = std::forward<ProblemStatementT>(value);
71 }
72 template <typename ProblemStatementT = Aws::String>
74 SetProblemStatement(std::forward<ProblemStatementT>(value));
75 return *this;
76 }
78 private:
80
81 Aws::String m_problemStatement;
82 bool m_conversationHasBeenSet = false;
83 bool m_problemStatementHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace QApps
88} // namespace Aws
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QAPPS_API PredictQAppInputOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictQAppInputOptions & AddConversation(ConversationT &&value)
AWS_QAPPS_API PredictQAppInputOptions(Aws::Utils::Json::JsonView jsonValue)
PredictQAppInputOptions & WithConversation(ConversationT &&value)
AWS_QAPPS_API PredictQAppInputOptions()=default
const Aws::Vector< ConversationMessage > & GetConversation() const
PredictQAppInputOptions & WithProblemStatement(ProblemStatementT &&value)
void SetProblemStatement(ProblemStatementT &&value)
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