AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReplicationConfigArn(const Aws::String& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = value; }
51 inline void SetReplicationConfigArn(Aws::String&& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = std::move(value); }
52 inline void SetReplicationConfigArn(const char* value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn.assign(value); }
55 inline ReloadReplicationTablesRequest& WithReplicationConfigArn(const char* value) { SetReplicationConfigArn(value); return *this;}
57
59
62 inline const Aws::Vector<TableToReload>& GetTablesToReload() const{ return m_tablesToReload; }
63 inline bool TablesToReloadHasBeenSet() const { return m_tablesToReloadHasBeenSet; }
64 inline void SetTablesToReload(const Aws::Vector<TableToReload>& value) { m_tablesToReloadHasBeenSet = true; m_tablesToReload = value; }
65 inline void SetTablesToReload(Aws::Vector<TableToReload>&& value) { m_tablesToReloadHasBeenSet = true; m_tablesToReload = std::move(value); }
68 inline ReloadReplicationTablesRequest& AddTablesToReload(const TableToReload& value) { m_tablesToReloadHasBeenSet = true; m_tablesToReload.push_back(value); return *this; }
69 inline ReloadReplicationTablesRequest& AddTablesToReload(TableToReload&& value) { m_tablesToReloadHasBeenSet = true; m_tablesToReload.push_back(std::move(value)); return *this; }
71
73
79 inline const ReloadOptionValue& GetReloadOption() const{ return m_reloadOption; }
80 inline bool ReloadOptionHasBeenSet() const { return m_reloadOptionHasBeenSet; }
81 inline void SetReloadOption(const ReloadOptionValue& value) { m_reloadOptionHasBeenSet = true; m_reloadOption = value; }
82 inline void SetReloadOption(ReloadOptionValue&& value) { m_reloadOptionHasBeenSet = true; m_reloadOption = std::move(value); }
84 inline ReloadReplicationTablesRequest& WithReloadOption(ReloadOptionValue&& value) { SetReloadOption(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_replicationConfigArn;
89 bool m_replicationConfigArnHasBeenSet = false;
90
91 Aws::Vector<TableToReload> m_tablesToReload;
92 bool m_tablesToReloadHasBeenSet = false;
93
94 ReloadOptionValue m_reloadOption;
95 bool m_reloadOptionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace DatabaseMigrationService
100} // namespace Aws
ReloadReplicationTablesRequest & AddTablesToReload(TableToReload &&value)
ReloadReplicationTablesRequest & WithTablesToReload(Aws::Vector< TableToReload > &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ReloadReplicationTablesRequest & WithTablesToReload(const Aws::Vector< TableToReload > &value)
ReloadReplicationTablesRequest & WithReplicationConfigArn(const Aws::String &value)
ReloadReplicationTablesRequest & WithReplicationConfigArn(Aws::String &&value)
ReloadReplicationTablesRequest & WithReplicationConfigArn(const char *value)
ReloadReplicationTablesRequest & AddTablesToReload(const TableToReload &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ReloadReplicationTablesRequest & WithReloadOption(ReloadOptionValue &&value)
ReloadReplicationTablesRequest & WithReloadOption(const ReloadOptionValue &value)
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