AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictQAppInputOptions.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qapps/model/ConversationMessage.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QApps
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QAPPS_API PredictQAppInputOptions();
40 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<ConversationMessage>& GetConversation() const{ return m_conversation; }
48 inline bool ConversationHasBeenSet() const { return m_conversationHasBeenSet; }
49 inline void SetConversation(const Aws::Vector<ConversationMessage>& value) { m_conversationHasBeenSet = true; m_conversation = value; }
50 inline void SetConversation(Aws::Vector<ConversationMessage>&& value) { m_conversationHasBeenSet = true; m_conversation = std::move(value); }
53 inline PredictQAppInputOptions& AddConversation(const ConversationMessage& value) { m_conversationHasBeenSet = true; m_conversation.push_back(value); return *this; }
54 inline PredictQAppInputOptions& AddConversation(ConversationMessage&& value) { m_conversationHasBeenSet = true; m_conversation.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetProblemStatement() const{ return m_problemStatement; }
62 inline bool ProblemStatementHasBeenSet() const { return m_problemStatementHasBeenSet; }
63 inline void SetProblemStatement(const Aws::String& value) { m_problemStatementHasBeenSet = true; m_problemStatement = value; }
64 inline void SetProblemStatement(Aws::String&& value) { m_problemStatementHasBeenSet = true; m_problemStatement = std::move(value); }
65 inline void SetProblemStatement(const char* value) { m_problemStatementHasBeenSet = true; m_problemStatement.assign(value); }
66 inline PredictQAppInputOptions& WithProblemStatement(const Aws::String& value) { SetProblemStatement(value); return *this;}
67 inline PredictQAppInputOptions& WithProblemStatement(Aws::String&& value) { SetProblemStatement(std::move(value)); return *this;}
68 inline PredictQAppInputOptions& WithProblemStatement(const char* value) { SetProblemStatement(value); return *this;}
70 private:
71
73 bool m_conversationHasBeenSet = false;
74
75 Aws::String m_problemStatement;
76 bool m_problemStatementHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QApps
81} // namespace Aws
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
PredictQAppInputOptions & AddConversation(ConversationMessage &&value)
void SetProblemStatement(const Aws::String &value)
AWS_QAPPS_API PredictQAppInputOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API PredictQAppInputOptions(Aws::Utils::Json::JsonView jsonValue)
PredictQAppInputOptions & WithProblemStatement(const Aws::String &value)
PredictQAppInputOptions & WithConversation(Aws::Vector< ConversationMessage > &&value)
PredictQAppInputOptions & WithProblemStatement(Aws::String &&value)
void SetConversation(Aws::Vector< ConversationMessage > &&value)
PredictQAppInputOptions & WithProblemStatement(const char *value)
PredictQAppInputOptions & AddConversation(const ConversationMessage &value)
void SetConversation(const Aws::Vector< ConversationMessage > &value)
const Aws::Vector< ConversationMessage > & GetConversation() const
PredictQAppInputOptions & WithConversation(const Aws::Vector< ConversationMessage > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue