AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMigrationId(const Aws::String& value) { m_migrationIdHasBeenSet = true; m_migrationId = value; }
52 inline void SetMigrationId(Aws::String&& value) { m_migrationIdHasBeenSet = true; m_migrationId = std::move(value); }
53 inline void SetMigrationId(const char* value) { m_migrationIdHasBeenSet = true; m_migrationId.assign(value); }
54 inline MigrationSummary& WithMigrationId(const Aws::String& value) { SetMigrationId(value); return *this;}
55 inline MigrationSummary& WithMigrationId(Aws::String&& value) { SetMigrationId(std::move(value)); return *this;}
56 inline MigrationSummary& WithMigrationId(const char* value) { SetMigrationId(value); return *this;}
58
60
63 inline const Aws::String& GetV1BotName() const{ return m_v1BotName; }
64 inline bool V1BotNameHasBeenSet() const { return m_v1BotNameHasBeenSet; }
65 inline void SetV1BotName(const Aws::String& value) { m_v1BotNameHasBeenSet = true; m_v1BotName = value; }
66 inline void SetV1BotName(Aws::String&& value) { m_v1BotNameHasBeenSet = true; m_v1BotName = std::move(value); }
67 inline void SetV1BotName(const char* value) { m_v1BotNameHasBeenSet = true; m_v1BotName.assign(value); }
68 inline MigrationSummary& WithV1BotName(const Aws::String& value) { SetV1BotName(value); return *this;}
69 inline MigrationSummary& WithV1BotName(Aws::String&& value) { SetV1BotName(std::move(value)); return *this;}
70 inline MigrationSummary& WithV1BotName(const char* value) { SetV1BotName(value); return *this;}
72
74
77 inline const Aws::String& GetV1BotVersion() const{ return m_v1BotVersion; }
78 inline bool V1BotVersionHasBeenSet() const { return m_v1BotVersionHasBeenSet; }
79 inline void SetV1BotVersion(const Aws::String& value) { m_v1BotVersionHasBeenSet = true; m_v1BotVersion = value; }
80 inline void SetV1BotVersion(Aws::String&& value) { m_v1BotVersionHasBeenSet = true; m_v1BotVersion = std::move(value); }
81 inline void SetV1BotVersion(const char* value) { m_v1BotVersionHasBeenSet = true; m_v1BotVersion.assign(value); }
82 inline MigrationSummary& WithV1BotVersion(const Aws::String& value) { SetV1BotVersion(value); return *this;}
83 inline MigrationSummary& WithV1BotVersion(Aws::String&& value) { SetV1BotVersion(std::move(value)); return *this;}
84 inline MigrationSummary& WithV1BotVersion(const char* value) { SetV1BotVersion(value); return *this;}
86
88
91 inline const Locale& GetV1BotLocale() const{ return m_v1BotLocale; }
92 inline bool V1BotLocaleHasBeenSet() const { return m_v1BotLocaleHasBeenSet; }
93 inline void SetV1BotLocale(const Locale& value) { m_v1BotLocaleHasBeenSet = true; m_v1BotLocale = value; }
94 inline void SetV1BotLocale(Locale&& value) { m_v1BotLocaleHasBeenSet = true; m_v1BotLocale = std::move(value); }
95 inline MigrationSummary& WithV1BotLocale(const Locale& value) { SetV1BotLocale(value); return *this;}
96 inline MigrationSummary& WithV1BotLocale(Locale&& value) { SetV1BotLocale(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetV2BotId() const{ return m_v2BotId; }
105 inline bool V2BotIdHasBeenSet() const { return m_v2BotIdHasBeenSet; }
106 inline void SetV2BotId(const Aws::String& value) { m_v2BotIdHasBeenSet = true; m_v2BotId = value; }
107 inline void SetV2BotId(Aws::String&& value) { m_v2BotIdHasBeenSet = true; m_v2BotId = std::move(value); }
108 inline void SetV2BotId(const char* value) { m_v2BotIdHasBeenSet = true; m_v2BotId.assign(value); }
109 inline MigrationSummary& WithV2BotId(const Aws::String& value) { SetV2BotId(value); return *this;}
110 inline MigrationSummary& WithV2BotId(Aws::String&& value) { SetV2BotId(std::move(value)); return *this;}
111 inline MigrationSummary& WithV2BotId(const char* value) { SetV2BotId(value); return *this;}
113
115
118 inline const Aws::String& GetV2BotRole() const{ return m_v2BotRole; }
119 inline bool V2BotRoleHasBeenSet() const { return m_v2BotRoleHasBeenSet; }
120 inline void SetV2BotRole(const Aws::String& value) { m_v2BotRoleHasBeenSet = true; m_v2BotRole = value; }
121 inline void SetV2BotRole(Aws::String&& value) { m_v2BotRoleHasBeenSet = true; m_v2BotRole = std::move(value); }
122 inline void SetV2BotRole(const char* value) { m_v2BotRoleHasBeenSet = true; m_v2BotRole.assign(value); }
123 inline MigrationSummary& WithV2BotRole(const Aws::String& value) { SetV2BotRole(value); return *this;}
124 inline MigrationSummary& WithV2BotRole(Aws::String&& value) { SetV2BotRole(std::move(value)); return *this;}
125 inline MigrationSummary& WithV2BotRole(const char* value) { SetV2BotRole(value); return *this;}
127
129
134 inline const MigrationStatus& GetMigrationStatus() const{ return m_migrationStatus; }
135 inline bool MigrationStatusHasBeenSet() const { return m_migrationStatusHasBeenSet; }
136 inline void SetMigrationStatus(const MigrationStatus& value) { m_migrationStatusHasBeenSet = true; m_migrationStatus = value; }
137 inline void SetMigrationStatus(MigrationStatus&& value) { m_migrationStatusHasBeenSet = true; m_migrationStatus = std::move(value); }
138 inline MigrationSummary& WithMigrationStatus(const MigrationStatus& value) { SetMigrationStatus(value); return *this;}
139 inline MigrationSummary& WithMigrationStatus(MigrationStatus&& value) { SetMigrationStatus(std::move(value)); return *this;}
141
143
146 inline const MigrationStrategy& GetMigrationStrategy() const{ return m_migrationStrategy; }
147 inline bool MigrationStrategyHasBeenSet() const { return m_migrationStrategyHasBeenSet; }
148 inline void SetMigrationStrategy(const MigrationStrategy& value) { m_migrationStrategyHasBeenSet = true; m_migrationStrategy = value; }
149 inline void SetMigrationStrategy(MigrationStrategy&& value) { m_migrationStrategyHasBeenSet = true; m_migrationStrategy = std::move(value); }
151 inline MigrationSummary& WithMigrationStrategy(MigrationStrategy&& value) { SetMigrationStrategy(std::move(value)); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetMigrationTimestamp() const{ return m_migrationTimestamp; }
159 inline bool MigrationTimestampHasBeenSet() const { return m_migrationTimestampHasBeenSet; }
160 inline void SetMigrationTimestamp(const Aws::Utils::DateTime& value) { m_migrationTimestampHasBeenSet = true; m_migrationTimestamp = value; }
161 inline void SetMigrationTimestamp(Aws::Utils::DateTime&& value) { m_migrationTimestampHasBeenSet = true; m_migrationTimestamp = std::move(value); }
163 inline MigrationSummary& WithMigrationTimestamp(Aws::Utils::DateTime&& value) { SetMigrationTimestamp(std::move(value)); return *this;}
165 private:
166
167 Aws::String m_migrationId;
168 bool m_migrationIdHasBeenSet = false;
169
170 Aws::String m_v1BotName;
171 bool m_v1BotNameHasBeenSet = false;
172
173 Aws::String m_v1BotVersion;
174 bool m_v1BotVersionHasBeenSet = false;
175
176 Locale m_v1BotLocale;
177 bool m_v1BotLocaleHasBeenSet = false;
178
179 Aws::String m_v2BotId;
180 bool m_v2BotIdHasBeenSet = false;
181
182 Aws::String m_v2BotRole;
183 bool m_v2BotRoleHasBeenSet = false;
184
185 MigrationStatus m_migrationStatus;
186 bool m_migrationStatusHasBeenSet = false;
187
188 MigrationStrategy m_migrationStrategy;
189 bool m_migrationStrategyHasBeenSet = false;
190
191 Aws::Utils::DateTime m_migrationTimestamp;
192 bool m_migrationTimestampHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace LexModelBuildingService
197} // namespace Aws
MigrationSummary & WithV2BotRole(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary(Aws::Utils::Json::JsonView jsonValue)
const MigrationStrategy & GetMigrationStrategy() const
MigrationSummary & WithMigrationId(const Aws::String &value)
MigrationSummary & WithV1BotLocale(Locale &&value)
MigrationSummary & WithMigrationId(Aws::String &&value)
MigrationSummary & WithV1BotVersion(const char *value)
MigrationSummary & WithV1BotName(const Aws::String &value)
MigrationSummary & WithV1BotVersion(const Aws::String &value)
MigrationSummary & WithV2BotId(Aws::String &&value)
const Aws::Utils::DateTime & GetMigrationTimestamp() const
MigrationSummary & WithV2BotRole(Aws::String &&value)
MigrationSummary & WithV1BotName(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary()
MigrationSummary & WithV2BotId(const Aws::String &value)
MigrationSummary & WithMigrationId(const char *value)
void SetMigrationStatus(const MigrationStatus &value)
void SetMigrationTimestamp(const Aws::Utils::DateTime &value)
MigrationSummary & WithMigrationStatus(MigrationStatus &&value)
MigrationSummary & WithV2BotRole(const Aws::String &value)
void SetMigrationStrategy(const MigrationStrategy &value)
MigrationSummary & WithMigrationTimestamp(const Aws::Utils::DateTime &value)
MigrationSummary & WithMigrationTimestamp(Aws::Utils::DateTime &&value)
MigrationSummary & WithV1BotName(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API MigrationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MigrationSummary & WithMigrationStatus(const MigrationStatus &value)
void SetMigrationTimestamp(Aws::Utils::DateTime &&value)
MigrationSummary & WithMigrationStrategy(const MigrationStrategy &value)
MigrationSummary & WithV2BotId(const char *value)
MigrationSummary & WithV1BotVersion(Aws::String &&value)
MigrationSummary & WithMigrationStrategy(MigrationStrategy &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MigrationSummary & WithV1BotLocale(const Locale &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue