AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IntentDetectedDataDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/RelevanceLevel.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
29 public:
30 AWS_QCONNECT_API IntentDetectedDataDetails() = default;
33 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetIntent() const { return m_intent; }
40 inline bool IntentHasBeenSet() const { return m_intentHasBeenSet; }
41 template <typename IntentT = Aws::String>
42 void SetIntent(IntentT&& value) {
43 m_intentHasBeenSet = true;
44 m_intent = std::forward<IntentT>(value);
45 }
46 template <typename IntentT = Aws::String>
48 SetIntent(std::forward<IntentT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIntentId() const { return m_intentId; }
58 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
59 template <typename IntentIdT = Aws::String>
60 void SetIntentId(IntentIdT&& value) {
61 m_intentIdHasBeenSet = true;
62 m_intentId = std::forward<IntentIdT>(value);
63 }
64 template <typename IntentIdT = Aws::String>
66 SetIntentId(std::forward<IntentIdT>(value));
67 return *this;
68 }
70
72
75 inline RelevanceLevel GetRelevanceLevel() const { return m_relevanceLevel; }
76 inline bool RelevanceLevelHasBeenSet() const { return m_relevanceLevelHasBeenSet; }
77 inline void SetRelevanceLevel(RelevanceLevel value) {
78 m_relevanceLevelHasBeenSet = true;
79 m_relevanceLevel = value;
80 }
82 SetRelevanceLevel(value);
83 return *this;
84 }
86 private:
87 Aws::String m_intent;
88
89 Aws::String m_intentId;
90
92 bool m_intentHasBeenSet = false;
93 bool m_intentIdHasBeenSet = false;
94 bool m_relevanceLevelHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace QConnect
99} // namespace Aws
AWS_QCONNECT_API IntentDetectedDataDetails()=default
IntentDetectedDataDetails & WithIntentId(IntentIdT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
IntentDetectedDataDetails & WithRelevanceLevel(RelevanceLevel value)
AWS_QCONNECT_API IntentDetectedDataDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentDetectedDataDetails & WithIntent(IntentT &&value)
AWS_QCONNECT_API IntentDetectedDataDetails(Aws::Utils::Json::JsonView jsonValue)
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