AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MigrationSummary.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 <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelBuildingService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary() = default;
40 AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetMigrationId() const { return m_migrationId; }
50 inline bool MigrationIdHasBeenSet() const { return m_migrationIdHasBeenSet; }
51 template<typename MigrationIdT = Aws::String>
52 void SetMigrationId(MigrationIdT&& value) { m_migrationIdHasBeenSet = true; m_migrationId = std::forward<MigrationIdT>(value); }
53 template<typename MigrationIdT = Aws::String>
54 MigrationSummary& WithMigrationId(MigrationIdT&& value) { SetMigrationId(std::forward<MigrationIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetV1BotName() const { return m_v1BotName; }
62 inline bool V1BotNameHasBeenSet() const { return m_v1BotNameHasBeenSet; }
63 template<typename V1BotNameT = Aws::String>
64 void SetV1BotName(V1BotNameT&& value) { m_v1BotNameHasBeenSet = true; m_v1BotName = std::forward<V1BotNameT>(value); }
65 template<typename V1BotNameT = Aws::String>
66 MigrationSummary& WithV1BotName(V1BotNameT&& value) { SetV1BotName(std::forward<V1BotNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetV1BotVersion() const { return m_v1BotVersion; }
74 inline bool V1BotVersionHasBeenSet() const { return m_v1BotVersionHasBeenSet; }
75 template<typename V1BotVersionT = Aws::String>
76 void SetV1BotVersion(V1BotVersionT&& value) { m_v1BotVersionHasBeenSet = true; m_v1BotVersion = std::forward<V1BotVersionT>(value); }
77 template<typename V1BotVersionT = Aws::String>
78 MigrationSummary& WithV1BotVersion(V1BotVersionT&& value) { SetV1BotVersion(std::forward<V1BotVersionT>(value)); return *this;}
80
82
85 inline Locale GetV1BotLocale() const { return m_v1BotLocale; }
86 inline bool V1BotLocaleHasBeenSet() const { return m_v1BotLocaleHasBeenSet; }
87 inline void SetV1BotLocale(Locale value) { m_v1BotLocaleHasBeenSet = true; m_v1BotLocale = value; }
88 inline MigrationSummary& WithV1BotLocale(Locale value) { SetV1BotLocale(value); return *this;}
90
92
96 inline const Aws::String& GetV2BotId() const { return m_v2BotId; }
97 inline bool V2BotIdHasBeenSet() const { return m_v2BotIdHasBeenSet; }
98 template<typename V2BotIdT = Aws::String>
99 void SetV2BotId(V2BotIdT&& value) { m_v2BotIdHasBeenSet = true; m_v2BotId = std::forward<V2BotIdT>(value); }
100 template<typename V2BotIdT = Aws::String>
101 MigrationSummary& WithV2BotId(V2BotIdT&& value) { SetV2BotId(std::forward<V2BotIdT>(value)); return *this;}
103
105
108 inline const Aws::String& GetV2BotRole() const { return m_v2BotRole; }
109 inline bool V2BotRoleHasBeenSet() const { return m_v2BotRoleHasBeenSet; }
110 template<typename V2BotRoleT = Aws::String>
111 void SetV2BotRole(V2BotRoleT&& value) { m_v2BotRoleHasBeenSet = true; m_v2BotRole = std::forward<V2BotRoleT>(value); }
112 template<typename V2BotRoleT = Aws::String>
113 MigrationSummary& WithV2BotRole(V2BotRoleT&& value) { SetV2BotRole(std::forward<V2BotRoleT>(value)); return *this;}
115
117
122 inline MigrationStatus GetMigrationStatus() const { return m_migrationStatus; }
123 inline bool MigrationStatusHasBeenSet() const { return m_migrationStatusHasBeenSet; }
124 inline void SetMigrationStatus(MigrationStatus value) { m_migrationStatusHasBeenSet = true; m_migrationStatus = value; }
127
129
132 inline MigrationStrategy GetMigrationStrategy() const { return m_migrationStrategy; }
133 inline bool MigrationStrategyHasBeenSet() const { return m_migrationStrategyHasBeenSet; }
134 inline void SetMigrationStrategy(MigrationStrategy value) { m_migrationStrategyHasBeenSet = true; m_migrationStrategy = value; }
137
139
142 inline const Aws::Utils::DateTime& GetMigrationTimestamp() const { return m_migrationTimestamp; }
143 inline bool MigrationTimestampHasBeenSet() const { return m_migrationTimestampHasBeenSet; }
144 template<typename MigrationTimestampT = Aws::Utils::DateTime>
145 void SetMigrationTimestamp(MigrationTimestampT&& value) { m_migrationTimestampHasBeenSet = true; m_migrationTimestamp = std::forward<MigrationTimestampT>(value); }
146 template<typename MigrationTimestampT = Aws::Utils::DateTime>
147 MigrationSummary& WithMigrationTimestamp(MigrationTimestampT&& value) { SetMigrationTimestamp(std::forward<MigrationTimestampT>(value)); return *this;}
149 private:
150
151 Aws::String m_migrationId;
152 bool m_migrationIdHasBeenSet = false;
153
154 Aws::String m_v1BotName;
155 bool m_v1BotNameHasBeenSet = false;
156
157 Aws::String m_v1BotVersion;
158 bool m_v1BotVersionHasBeenSet = false;
159
160 Locale m_v1BotLocale{Locale::NOT_SET};
161 bool m_v1BotLocaleHasBeenSet = false;
162
163 Aws::String m_v2BotId;
164 bool m_v2BotIdHasBeenSet = false;
165
166 Aws::String m_v2BotRole;
167 bool m_v2BotRoleHasBeenSet = false;
168
169 MigrationStatus m_migrationStatus{MigrationStatus::NOT_SET};
170 bool m_migrationStatusHasBeenSet = false;
171
173 bool m_migrationStrategyHasBeenSet = false;
174
175 Aws::Utils::DateTime m_migrationTimestamp{};
176 bool m_migrationTimestampHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace LexModelBuildingService
181} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary(Aws::Utils::Json::JsonView jsonValue)
MigrationSummary & WithV1BotVersion(V1BotVersionT &&value)
MigrationSummary & WithMigrationId(MigrationIdT &&value)
AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary()=default
const Aws::Utils::DateTime & GetMigrationTimestamp() const
MigrationSummary & WithMigrationStrategy(MigrationStrategy value)
MigrationSummary & WithMigrationTimestamp(MigrationTimestampT &&value)
AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MigrationSummary & WithV1BotName(V1BotNameT &&value)
MigrationSummary & WithV2BotId(V2BotIdT &&value)
void SetMigrationTimestamp(MigrationTimestampT &&value)
MigrationSummary & WithV2BotRole(V2BotRoleT &&value)
MigrationSummary & WithMigrationStatus(MigrationStatus value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue