AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListBotRecommendationsResult.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/BotRecommendationSummary.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 ListBotRecommendationsResult() = default;
35
36
38
42 inline const Aws::String& GetBotId() const { return m_botId; }
43 template<typename BotIdT = Aws::String>
44 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
45 template<typename BotIdT = Aws::String>
46 ListBotRecommendationsResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
54 template<typename BotVersionT = Aws::String>
55 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
56 template<typename BotVersionT = Aws::String>
57 ListBotRecommendationsResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetLocaleId() const { return m_localeId; }
65 template<typename LocaleIdT = Aws::String>
66 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
67 template<typename LocaleIdT = Aws::String>
68 ListBotRecommendationsResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
70
72
78 inline const Aws::Vector<BotRecommendationSummary>& GetBotRecommendationSummaries() const { return m_botRecommendationSummaries; }
79 template<typename BotRecommendationSummariesT = Aws::Vector<BotRecommendationSummary>>
80 void SetBotRecommendationSummaries(BotRecommendationSummariesT&& value) { m_botRecommendationSummariesHasBeenSet = true; m_botRecommendationSummaries = std::forward<BotRecommendationSummariesT>(value); }
81 template<typename BotRecommendationSummariesT = Aws::Vector<BotRecommendationSummary>>
82 ListBotRecommendationsResult& WithBotRecommendationSummaries(BotRecommendationSummariesT&& value) { SetBotRecommendationSummaries(std::forward<BotRecommendationSummariesT>(value)); return *this;}
83 template<typename BotRecommendationSummariesT = BotRecommendationSummary>
84 ListBotRecommendationsResult& AddBotRecommendationSummaries(BotRecommendationSummariesT&& value) { m_botRecommendationSummariesHasBeenSet = true; m_botRecommendationSummaries.emplace_back(std::forward<BotRecommendationSummariesT>(value)); return *this; }
86
88
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 template<typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
97 template<typename NextTokenT = Aws::String>
98 ListBotRecommendationsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template<typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
106 template<typename RequestIdT = Aws::String>
107 ListBotRecommendationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_botId;
112 bool m_botIdHasBeenSet = false;
113
114 Aws::String m_botVersion;
115 bool m_botVersionHasBeenSet = false;
116
117 Aws::String m_localeId;
118 bool m_localeIdHasBeenSet = false;
119
120 Aws::Vector<BotRecommendationSummary> m_botRecommendationSummaries;
121 bool m_botRecommendationSummariesHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 Aws::String m_requestId;
127 bool m_requestIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace LexModelsV2
132} // namespace Aws
const Aws::Vector< BotRecommendationSummary > & GetBotRecommendationSummaries() const
ListBotRecommendationsResult & WithRequestId(RequestIdT &&value)
ListBotRecommendationsResult & WithBotId(BotIdT &&value)
ListBotRecommendationsResult & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API ListBotRecommendationsResult()=default
AWS_LEXMODELSV2_API ListBotRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotRecommendationsResult & AddBotRecommendationSummaries(BotRecommendationSummariesT &&value)
ListBotRecommendationsResult & WithNextToken(NextTokenT &&value)
void SetBotRecommendationSummaries(BotRecommendationSummariesT &&value)
ListBotRecommendationsResult & WithBotRecommendationSummaries(BotRecommendationSummariesT &&value)
ListBotRecommendationsResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API ListBotRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue