AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListRecommendedIntentsResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/model/RecommendedIntentSummary.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 LexModelsV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELSV2_API ListRecommendedIntentsResult() = default;
35
36
38
41 inline const Aws::String& GetBotId() const { return m_botId; }
42 template<typename BotIdT = Aws::String>
43 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
44 template<typename BotIdT = Aws::String>
45 ListRecommendedIntentsResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
53 template<typename BotVersionT = Aws::String>
54 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
55 template<typename BotVersionT = Aws::String>
56 ListRecommendedIntentsResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
58
60
66 inline const Aws::String& GetLocaleId() const { return m_localeId; }
67 template<typename LocaleIdT = Aws::String>
68 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
69 template<typename LocaleIdT = Aws::String>
70 ListRecommendedIntentsResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
72
74
78 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
79 template<typename BotRecommendationIdT = Aws::String>
80 void SetBotRecommendationId(BotRecommendationIdT&& value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = std::forward<BotRecommendationIdT>(value); }
81 template<typename BotRecommendationIdT = Aws::String>
82 ListRecommendedIntentsResult& WithBotRecommendationId(BotRecommendationIdT&& value) { SetBotRecommendationId(std::forward<BotRecommendationIdT>(value)); return *this;}
84
86
92 inline const Aws::Vector<RecommendedIntentSummary>& GetSummaryList() const { return m_summaryList; }
93 template<typename SummaryListT = Aws::Vector<RecommendedIntentSummary>>
94 void SetSummaryList(SummaryListT&& value) { m_summaryListHasBeenSet = true; m_summaryList = std::forward<SummaryListT>(value); }
95 template<typename SummaryListT = Aws::Vector<RecommendedIntentSummary>>
96 ListRecommendedIntentsResult& WithSummaryList(SummaryListT&& value) { SetSummaryList(std::forward<SummaryListT>(value)); return *this;}
97 template<typename SummaryListT = RecommendedIntentSummary>
98 ListRecommendedIntentsResult& AddSummaryList(SummaryListT&& value) { m_summaryListHasBeenSet = true; m_summaryList.emplace_back(std::forward<SummaryListT>(value)); return *this; }
100
102
108 inline const Aws::String& GetNextToken() const { return m_nextToken; }
109 template<typename NextTokenT = Aws::String>
110 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
111 template<typename NextTokenT = Aws::String>
112 ListRecommendedIntentsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 ListRecommendedIntentsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_botId;
126 bool m_botIdHasBeenSet = false;
127
128 Aws::String m_botVersion;
129 bool m_botVersionHasBeenSet = false;
130
131 Aws::String m_localeId;
132 bool m_localeIdHasBeenSet = false;
133
134 Aws::String m_botRecommendationId;
135 bool m_botRecommendationIdHasBeenSet = false;
136
138 bool m_summaryListHasBeenSet = false;
139
140 Aws::String m_nextToken;
141 bool m_nextTokenHasBeenSet = false;
142
143 Aws::String m_requestId;
144 bool m_requestIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace LexModelsV2
149} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue