AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
43 inline const Aws::String& GetV1BotName() const { return m_v1BotName; }
44 template<typename V1BotNameT = Aws::String>
45 void SetV1BotName(V1BotNameT&& value) { m_v1BotNameHasBeenSet = true; m_v1BotName = std::forward<V1BotNameT>(value); }
46 template<typename V1BotNameT = Aws::String>
47 StartMigrationResult& WithV1BotName(V1BotNameT&& value) { SetV1BotName(std::forward<V1BotNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetV1BotVersion() const { return m_v1BotVersion; }
55 template<typename V1BotVersionT = Aws::String>
56 void SetV1BotVersion(V1BotVersionT&& value) { m_v1BotVersionHasBeenSet = true; m_v1BotVersion = std::forward<V1BotVersionT>(value); }
57 template<typename V1BotVersionT = Aws::String>
58 StartMigrationResult& WithV1BotVersion(V1BotVersionT&& value) { SetV1BotVersion(std::forward<V1BotVersionT>(value)); return *this;}
60
62
65 inline Locale GetV1BotLocale() const { return m_v1BotLocale; }
66 inline void SetV1BotLocale(Locale value) { m_v1BotLocaleHasBeenSet = true; m_v1BotLocale = value; }
67 inline StartMigrationResult& WithV1BotLocale(Locale value) { SetV1BotLocale(value); return *this;}
69
71
74 inline const Aws::String& GetV2BotId() const { return m_v2BotId; }
75 template<typename V2BotIdT = Aws::String>
76 void SetV2BotId(V2BotIdT&& value) { m_v2BotIdHasBeenSet = true; m_v2BotId = std::forward<V2BotIdT>(value); }
77 template<typename V2BotIdT = Aws::String>
78 StartMigrationResult& WithV2BotId(V2BotIdT&& value) { SetV2BotId(std::forward<V2BotIdT>(value)); return *this;}
80
82
85 inline const Aws::String& GetV2BotRole() const { return m_v2BotRole; }
86 template<typename V2BotRoleT = Aws::String>
87 void SetV2BotRole(V2BotRoleT&& value) { m_v2BotRoleHasBeenSet = true; m_v2BotRole = std::forward<V2BotRoleT>(value); }
88 template<typename V2BotRoleT = Aws::String>
89 StartMigrationResult& WithV2BotRole(V2BotRoleT&& value) { SetV2BotRole(std::forward<V2BotRoleT>(value)); return *this;}
91
93
96 inline const Aws::String& GetMigrationId() const { return m_migrationId; }
97 template<typename MigrationIdT = Aws::String>
98 void SetMigrationId(MigrationIdT&& value) { m_migrationIdHasBeenSet = true; m_migrationId = std::forward<MigrationIdT>(value); }
99 template<typename MigrationIdT = Aws::String>
100 StartMigrationResult& WithMigrationId(MigrationIdT&& value) { SetMigrationId(std::forward<MigrationIdT>(value)); return *this;}
102
104
107 inline MigrationStrategy GetMigrationStrategy() const { return m_migrationStrategy; }
108 inline void SetMigrationStrategy(MigrationStrategy value) { m_migrationStrategyHasBeenSet = true; m_migrationStrategy = value; }
111
113
116 inline const Aws::Utils::DateTime& GetMigrationTimestamp() const { return m_migrationTimestamp; }
117 template<typename MigrationTimestampT = Aws::Utils::DateTime>
118 void SetMigrationTimestamp(MigrationTimestampT&& value) { m_migrationTimestampHasBeenSet = true; m_migrationTimestamp = std::forward<MigrationTimestampT>(value); }
119 template<typename MigrationTimestampT = Aws::Utils::DateTime>
120 StartMigrationResult& WithMigrationTimestamp(MigrationTimestampT&& value) { SetMigrationTimestamp(std::forward<MigrationTimestampT>(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 StartMigrationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_v1BotName;
134 bool m_v1BotNameHasBeenSet = false;
135
136 Aws::String m_v1BotVersion;
137 bool m_v1BotVersionHasBeenSet = false;
138
139 Locale m_v1BotLocale{Locale::NOT_SET};
140 bool m_v1BotLocaleHasBeenSet = false;
141
142 Aws::String m_v2BotId;
143 bool m_v2BotIdHasBeenSet = false;
144
145 Aws::String m_v2BotRole;
146 bool m_v2BotRoleHasBeenSet = false;
147
148 Aws::String m_migrationId;
149 bool m_migrationIdHasBeenSet = false;
150
152 bool m_migrationStrategyHasBeenSet = false;
153
154 Aws::Utils::DateTime m_migrationTimestamp{};
155 bool m_migrationTimestampHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace LexModelBuildingService
163} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult()=default
StartMigrationResult & WithV1BotVersion(V1BotVersionT &&value)
StartMigrationResult & WithMigrationStrategy(MigrationStrategy value)
StartMigrationResult & WithMigrationId(MigrationIdT &&value)
StartMigrationResult & WithV2BotRole(V2BotRoleT &&value)
StartMigrationResult & WithV1BotName(V1BotNameT &&value)
StartMigrationResult & WithMigrationTimestamp(MigrationTimestampT &&value)
StartMigrationResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue