AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerateBotElementResult.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/SampleUtterance.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 GenerateBotElementResult();
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 GenerateBotElementResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline GenerateBotElementResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline GenerateBotElementResult& 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 GenerateBotElementResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
59 inline GenerateBotElementResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
60 inline GenerateBotElementResult& 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 GenerateBotElementResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
72 inline GenerateBotElementResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
73 inline GenerateBotElementResult& 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 GenerateBotElementResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
85 inline GenerateBotElementResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
86 inline GenerateBotElementResult& WithIntentId(const char* value) { SetIntentId(value); return *this;}
88
90
93 inline const Aws::Vector<SampleUtterance>& GetSampleUtterances() const{ return m_sampleUtterances; }
94 inline void SetSampleUtterances(const Aws::Vector<SampleUtterance>& value) { m_sampleUtterances = value; }
95 inline void SetSampleUtterances(Aws::Vector<SampleUtterance>&& value) { m_sampleUtterances = std::move(value); }
98 inline GenerateBotElementResult& AddSampleUtterances(const SampleUtterance& value) { m_sampleUtterances.push_back(value); return *this; }
99 inline GenerateBotElementResult& AddSampleUtterances(SampleUtterance&& value) { m_sampleUtterances.push_back(std::move(value)); return *this; }
101
103
104 inline const Aws::String& GetRequestId() const{ return m_requestId; }
105 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
106 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
107 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
108 inline GenerateBotElementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
109 inline GenerateBotElementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
110 inline GenerateBotElementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
112 private:
113
114 Aws::String m_botId;
115
116 Aws::String m_botVersion;
117
118 Aws::String m_localeId;
119
120 Aws::String m_intentId;
121
122 Aws::Vector<SampleUtterance> m_sampleUtterances;
123
124 Aws::String m_requestId;
125 };
126
127} // namespace Model
128} // namespace LexModelsV2
129} // namespace Aws
GenerateBotElementResult & WithRequestId(Aws::String &&value)
AWS_LEXMODELSV2_API GenerateBotElementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateBotElementResult & WithRequestId(const char *value)
void SetSampleUtterances(const Aws::Vector< SampleUtterance > &value)
GenerateBotElementResult & WithBotVersion(Aws::String &&value)
GenerateBotElementResult & WithIntentId(const Aws::String &value)
GenerateBotElementResult & WithSampleUtterances(Aws::Vector< SampleUtterance > &&value)
GenerateBotElementResult & WithBotVersion(const Aws::String &value)
GenerateBotElementResult & WithLocaleId(Aws::String &&value)
GenerateBotElementResult & WithIntentId(Aws::String &&value)
GenerateBotElementResult & WithRequestId(const Aws::String &value)
GenerateBotElementResult & AddSampleUtterances(SampleUtterance &&value)
GenerateBotElementResult & WithLocaleId(const Aws::String &value)
GenerateBotElementResult & WithBotVersion(const char *value)
GenerateBotElementResult & WithBotId(Aws::String &&value)
AWS_LEXMODELSV2_API GenerateBotElementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateBotElementResult & WithIntentId(const char *value)
GenerateBotElementResult & AddSampleUtterances(const SampleUtterance &value)
GenerateBotElementResult & WithSampleUtterances(const Aws::Vector< SampleUtterance > &value)
void SetSampleUtterances(Aws::Vector< SampleUtterance > &&value)
GenerateBotElementResult & WithBotId(const char *value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
GenerateBotElementResult & WithLocaleId(const char *value)
GenerateBotElementResult & WithBotId(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