AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ReloadReplicationTablesRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/ReloadOptionValue.h>
12#include <aws/dms/model/TableToReload.h>
13#include <utility>
14
15namespace Aws
16{
17namespace DatabaseMigrationService
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API ReloadReplicationTablesRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ReloadReplicationTables"; }
37
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
39
40 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
48 inline const Aws::String& GetReplicationConfigArn() const { return m_replicationConfigArn; }
49 inline bool ReplicationConfigArnHasBeenSet() const { return m_replicationConfigArnHasBeenSet; }
50 template<typename ReplicationConfigArnT = Aws::String>
51 void SetReplicationConfigArn(ReplicationConfigArnT&& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = std::forward<ReplicationConfigArnT>(value); }
52 template<typename ReplicationConfigArnT = Aws::String>
53 ReloadReplicationTablesRequest& WithReplicationConfigArn(ReplicationConfigArnT&& value) { SetReplicationConfigArn(std::forward<ReplicationConfigArnT>(value)); return *this;}
55
57
60 inline const Aws::Vector<TableToReload>& GetTablesToReload() const { return m_tablesToReload; }
61 inline bool TablesToReloadHasBeenSet() const { return m_tablesToReloadHasBeenSet; }
62 template<typename TablesToReloadT = Aws::Vector<TableToReload>>
63 void SetTablesToReload(TablesToReloadT&& value) { m_tablesToReloadHasBeenSet = true; m_tablesToReload = std::forward<TablesToReloadT>(value); }
64 template<typename TablesToReloadT = Aws::Vector<TableToReload>>
65 ReloadReplicationTablesRequest& WithTablesToReload(TablesToReloadT&& value) { SetTablesToReload(std::forward<TablesToReloadT>(value)); return *this;}
66 template<typename TablesToReloadT = TableToReload>
67 ReloadReplicationTablesRequest& AddTablesToReload(TablesToReloadT&& value) { m_tablesToReloadHasBeenSet = true; m_tablesToReload.emplace_back(std::forward<TablesToReloadT>(value)); return *this; }
69
71
77 inline ReloadOptionValue GetReloadOption() const { return m_reloadOption; }
78 inline bool ReloadOptionHasBeenSet() const { return m_reloadOptionHasBeenSet; }
79 inline void SetReloadOption(ReloadOptionValue value) { m_reloadOptionHasBeenSet = true; m_reloadOption = value; }
82 private:
83
84 Aws::String m_replicationConfigArn;
85 bool m_replicationConfigArnHasBeenSet = false;
86
87 Aws::Vector<TableToReload> m_tablesToReload;
88 bool m_tablesToReloadHasBeenSet = false;
89
91 bool m_reloadOptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DatabaseMigrationService
96} // namespace Aws
ReloadReplicationTablesRequest & WithReloadOption(ReloadOptionValue value)
ReloadReplicationTablesRequest & WithReplicationConfigArn(ReplicationConfigArnT &&value)
ReloadReplicationTablesRequest & AddTablesToReload(TablesToReloadT &&value)
ReloadReplicationTablesRequest & WithTablesToReload(TablesToReloadT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API ReloadReplicationTablesRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector