AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIntentsResult.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/IntentSummary.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 ListIntentsResult();
35
36
38
41 inline const Aws::String& GetBotId() const{ return m_botId; }
42 inline void SetBotId(const Aws::String& value) { m_botId = value; }
43 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
44 inline void SetBotId(const char* value) { m_botId.assign(value); }
45 inline ListIntentsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListIntentsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListIntentsResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
54 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
55 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
56 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
57 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
58 inline ListIntentsResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
59 inline ListIntentsResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
60 inline ListIntentsResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
62
64
67 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
68 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
69 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
70 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
71 inline ListIntentsResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
72 inline ListIntentsResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
73 inline ListIntentsResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
75
77
84 inline const Aws::Vector<IntentSummary>& GetIntentSummaries() const{ return m_intentSummaries; }
85 inline void SetIntentSummaries(const Aws::Vector<IntentSummary>& value) { m_intentSummaries = value; }
86 inline void SetIntentSummaries(Aws::Vector<IntentSummary>&& value) { m_intentSummaries = std::move(value); }
88 inline ListIntentsResult& WithIntentSummaries(Aws::Vector<IntentSummary>&& value) { SetIntentSummaries(std::move(value)); return *this;}
89 inline ListIntentsResult& AddIntentSummaries(const IntentSummary& value) { m_intentSummaries.push_back(value); return *this; }
90 inline ListIntentsResult& AddIntentSummaries(IntentSummary&& value) { m_intentSummaries.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 ListIntentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
105 inline ListIntentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 inline ListIntentsResult& 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 ListIntentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline ListIntentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline ListIntentsResult& 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<IntentSummary> m_intentSummaries;
128
129 Aws::String m_nextToken;
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace LexModelsV2
136} // namespace Aws
ListIntentsResult & WithLocaleId(const Aws::String &value)
ListIntentsResult & AddIntentSummaries(const IntentSummary &value)
ListIntentsResult & WithRequestId(Aws::String &&value)
ListIntentsResult & WithBotVersion(const char *value)
ListIntentsResult & WithRequestId(const Aws::String &value)
ListIntentsResult & WithNextToken(const char *value)
ListIntentsResult & WithBotId(const Aws::String &value)
ListIntentsResult & AddIntentSummaries(IntentSummary &&value)
ListIntentsResult & WithBotId(const char *value)
const Aws::Vector< IntentSummary > & GetIntentSummaries() const
ListIntentsResult & WithNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
ListIntentsResult & WithLocaleId(Aws::String &&value)
AWS_LEXMODELSV2_API ListIntentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListIntentsResult & WithRequestId(const char *value)
ListIntentsResult & WithBotId(Aws::String &&value)
ListIntentsResult & WithIntentSummaries(const Aws::Vector< IntentSummary > &value)
void SetIntentSummaries(const Aws::Vector< IntentSummary > &value)
void SetLocaleId(const Aws::String &value)
AWS_LEXMODELSV2_API ListIntentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIntentSummaries(Aws::Vector< IntentSummary > &&value)
ListIntentsResult & WithNextToken(const Aws::String &value)
ListIntentsResult & WithBotVersion(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetBotVersion(const Aws::String &value)
ListIntentsResult & WithBotVersion(Aws::String &&value)
ListIntentsResult & WithLocaleId(const char *value)
ListIntentsResult & WithIntentSummaries(Aws::Vector< IntentSummary > &&value)
void SetBotId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue