AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSlotsResult.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/SlotSummary.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 ListSlotsResult();
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 ListSlotsResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline ListSlotsResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline ListSlotsResult& 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 ListSlotsResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
59 inline ListSlotsResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
60 inline ListSlotsResult& 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 ListSlotsResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
72 inline ListSlotsResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
73 inline ListSlotsResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
75
77
80 inline const Aws::String& GetIntentId() const{ return m_intentId; }
81 inline void SetIntentId(const Aws::String& value) { m_intentId = value; }
82 inline void SetIntentId(Aws::String&& value) { m_intentId = std::move(value); }
83 inline void SetIntentId(const char* value) { m_intentId.assign(value); }
84 inline ListSlotsResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
85 inline ListSlotsResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
86 inline ListSlotsResult& WithIntentId(const char* value) { SetIntentId(value); return *this;}
88
90
97 inline const Aws::Vector<SlotSummary>& GetSlotSummaries() const{ return m_slotSummaries; }
98 inline void SetSlotSummaries(const Aws::Vector<SlotSummary>& value) { m_slotSummaries = value; }
99 inline void SetSlotSummaries(Aws::Vector<SlotSummary>&& value) { m_slotSummaries = std::move(value); }
100 inline ListSlotsResult& WithSlotSummaries(const Aws::Vector<SlotSummary>& value) { SetSlotSummaries(value); return *this;}
101 inline ListSlotsResult& WithSlotSummaries(Aws::Vector<SlotSummary>&& value) { SetSlotSummaries(std::move(value)); return *this;}
102 inline ListSlotsResult& AddSlotSummaries(const SlotSummary& value) { m_slotSummaries.push_back(value); return *this; }
103 inline ListSlotsResult& AddSlotSummaries(SlotSummary&& value) { m_slotSummaries.push_back(std::move(value)); return *this; }
105
107
113 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
115 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
116 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
117 inline ListSlotsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 inline ListSlotsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
119 inline ListSlotsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const{ return m_requestId; }
125 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
126 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
127 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 inline ListSlotsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 inline ListSlotsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
130 inline ListSlotsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
132 private:
133
134 Aws::String m_botId;
135
136 Aws::String m_botVersion;
137
138 Aws::String m_localeId;
139
140 Aws::String m_intentId;
141
142 Aws::Vector<SlotSummary> m_slotSummaries;
143
144 Aws::String m_nextToken;
145
146 Aws::String m_requestId;
147 };
148
149} // namespace Model
150} // namespace LexModelsV2
151} // namespace Aws
void SetBotVersion(const Aws::String &value)
ListSlotsResult & WithLocaleId(const Aws::String &value)
const Aws::Vector< SlotSummary > & GetSlotSummaries() const
ListSlotsResult & WithNextToken(const Aws::String &value)
ListSlotsResult & WithBotId(const char *value)
const Aws::String & GetBotId() const
ListSlotsResult & WithNextToken(Aws::String &&value)
AWS_LEXMODELSV2_API ListSlotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListSlotsResult & WithBotVersion(const Aws::String &value)
void SetIntentId(const Aws::String &value)
ListSlotsResult & WithIntentId(const Aws::String &value)
const Aws::String & GetNextToken() const
AWS_LEXMODELSV2_API ListSlotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListSlotsResult & AddSlotSummaries(SlotSummary &&value)
ListSlotsResult & WithLocaleId(const char *value)
ListSlotsResult & AddSlotSummaries(const SlotSummary &value)
ListSlotsResult & WithLocaleId(Aws::String &&value)
void SetSlotSummaries(const Aws::Vector< SlotSummary > &value)
const Aws::String & GetLocaleId() const
ListSlotsResult & WithIntentId(const char *value)
void SetBotVersion(Aws::String &&value)
const Aws::String & GetBotVersion() const
ListSlotsResult & WithBotVersion(Aws::String &&value)
void SetNextToken(const Aws::String &value)
void SetLocaleId(const Aws::String &value)
ListSlotsResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::String & GetIntentId() const
ListSlotsResult & WithSlotSummaries(const Aws::Vector< SlotSummary > &value)
ListSlotsResult & WithRequestId(const char *value)
ListSlotsResult & WithSlotSummaries(Aws::Vector< SlotSummary > &&value)
ListSlotsResult & WithBotId(Aws::String &&value)
void SetSlotSummaries(Aws::Vector< SlotSummary > &&value)
ListSlotsResult & WithBotId(const Aws::String &value)
ListSlotsResult & WithIntentId(Aws::String &&value)
ListSlotsResult & WithNextToken(const char *value)
ListSlotsResult & WithBotVersion(const char *value)
void SetBotId(const Aws::String &value)
ListSlotsResult & WithRequestId(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