AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
TableToReload.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API TableToReload() = default;
31 AWS_DATABASEMIGRATIONSERVICE_API TableToReload(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATABASEMIGRATIONSERVICE_API TableToReload& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
40 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
41 template <typename SchemaNameT = Aws::String>
42 void SetSchemaName(SchemaNameT&& value) {
43 m_schemaNameHasBeenSet = true;
44 m_schemaName = std::forward<SchemaNameT>(value);
45 }
46 template <typename SchemaNameT = Aws::String>
47 TableToReload& WithSchemaName(SchemaNameT&& value) {
48 SetSchemaName(std::forward<SchemaNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTableName() const { return m_tableName; }
58 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
59 template <typename TableNameT = Aws::String>
60 void SetTableName(TableNameT&& value) {
61 m_tableNameHasBeenSet = true;
62 m_tableName = std::forward<TableNameT>(value);
63 }
64 template <typename TableNameT = Aws::String>
65 TableToReload& WithTableName(TableNameT&& value) {
66 SetTableName(std::forward<TableNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_schemaName;
72
73 Aws::String m_tableName;
74 bool m_schemaNameHasBeenSet = false;
75 bool m_tableNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DatabaseMigrationService
80} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TableToReload & WithTableName(TableNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API TableToReload(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API TableToReload & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API TableToReload()=default
TableToReload & WithSchemaName(SchemaNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue