AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendedIntentSummary.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LEXMODELSV2_API RecommendedIntentSummary();
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetIntentId() const{ return m_intentId; }
47 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
48 inline void SetIntentId(const Aws::String& value) { m_intentIdHasBeenSet = true; m_intentId = value; }
49 inline void SetIntentId(Aws::String&& value) { m_intentIdHasBeenSet = true; m_intentId = std::move(value); }
50 inline void SetIntentId(const char* value) { m_intentIdHasBeenSet = true; m_intentId.assign(value); }
51 inline RecommendedIntentSummary& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
52 inline RecommendedIntentSummary& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
53 inline RecommendedIntentSummary& WithIntentId(const char* value) { SetIntentId(value); return *this;}
55
57
60 inline const Aws::String& GetIntentName() const{ return m_intentName; }
61 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
62 inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; }
63 inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); }
64 inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); }
65 inline RecommendedIntentSummary& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;}
66 inline RecommendedIntentSummary& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
67 inline RecommendedIntentSummary& WithIntentName(const char* value) { SetIntentName(value); return *this;}
69
71
75 inline int GetSampleUtterancesCount() const{ return m_sampleUtterancesCount; }
76 inline bool SampleUtterancesCountHasBeenSet() const { return m_sampleUtterancesCountHasBeenSet; }
77 inline void SetSampleUtterancesCount(int value) { m_sampleUtterancesCountHasBeenSet = true; m_sampleUtterancesCount = value; }
80 private:
81
82 Aws::String m_intentId;
83 bool m_intentIdHasBeenSet = false;
84
85 Aws::String m_intentName;
86 bool m_intentNameHasBeenSet = false;
87
88 int m_sampleUtterancesCount;
89 bool m_sampleUtterancesCountHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace LexModelsV2
94} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue