AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/TargetType.h>
10#include <aws/qconnect/model/ContentFeedbackData.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() = default;
35
36
38
41 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
42 template<typename AssistantIdT = Aws::String>
43 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
44 template<typename AssistantIdT = Aws::String>
45 PutFeedbackResult& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetAssistantArn() const { return m_assistantArn; }
53 template<typename AssistantArnT = Aws::String>
54 void SetAssistantArn(AssistantArnT&& value) { m_assistantArnHasBeenSet = true; m_assistantArn = std::forward<AssistantArnT>(value); }
55 template<typename AssistantArnT = Aws::String>
56 PutFeedbackResult& WithAssistantArn(AssistantArnT&& value) { SetAssistantArn(std::forward<AssistantArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetTargetId() const { return m_targetId; }
64 template<typename TargetIdT = Aws::String>
65 void SetTargetId(TargetIdT&& value) { m_targetIdHasBeenSet = true; m_targetId = std::forward<TargetIdT>(value); }
66 template<typename TargetIdT = Aws::String>
67 PutFeedbackResult& WithTargetId(TargetIdT&& value) { SetTargetId(std::forward<TargetIdT>(value)); return *this;}
69
71
74 inline TargetType GetTargetType() const { return m_targetType; }
75 inline void SetTargetType(TargetType value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
76 inline PutFeedbackResult& WithTargetType(TargetType value) { SetTargetType(value); return *this;}
78
80
83 inline const ContentFeedbackData& GetContentFeedback() const { return m_contentFeedback; }
84 template<typename ContentFeedbackT = ContentFeedbackData>
85 void SetContentFeedback(ContentFeedbackT&& value) { m_contentFeedbackHasBeenSet = true; m_contentFeedback = std::forward<ContentFeedbackT>(value); }
86 template<typename ContentFeedbackT = ContentFeedbackData>
87 PutFeedbackResult& WithContentFeedback(ContentFeedbackT&& value) { SetContentFeedback(std::forward<ContentFeedbackT>(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 PutFeedbackResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_assistantId;
101 bool m_assistantIdHasBeenSet = false;
102
103 Aws::String m_assistantArn;
104 bool m_assistantArnHasBeenSet = false;
105
106 Aws::String m_targetId;
107 bool m_targetIdHasBeenSet = false;
108
109 TargetType m_targetType{TargetType::NOT_SET};
110 bool m_targetTypeHasBeenSet = false;
111
112 ContentFeedbackData m_contentFeedback;
113 bool m_contentFeedbackHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace QConnect
121} // namespace Aws
const ContentFeedbackData & GetContentFeedback() const
PutFeedbackResult & WithRequestId(RequestIdT &&value)
void SetAssistantArn(AssistantArnT &&value)
PutFeedbackResult & WithContentFeedback(ContentFeedbackT &&value)
AWS_QCONNECT_API PutFeedbackResult()=default
void SetAssistantId(AssistantIdT &&value)
AWS_QCONNECT_API PutFeedbackResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QCONNECT_API PutFeedbackResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutFeedbackResult & WithAssistantId(AssistantIdT &&value)
const Aws::String & GetAssistantArn() const
const Aws::String & GetTargetId() const
void SetContentFeedback(ContentFeedbackT &&value)
PutFeedbackResult & WithTargetId(TargetIdT &&value)
PutFeedbackResult & WithAssistantArn(AssistantArnT &&value)
const Aws::String & GetAssistantId() const
const Aws::String & GetRequestId() const
PutFeedbackResult & WithTargetType(TargetType value)
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