AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const Aws::String& GetBotId() const{ return m_botId; }
43 inline void SetBotId(const Aws::String& value) { m_botId = value; }
44 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
45 inline void SetBotId(const char* value) { m_botId.assign(value); }
46 inline ListBotRecommendationsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline ListBotRecommendationsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline ListBotRecommendationsResult& WithBotId(const char* value) { SetBotId(value); return *this;}
50
52
55 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
56 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
57 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
58 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
59 inline ListBotRecommendationsResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
60 inline ListBotRecommendationsResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
61 inline ListBotRecommendationsResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
63
65
68 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
69 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
70 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
71 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
72 inline ListBotRecommendationsResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
73 inline ListBotRecommendationsResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
74 inline ListBotRecommendationsResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
76
78
84 inline const Aws::Vector<BotRecommendationSummary>& GetBotRecommendationSummaries() const{ return m_botRecommendationSummaries; }
85 inline void SetBotRecommendationSummaries(const Aws::Vector<BotRecommendationSummary>& value) { m_botRecommendationSummaries = value; }
86 inline void SetBotRecommendationSummaries(Aws::Vector<BotRecommendationSummary>&& value) { m_botRecommendationSummaries = std::move(value); }
89 inline ListBotRecommendationsResult& AddBotRecommendationSummaries(const BotRecommendationSummary& value) { m_botRecommendationSummaries.push_back(value); return *this; }
90 inline ListBotRecommendationsResult& AddBotRecommendationSummaries(BotRecommendationSummary&& value) { m_botRecommendationSummaries.push_back(std::move(value)); return *this; }
92
94
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
102 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
103 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 inline ListBotRecommendationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
105 inline ListBotRecommendationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 inline ListBotRecommendationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline ListBotRecommendationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline ListBotRecommendationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline ListBotRecommendationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Aws::String m_botId;
122
123 Aws::String m_botVersion;
124
125 Aws::String m_localeId;
126
127 Aws::Vector<BotRecommendationSummary> m_botRecommendationSummaries;
128
129 Aws::String m_nextToken;
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace LexModelsV2
136} // namespace Aws
ListBotRecommendationsResult & WithBotRecommendationSummaries(const Aws::Vector< BotRecommendationSummary > &value)
ListBotRecommendationsResult & WithNextToken(const char *value)
ListBotRecommendationsResult & WithRequestId(const char *value)
ListBotRecommendationsResult & WithBotId(const char *value)
const Aws::Vector< BotRecommendationSummary > & GetBotRecommendationSummaries() const
ListBotRecommendationsResult & WithBotVersion(const Aws::String &value)
ListBotRecommendationsResult & WithBotVersion(Aws::String &&value)
ListBotRecommendationsResult & WithLocaleId(Aws::String &&value)
AWS_LEXMODELSV2_API ListBotRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBotRecommendationsResult & WithBotRecommendationSummaries(Aws::Vector< BotRecommendationSummary > &&value)
ListBotRecommendationsResult & WithRequestId(const Aws::String &value)
void SetBotRecommendationSummaries(Aws::Vector< BotRecommendationSummary > &&value)
ListBotRecommendationsResult & WithBotId(Aws::String &&value)
void SetBotRecommendationSummaries(const Aws::Vector< BotRecommendationSummary > &value)
ListBotRecommendationsResult & WithNextToken(const Aws::String &value)
ListBotRecommendationsResult & AddBotRecommendationSummaries(BotRecommendationSummary &&value)
ListBotRecommendationsResult & WithBotId(const Aws::String &value)
ListBotRecommendationsResult & WithNextToken(Aws::String &&value)
ListBotRecommendationsResult & WithLocaleId(const Aws::String &value)
ListBotRecommendationsResult & WithLocaleId(const char *value)
ListBotRecommendationsResult & WithBotVersion(const char *value)
ListBotRecommendationsResult & WithRequestId(Aws::String &&value)
ListBotRecommendationsResult & AddBotRecommendationSummaries(const BotRecommendationSummary &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