AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
RecommendedIntentSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API RecommendedIntentSummary() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetIntentId() const { return m_intentId; }
41 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
42 template <typename IntentIdT = Aws::String>
43 void SetIntentId(IntentIdT&& value) {
44 m_intentIdHasBeenSet = true;
45 m_intentId = std::forward<IntentIdT>(value);
46 }
47 template <typename IntentIdT = Aws::String>
49 SetIntentId(std::forward<IntentIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetIntentName() const { return m_intentName; }
59 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
60 template <typename IntentNameT = Aws::String>
61 void SetIntentName(IntentNameT&& value) {
62 m_intentNameHasBeenSet = true;
63 m_intentName = std::forward<IntentNameT>(value);
64 }
65 template <typename IntentNameT = Aws::String>
67 SetIntentName(std::forward<IntentNameT>(value));
68 return *this;
69 }
71
73
77 inline int GetSampleUtterancesCount() const { return m_sampleUtterancesCount; }
78 inline bool SampleUtterancesCountHasBeenSet() const { return m_sampleUtterancesCountHasBeenSet; }
79 inline void SetSampleUtterancesCount(int value) {
80 m_sampleUtterancesCountHasBeenSet = true;
81 m_sampleUtterancesCount = value;
82 }
85 return *this;
86 }
88 private:
89 Aws::String m_intentId;
90
91 Aws::String m_intentName;
92
93 int m_sampleUtterancesCount{0};
94 bool m_intentIdHasBeenSet = false;
95 bool m_intentNameHasBeenSet = false;
96 bool m_sampleUtterancesCountHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace LexModelsV2
101} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue