AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartDataMigrationRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dms/model/StartReplicationMigrationTypeValue.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DatabaseMigrationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATABASEMIGRATIONSERVICE_API StartDataMigrationRequest();
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 "StartDataMigration"; }
32
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetDataMigrationIdentifier() const{ return m_dataMigrationIdentifier; }
43 inline bool DataMigrationIdentifierHasBeenSet() const { return m_dataMigrationIdentifierHasBeenSet; }
44 inline void SetDataMigrationIdentifier(const Aws::String& value) { m_dataMigrationIdentifierHasBeenSet = true; m_dataMigrationIdentifier = value; }
45 inline void SetDataMigrationIdentifier(Aws::String&& value) { m_dataMigrationIdentifierHasBeenSet = true; m_dataMigrationIdentifier = std::move(value); }
46 inline void SetDataMigrationIdentifier(const char* value) { m_dataMigrationIdentifierHasBeenSet = true; m_dataMigrationIdentifier.assign(value); }
49 inline StartDataMigrationRequest& WithDataMigrationIdentifier(const char* value) { SetDataMigrationIdentifier(value); return *this;}
51
53
58 inline const StartReplicationMigrationTypeValue& GetStartType() const{ return m_startType; }
59 inline bool StartTypeHasBeenSet() const { return m_startTypeHasBeenSet; }
60 inline void SetStartType(const StartReplicationMigrationTypeValue& value) { m_startTypeHasBeenSet = true; m_startType = value; }
61 inline void SetStartType(StartReplicationMigrationTypeValue&& value) { m_startTypeHasBeenSet = true; m_startType = std::move(value); }
65 private:
66
67 Aws::String m_dataMigrationIdentifier;
68 bool m_dataMigrationIdentifierHasBeenSet = false;
69
71 bool m_startTypeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DatabaseMigrationService
76} // namespace Aws
StartDataMigrationRequest & WithDataMigrationIdentifier(Aws::String &&value)
StartDataMigrationRequest & WithStartType(const StartReplicationMigrationTypeValue &value)
void SetStartType(StartReplicationMigrationTypeValue &&value)
StartDataMigrationRequest & WithDataMigrationIdentifier(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
const StartReplicationMigrationTypeValue & GetStartType() const
StartDataMigrationRequest & WithStartType(StartReplicationMigrationTypeValue &&value)
StartDataMigrationRequest & WithDataMigrationIdentifier(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStartType(const StartReplicationMigrationTypeValue &value)
AWS_DATABASEMIGRATIONSERVICE_API StartDataMigrationRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String