AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutFeedbackResult.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/ContentFeedbackData.h>
10#include <aws/qconnect/model/TargetType.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QConnect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QCONNECT_API PutFeedbackResult();
35
36
38
41 inline const Aws::String& GetAssistantArn() const{ return m_assistantArn; }
42 inline void SetAssistantArn(const Aws::String& value) { m_assistantArn = value; }
43 inline void SetAssistantArn(Aws::String&& value) { m_assistantArn = std::move(value); }
44 inline void SetAssistantArn(const char* value) { m_assistantArn.assign(value); }
45 inline PutFeedbackResult& WithAssistantArn(const Aws::String& value) { SetAssistantArn(value); return *this;}
46 inline PutFeedbackResult& WithAssistantArn(Aws::String&& value) { SetAssistantArn(std::move(value)); return *this;}
47 inline PutFeedbackResult& WithAssistantArn(const char* value) { SetAssistantArn(value); return *this;}
49
51
54 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
55 inline void SetAssistantId(const Aws::String& value) { m_assistantId = value; }
56 inline void SetAssistantId(Aws::String&& value) { m_assistantId = std::move(value); }
57 inline void SetAssistantId(const char* value) { m_assistantId.assign(value); }
58 inline PutFeedbackResult& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
59 inline PutFeedbackResult& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
60 inline PutFeedbackResult& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
62
64
67 inline const ContentFeedbackData& GetContentFeedback() const{ return m_contentFeedback; }
68 inline void SetContentFeedback(const ContentFeedbackData& value) { m_contentFeedback = value; }
69 inline void SetContentFeedback(ContentFeedbackData&& value) { m_contentFeedback = std::move(value); }
70 inline PutFeedbackResult& WithContentFeedback(const ContentFeedbackData& value) { SetContentFeedback(value); return *this;}
71 inline PutFeedbackResult& WithContentFeedback(ContentFeedbackData&& value) { SetContentFeedback(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetTargetId() const{ return m_targetId; }
79 inline void SetTargetId(const Aws::String& value) { m_targetId = value; }
80 inline void SetTargetId(Aws::String&& value) { m_targetId = std::move(value); }
81 inline void SetTargetId(const char* value) { m_targetId.assign(value); }
82 inline PutFeedbackResult& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;}
83 inline PutFeedbackResult& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
84 inline PutFeedbackResult& WithTargetId(const char* value) { SetTargetId(value); return *this;}
86
88
91 inline const TargetType& GetTargetType() const{ return m_targetType; }
92 inline void SetTargetType(const TargetType& value) { m_targetType = value; }
93 inline void SetTargetType(TargetType&& value) { m_targetType = std::move(value); }
94 inline PutFeedbackResult& WithTargetType(const TargetType& value) { SetTargetType(value); return *this;}
95 inline PutFeedbackResult& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline PutFeedbackResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline PutFeedbackResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline PutFeedbackResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 Aws::String m_assistantArn;
111
112 Aws::String m_assistantId;
113
114 ContentFeedbackData m_contentFeedback;
115
116 Aws::String m_targetId;
117
118 TargetType m_targetType;
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace QConnect
125} // namespace Aws
const ContentFeedbackData & GetContentFeedback() const
PutFeedbackResult & WithTargetId(Aws::String &&value)
PutFeedbackResult & WithRequestId(const char *value)
void SetTargetType(const TargetType &value)
PutFeedbackResult & WithContentFeedback(ContentFeedbackData &&value)
PutFeedbackResult & WithContentFeedback(const ContentFeedbackData &value)
void SetTargetId(const Aws::String &value)
const TargetType & GetTargetType() const
PutFeedbackResult & WithRequestId(const Aws::String &value)
AWS_QCONNECT_API PutFeedbackResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutFeedbackResult & WithTargetType(TargetType &&value)
AWS_QCONNECT_API PutFeedbackResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutFeedbackResult & WithAssistantId(const Aws::String &value)
PutFeedbackResult & WithAssistantId(const char *value)
const Aws::String & GetAssistantArn() const
const Aws::String & GetTargetId() const
void SetContentFeedback(const ContentFeedbackData &value)
PutFeedbackResult & WithAssistantArn(const char *value)
PutFeedbackResult & WithAssistantId(Aws::String &&value)
void SetContentFeedback(ContentFeedbackData &&value)
PutFeedbackResult & WithAssistantArn(const Aws::String &value)
void SetAssistantId(const Aws::String &value)
void SetAssistantArn(const Aws::String &value)
PutFeedbackResult & WithRequestId(Aws::String &&value)
PutFeedbackResult & WithTargetId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
PutFeedbackResult & WithTargetId(const char *value)
PutFeedbackResult & WithTargetType(const TargetType &value)
const Aws::String & GetAssistantId() const
PutFeedbackResult & WithAssistantArn(Aws::String &&value)
void SetAssistantArn(Aws::String &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue