AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartBotResourceGenerationResult.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/lexv2-models/model/GenerationStatus.h>
10#include <aws/core/utils/DateTime.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 StartBotResourceGenerationResult();
35
36
38
42 inline const Aws::String& GetGenerationInputPrompt() const{ return m_generationInputPrompt; }
43 inline void SetGenerationInputPrompt(const Aws::String& value) { m_generationInputPrompt = value; }
44 inline void SetGenerationInputPrompt(Aws::String&& value) { m_generationInputPrompt = std::move(value); }
45 inline void SetGenerationInputPrompt(const char* value) { m_generationInputPrompt.assign(value); }
50
52
55 inline const Aws::String& GetGenerationId() const{ return m_generationId; }
56 inline void SetGenerationId(const Aws::String& value) { m_generationId = value; }
57 inline void SetGenerationId(Aws::String&& value) { m_generationId = std::move(value); }
58 inline void SetGenerationId(const char* value) { m_generationId.assign(value); }
60 inline StartBotResourceGenerationResult& WithGenerationId(Aws::String&& value) { SetGenerationId(std::move(value)); return *this;}
61 inline StartBotResourceGenerationResult& WithGenerationId(const char* value) { SetGenerationId(value); return *this;}
63
65
69 inline const Aws::String& GetBotId() const{ return m_botId; }
70 inline void SetBotId(const Aws::String& value) { m_botId = value; }
71 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
72 inline void SetBotId(const char* value) { m_botId.assign(value); }
73 inline StartBotResourceGenerationResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
74 inline StartBotResourceGenerationResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
75 inline StartBotResourceGenerationResult& WithBotId(const char* value) { SetBotId(value); return *this;}
77
79
82 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
83 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
84 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
85 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
86 inline StartBotResourceGenerationResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
87 inline StartBotResourceGenerationResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
88 inline StartBotResourceGenerationResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
90
92
95 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
96 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
97 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
98 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
99 inline StartBotResourceGenerationResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
100 inline StartBotResourceGenerationResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
101 inline StartBotResourceGenerationResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
103
105
108 inline const GenerationStatus& GetGenerationStatus() const{ return m_generationStatus; }
109 inline void SetGenerationStatus(const GenerationStatus& value) { m_generationStatus = value; }
110 inline void SetGenerationStatus(GenerationStatus&& value) { m_generationStatus = std::move(value); }
114
116
119 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
120 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
121 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
125
127
128 inline const Aws::String& GetRequestId() const{ return m_requestId; }
129 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
130 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
131 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
132 inline StartBotResourceGenerationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
133 inline StartBotResourceGenerationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
134 inline StartBotResourceGenerationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
136 private:
137
138 Aws::String m_generationInputPrompt;
139
140 Aws::String m_generationId;
141
142 Aws::String m_botId;
143
144 Aws::String m_botVersion;
145
146 Aws::String m_localeId;
147
148 GenerationStatus m_generationStatus;
149
150 Aws::Utils::DateTime m_creationDateTime;
151
152 Aws::String m_requestId;
153 };
154
155} // namespace Model
156} // namespace LexModelsV2
157} // namespace Aws
StartBotResourceGenerationResult & WithBotId(const Aws::String &value)
AWS_LEXMODELSV2_API StartBotResourceGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBotResourceGenerationResult & WithGenerationInputPrompt(Aws::String &&value)
StartBotResourceGenerationResult & WithLocaleId(Aws::String &&value)
StartBotResourceGenerationResult & WithGenerationId(Aws::String &&value)
StartBotResourceGenerationResult & WithGenerationStatus(GenerationStatus &&value)
StartBotResourceGenerationResult & WithBotVersion(const char *value)
StartBotResourceGenerationResult & WithBotVersion(Aws::String &&value)
StartBotResourceGenerationResult & WithRequestId(const char *value)
StartBotResourceGenerationResult & WithBotId(const char *value)
StartBotResourceGenerationResult & WithGenerationStatus(const GenerationStatus &value)
StartBotResourceGenerationResult & WithBotVersion(const Aws::String &value)
StartBotResourceGenerationResult & WithLocaleId(const Aws::String &value)
StartBotResourceGenerationResult & WithRequestId(const Aws::String &value)
StartBotResourceGenerationResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API StartBotResourceGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartBotResourceGenerationResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
StartBotResourceGenerationResult & WithGenerationId(const char *value)
StartBotResourceGenerationResult & WithGenerationInputPrompt(const char *value)
StartBotResourceGenerationResult & WithRequestId(Aws::String &&value)
StartBotResourceGenerationResult & WithLocaleId(const char *value)
StartBotResourceGenerationResult & WithGenerationId(const Aws::String &value)
StartBotResourceGenerationResult & WithBotId(Aws::String &&value)
StartBotResourceGenerationResult & WithGenerationInputPrompt(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue