AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartMigrationRequest.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/LexModelBuildingServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex-models/model/MigrationStrategy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LexModelBuildingService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LEXMODELBUILDINGSERVICE_API StartMigrationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartMigration"; }
32
33 AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetV1BotName() const { return m_v1BotName; }
42 inline bool V1BotNameHasBeenSet() const { return m_v1BotNameHasBeenSet; }
43 template<typename V1BotNameT = Aws::String>
44 void SetV1BotName(V1BotNameT&& value) { m_v1BotNameHasBeenSet = true; m_v1BotName = std::forward<V1BotNameT>(value); }
45 template<typename V1BotNameT = Aws::String>
46 StartMigrationRequest& WithV1BotName(V1BotNameT&& value) { SetV1BotName(std::forward<V1BotNameT>(value)); return *this;}
48
50
54 inline const Aws::String& GetV1BotVersion() const { return m_v1BotVersion; }
55 inline bool V1BotVersionHasBeenSet() const { return m_v1BotVersionHasBeenSet; }
56 template<typename V1BotVersionT = Aws::String>
57 void SetV1BotVersion(V1BotVersionT&& value) { m_v1BotVersionHasBeenSet = true; m_v1BotVersion = std::forward<V1BotVersionT>(value); }
58 template<typename V1BotVersionT = Aws::String>
59 StartMigrationRequest& WithV1BotVersion(V1BotVersionT&& value) { SetV1BotVersion(std::forward<V1BotVersionT>(value)); return *this;}
61
63
70 inline const Aws::String& GetV2BotName() const { return m_v2BotName; }
71 inline bool V2BotNameHasBeenSet() const { return m_v2BotNameHasBeenSet; }
72 template<typename V2BotNameT = Aws::String>
73 void SetV2BotName(V2BotNameT&& value) { m_v2BotNameHasBeenSet = true; m_v2BotName = std::forward<V2BotNameT>(value); }
74 template<typename V2BotNameT = Aws::String>
75 StartMigrationRequest& WithV2BotName(V2BotNameT&& value) { SetV2BotName(std::forward<V2BotNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetV2BotRole() const { return m_v2BotRole; }
83 inline bool V2BotRoleHasBeenSet() const { return m_v2BotRoleHasBeenSet; }
84 template<typename V2BotRoleT = Aws::String>
85 void SetV2BotRole(V2BotRoleT&& value) { m_v2BotRoleHasBeenSet = true; m_v2BotRole = std::forward<V2BotRoleT>(value); }
86 template<typename V2BotRoleT = Aws::String>
87 StartMigrationRequest& WithV2BotRole(V2BotRoleT&& value) { SetV2BotRole(std::forward<V2BotRoleT>(value)); return *this;}
89
91
100 inline MigrationStrategy GetMigrationStrategy() const { return m_migrationStrategy; }
101 inline bool MigrationStrategyHasBeenSet() const { return m_migrationStrategyHasBeenSet; }
102 inline void SetMigrationStrategy(MigrationStrategy value) { m_migrationStrategyHasBeenSet = true; m_migrationStrategy = value; }
105 private:
106
107 Aws::String m_v1BotName;
108 bool m_v1BotNameHasBeenSet = false;
109
110 Aws::String m_v1BotVersion;
111 bool m_v1BotVersionHasBeenSet = false;
112
113 Aws::String m_v2BotName;
114 bool m_v2BotNameHasBeenSet = false;
115
116 Aws::String m_v2BotRole;
117 bool m_v2BotRoleHasBeenSet = false;
118
120 bool m_migrationStrategyHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace LexModelBuildingService
125} // namespace Aws
StartMigrationRequest & WithV1BotVersion(V1BotVersionT &&value)
StartMigrationRequest & WithMigrationStrategy(MigrationStrategy value)
StartMigrationRequest & WithV1BotName(V1BotNameT &&value)
AWS_LEXMODELBUILDINGSERVICE_API StartMigrationRequest()=default
StartMigrationRequest & WithV2BotName(V2BotNameT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
StartMigrationRequest & WithV2BotRole(V2BotRoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String