AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMigrationResult.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex-models/model/Locale.h>
10#include <aws/lex-models/model/MigrationStatus.h>
11#include <aws/lex-models/model/MigrationStrategy.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/lex-models/model/MigrationAlert.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace LexModelBuildingService
30{
31namespace Model
32{
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API GetMigrationResult();
39
40
42
46 inline const Aws::String& GetMigrationId() const{ return m_migrationId; }
47 inline void SetMigrationId(const Aws::String& value) { m_migrationId = value; }
48 inline void SetMigrationId(Aws::String&& value) { m_migrationId = std::move(value); }
49 inline void SetMigrationId(const char* value) { m_migrationId.assign(value); }
50 inline GetMigrationResult& WithMigrationId(const Aws::String& value) { SetMigrationId(value); return *this;}
51 inline GetMigrationResult& WithMigrationId(Aws::String&& value) { SetMigrationId(std::move(value)); return *this;}
52 inline GetMigrationResult& WithMigrationId(const char* value) { SetMigrationId(value); return *this;}
54
56
59 inline const Aws::String& GetV1BotName() const{ return m_v1BotName; }
60 inline void SetV1BotName(const Aws::String& value) { m_v1BotName = value; }
61 inline void SetV1BotName(Aws::String&& value) { m_v1BotName = std::move(value); }
62 inline void SetV1BotName(const char* value) { m_v1BotName.assign(value); }
63 inline GetMigrationResult& WithV1BotName(const Aws::String& value) { SetV1BotName(value); return *this;}
64 inline GetMigrationResult& WithV1BotName(Aws::String&& value) { SetV1BotName(std::move(value)); return *this;}
65 inline GetMigrationResult& WithV1BotName(const char* value) { SetV1BotName(value); return *this;}
67
69
72 inline const Aws::String& GetV1BotVersion() const{ return m_v1BotVersion; }
73 inline void SetV1BotVersion(const Aws::String& value) { m_v1BotVersion = value; }
74 inline void SetV1BotVersion(Aws::String&& value) { m_v1BotVersion = std::move(value); }
75 inline void SetV1BotVersion(const char* value) { m_v1BotVersion.assign(value); }
76 inline GetMigrationResult& WithV1BotVersion(const Aws::String& value) { SetV1BotVersion(value); return *this;}
77 inline GetMigrationResult& WithV1BotVersion(Aws::String&& value) { SetV1BotVersion(std::move(value)); return *this;}
78 inline GetMigrationResult& WithV1BotVersion(const char* value) { SetV1BotVersion(value); return *this;}
80
82
85 inline const Locale& GetV1BotLocale() const{ return m_v1BotLocale; }
86 inline void SetV1BotLocale(const Locale& value) { m_v1BotLocale = value; }
87 inline void SetV1BotLocale(Locale&& value) { m_v1BotLocale = std::move(value); }
88 inline GetMigrationResult& WithV1BotLocale(const Locale& value) { SetV1BotLocale(value); return *this;}
89 inline GetMigrationResult& WithV1BotLocale(Locale&& value) { SetV1BotLocale(std::move(value)); return *this;}
91
93
97 inline const Aws::String& GetV2BotId() const{ return m_v2BotId; }
98 inline void SetV2BotId(const Aws::String& value) { m_v2BotId = value; }
99 inline void SetV2BotId(Aws::String&& value) { m_v2BotId = std::move(value); }
100 inline void SetV2BotId(const char* value) { m_v2BotId.assign(value); }
101 inline GetMigrationResult& WithV2BotId(const Aws::String& value) { SetV2BotId(value); return *this;}
102 inline GetMigrationResult& WithV2BotId(Aws::String&& value) { SetV2BotId(std::move(value)); return *this;}
103 inline GetMigrationResult& WithV2BotId(const char* value) { SetV2BotId(value); return *this;}
105
107
110 inline const Aws::String& GetV2BotRole() const{ return m_v2BotRole; }
111 inline void SetV2BotRole(const Aws::String& value) { m_v2BotRole = value; }
112 inline void SetV2BotRole(Aws::String&& value) { m_v2BotRole = std::move(value); }
113 inline void SetV2BotRole(const char* value) { m_v2BotRole.assign(value); }
114 inline GetMigrationResult& WithV2BotRole(const Aws::String& value) { SetV2BotRole(value); return *this;}
115 inline GetMigrationResult& WithV2BotRole(Aws::String&& value) { SetV2BotRole(std::move(value)); return *this;}
116 inline GetMigrationResult& WithV2BotRole(const char* value) { SetV2BotRole(value); return *this;}
118
120
126 inline const MigrationStatus& GetMigrationStatus() const{ return m_migrationStatus; }
127 inline void SetMigrationStatus(const MigrationStatus& value) { m_migrationStatus = value; }
128 inline void SetMigrationStatus(MigrationStatus&& value) { m_migrationStatus = std::move(value); }
129 inline GetMigrationResult& WithMigrationStatus(const MigrationStatus& value) { SetMigrationStatus(value); return *this;}
130 inline GetMigrationResult& WithMigrationStatus(MigrationStatus&& value) { SetMigrationStatus(std::move(value)); return *this;}
132
134
143 inline const MigrationStrategy& GetMigrationStrategy() const{ return m_migrationStrategy; }
144 inline void SetMigrationStrategy(const MigrationStrategy& value) { m_migrationStrategy = value; }
145 inline void SetMigrationStrategy(MigrationStrategy&& value) { m_migrationStrategy = std::move(value); }
147 inline GetMigrationResult& WithMigrationStrategy(MigrationStrategy&& value) { SetMigrationStrategy(std::move(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetMigrationTimestamp() const{ return m_migrationTimestamp; }
155 inline void SetMigrationTimestamp(const Aws::Utils::DateTime& value) { m_migrationTimestamp = value; }
156 inline void SetMigrationTimestamp(Aws::Utils::DateTime&& value) { m_migrationTimestamp = std::move(value); }
158 inline GetMigrationResult& WithMigrationTimestamp(Aws::Utils::DateTime&& value) { SetMigrationTimestamp(std::move(value)); return *this;}
160
162
170 inline const Aws::Vector<MigrationAlert>& GetAlerts() const{ return m_alerts; }
171 inline void SetAlerts(const Aws::Vector<MigrationAlert>& value) { m_alerts = value; }
172 inline void SetAlerts(Aws::Vector<MigrationAlert>&& value) { m_alerts = std::move(value); }
173 inline GetMigrationResult& WithAlerts(const Aws::Vector<MigrationAlert>& value) { SetAlerts(value); return *this;}
174 inline GetMigrationResult& WithAlerts(Aws::Vector<MigrationAlert>&& value) { SetAlerts(std::move(value)); return *this;}
175 inline GetMigrationResult& AddAlerts(const MigrationAlert& value) { m_alerts.push_back(value); return *this; }
176 inline GetMigrationResult& AddAlerts(MigrationAlert&& value) { m_alerts.push_back(std::move(value)); return *this; }
178
180
181 inline const Aws::String& GetRequestId() const{ return m_requestId; }
182 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
183 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
184 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
185 inline GetMigrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
186 inline GetMigrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
187 inline GetMigrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
189 private:
190
191 Aws::String m_migrationId;
192
193 Aws::String m_v1BotName;
194
195 Aws::String m_v1BotVersion;
196
197 Locale m_v1BotLocale;
198
199 Aws::String m_v2BotId;
200
201 Aws::String m_v2BotRole;
202
203 MigrationStatus m_migrationStatus;
204
205 MigrationStrategy m_migrationStrategy;
206
207 Aws::Utils::DateTime m_migrationTimestamp;
208
210
211 Aws::String m_requestId;
212 };
213
214} // namespace Model
215} // namespace LexModelBuildingService
216} // namespace Aws
GetMigrationResult & WithV2BotRole(const char *value)
GetMigrationResult & AddAlerts(const MigrationAlert &value)
GetMigrationResult & WithV2BotId(const char *value)
GetMigrationResult & WithV1BotVersion(Aws::String &&value)
GetMigrationResult & WithAlerts(Aws::Vector< MigrationAlert > &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetMigrationResult()
GetMigrationResult & WithV1BotName(Aws::String &&value)
GetMigrationResult & WithV1BotLocale(const Locale &value)
GetMigrationResult & WithMigrationStatus(const MigrationStatus &value)
GetMigrationResult & WithMigrationTimestamp(Aws::Utils::DateTime &&value)
GetMigrationResult & WithV2BotRole(const Aws::String &value)
GetMigrationResult & WithV1BotVersion(const Aws::String &value)
void SetAlerts(Aws::Vector< MigrationAlert > &&value)
void SetMigrationStrategy(const MigrationStrategy &value)
const Aws::Utils::DateTime & GetMigrationTimestamp() const
GetMigrationResult & WithV2BotId(const Aws::String &value)
GetMigrationResult & WithMigrationId(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetMigrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMigrationResult & WithV1BotName(const char *value)
GetMigrationResult & WithV1BotVersion(const char *value)
GetMigrationResult & WithMigrationStatus(MigrationStatus &&value)
void SetAlerts(const Aws::Vector< MigrationAlert > &value)
GetMigrationResult & WithRequestId(const char *value)
void SetMigrationTimestamp(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API GetMigrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMigrationResult & WithMigrationStrategy(MigrationStrategy &&value)
GetMigrationResult & WithMigrationId(const Aws::String &value)
GetMigrationResult & WithMigrationTimestamp(const Aws::Utils::DateTime &value)
GetMigrationResult & WithMigrationId(const char *value)
GetMigrationResult & WithMigrationStrategy(const MigrationStrategy &value)
GetMigrationResult & WithV2BotId(Aws::String &&value)
GetMigrationResult & WithAlerts(const Aws::Vector< MigrationAlert > &value)
GetMigrationResult & WithV2BotRole(Aws::String &&value)
GetMigrationResult & AddAlerts(MigrationAlert &&value)
GetMigrationResult & WithRequestId(const Aws::String &value)
const Aws::Vector< MigrationAlert > & GetAlerts() const
GetMigrationResult & WithV1BotName(const Aws::String &value)
GetMigrationResult & 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