AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartMigrationResult.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/MigrationStrategy.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelBuildingService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult();
36
37
39
43 inline const Aws::String& GetV1BotName() const{ return m_v1BotName; }
44 inline void SetV1BotName(const Aws::String& value) { m_v1BotName = value; }
45 inline void SetV1BotName(Aws::String&& value) { m_v1BotName = std::move(value); }
46 inline void SetV1BotName(const char* value) { m_v1BotName.assign(value); }
47 inline StartMigrationResult& WithV1BotName(const Aws::String& value) { SetV1BotName(value); return *this;}
48 inline StartMigrationResult& WithV1BotName(Aws::String&& value) { SetV1BotName(std::move(value)); return *this;}
49 inline StartMigrationResult& WithV1BotName(const char* value) { SetV1BotName(value); return *this;}
51
53
56 inline const Aws::String& GetV1BotVersion() const{ return m_v1BotVersion; }
57 inline void SetV1BotVersion(const Aws::String& value) { m_v1BotVersion = value; }
58 inline void SetV1BotVersion(Aws::String&& value) { m_v1BotVersion = std::move(value); }
59 inline void SetV1BotVersion(const char* value) { m_v1BotVersion.assign(value); }
60 inline StartMigrationResult& WithV1BotVersion(const Aws::String& value) { SetV1BotVersion(value); return *this;}
61 inline StartMigrationResult& WithV1BotVersion(Aws::String&& value) { SetV1BotVersion(std::move(value)); return *this;}
62 inline StartMigrationResult& WithV1BotVersion(const char* value) { SetV1BotVersion(value); return *this;}
64
66
69 inline const Locale& GetV1BotLocale() const{ return m_v1BotLocale; }
70 inline void SetV1BotLocale(const Locale& value) { m_v1BotLocale = value; }
71 inline void SetV1BotLocale(Locale&& value) { m_v1BotLocale = std::move(value); }
72 inline StartMigrationResult& WithV1BotLocale(const Locale& value) { SetV1BotLocale(value); return *this;}
73 inline StartMigrationResult& WithV1BotLocale(Locale&& value) { SetV1BotLocale(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetV2BotId() const{ return m_v2BotId; }
81 inline void SetV2BotId(const Aws::String& value) { m_v2BotId = value; }
82 inline void SetV2BotId(Aws::String&& value) { m_v2BotId = std::move(value); }
83 inline void SetV2BotId(const char* value) { m_v2BotId.assign(value); }
84 inline StartMigrationResult& WithV2BotId(const Aws::String& value) { SetV2BotId(value); return *this;}
85 inline StartMigrationResult& WithV2BotId(Aws::String&& value) { SetV2BotId(std::move(value)); return *this;}
86 inline StartMigrationResult& WithV2BotId(const char* value) { SetV2BotId(value); return *this;}
88
90
93 inline const Aws::String& GetV2BotRole() const{ return m_v2BotRole; }
94 inline void SetV2BotRole(const Aws::String& value) { m_v2BotRole = value; }
95 inline void SetV2BotRole(Aws::String&& value) { m_v2BotRole = std::move(value); }
96 inline void SetV2BotRole(const char* value) { m_v2BotRole.assign(value); }
97 inline StartMigrationResult& WithV2BotRole(const Aws::String& value) { SetV2BotRole(value); return *this;}
98 inline StartMigrationResult& WithV2BotRole(Aws::String&& value) { SetV2BotRole(std::move(value)); return *this;}
99 inline StartMigrationResult& WithV2BotRole(const char* value) { SetV2BotRole(value); return *this;}
101
103
106 inline const Aws::String& GetMigrationId() const{ return m_migrationId; }
107 inline void SetMigrationId(const Aws::String& value) { m_migrationId = value; }
108 inline void SetMigrationId(Aws::String&& value) { m_migrationId = std::move(value); }
109 inline void SetMigrationId(const char* value) { m_migrationId.assign(value); }
110 inline StartMigrationResult& WithMigrationId(const Aws::String& value) { SetMigrationId(value); return *this;}
111 inline StartMigrationResult& WithMigrationId(Aws::String&& value) { SetMigrationId(std::move(value)); return *this;}
112 inline StartMigrationResult& WithMigrationId(const char* value) { SetMigrationId(value); return *this;}
114
116
119 inline const MigrationStrategy& GetMigrationStrategy() const{ return m_migrationStrategy; }
120 inline void SetMigrationStrategy(const MigrationStrategy& value) { m_migrationStrategy = value; }
121 inline void SetMigrationStrategy(MigrationStrategy&& value) { m_migrationStrategy = std::move(value); }
123 inline StartMigrationResult& WithMigrationStrategy(MigrationStrategy&& value) { SetMigrationStrategy(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetMigrationTimestamp() const{ return m_migrationTimestamp; }
131 inline void SetMigrationTimestamp(const Aws::Utils::DateTime& value) { m_migrationTimestamp = value; }
132 inline void SetMigrationTimestamp(Aws::Utils::DateTime&& value) { m_migrationTimestamp = std::move(value); }
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline StartMigrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
144 inline StartMigrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline StartMigrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
149 Aws::String m_v1BotName;
150
151 Aws::String m_v1BotVersion;
152
153 Locale m_v1BotLocale;
154
155 Aws::String m_v2BotId;
156
157 Aws::String m_v2BotRole;
158
159 Aws::String m_migrationId;
160
161 MigrationStrategy m_migrationStrategy;
162
163 Aws::Utils::DateTime m_migrationTimestamp;
164
165 Aws::String m_requestId;
166 };
167
168} // namespace Model
169} // namespace LexModelBuildingService
170} // namespace Aws
StartMigrationResult & WithRequestId(const char *value)
StartMigrationResult & WithV2BotId(Aws::String &&value)
StartMigrationResult & WithV1BotVersion(Aws::String &&value)
StartMigrationResult & WithV1BotLocale(const Locale &value)
StartMigrationResult & WithV2BotId(const Aws::String &value)
StartMigrationResult & WithV2BotRole(const Aws::String &value)
StartMigrationResult & WithV1BotVersion(const Aws::String &value)
StartMigrationResult & WithV1BotName(Aws::String &&value)
StartMigrationResult & WithMigrationId(const char *value)
StartMigrationResult & WithRequestId(Aws::String &&value)
StartMigrationResult & WithMigrationId(const Aws::String &value)
StartMigrationResult & WithMigrationStrategy(MigrationStrategy &&value)
StartMigrationResult & WithMigrationStrategy(const MigrationStrategy &value)
StartMigrationResult & WithV1BotName(const char *value)
StartMigrationResult & WithRequestId(const Aws::String &value)
void SetMigrationTimestamp(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult()
StartMigrationResult & WithV1BotName(const Aws::String &value)
StartMigrationResult & WithMigrationId(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartMigrationResult & WithV2BotRole(const char *value)
StartMigrationResult & WithV2BotId(const char *value)
StartMigrationResult & WithMigrationTimestamp(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartMigrationResult & WithV2BotRole(Aws::String &&value)
StartMigrationResult & WithMigrationTimestamp(Aws::Utils::DateTime &&value)
StartMigrationResult & WithV1BotVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue